mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Sidebar - Redesigned sidebar with customizable categories Profiles - Added the ability to configure custom profile icons Profiles - Added the ability to activate multiple profiles for modules at once Profiles - Added the ability to create profiles for no modules Profiles - Added the ability to suspend a profile or an entire category Profiles - Added profile activation conditions Profiles - Added file-based importing/exporting Profile editor - Condensed UI, removed tabs Profile editor - Disable condition operators until a left-side is picked
56 lines
1.8 KiB
C#
56 lines
1.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Artemis.Core.Services
|
|
{
|
|
/// <summary>
|
|
/// A service that initializes the Core and manages the render loop
|
|
/// </summary>
|
|
public interface ICoreService : IArtemisService, IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Gets whether the or not the core has been initialized
|
|
/// </summary>
|
|
bool IsInitialized { get; }
|
|
|
|
/// <summary>
|
|
/// The time the last frame took to render
|
|
/// </summary>
|
|
TimeSpan FrameTime { get; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets whether profiles are rendered each frame by calling their Render method
|
|
/// </summary>
|
|
bool ProfileRenderingDisabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets a list of startup arguments
|
|
/// </summary>
|
|
List<string> StartupArguments { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets a boolean indicating whether Artemis is running in an elevated environment (admin permissions)
|
|
/// </summary>
|
|
bool IsElevated { get; set; }
|
|
|
|
/// <summary>
|
|
/// Initializes the core, only call once
|
|
/// </summary>
|
|
void Initialize();
|
|
|
|
/// <summary>
|
|
/// Occurs the core has finished initializing
|
|
/// </summary>
|
|
event EventHandler Initialized;
|
|
|
|
/// <summary>
|
|
/// Occurs whenever a frame is rendering, after modules have rendered
|
|
/// </summary>
|
|
event EventHandler<FrameRenderingEventArgs> FrameRendering;
|
|
|
|
/// <summary>
|
|
/// Occurs whenever a frame is finished rendering and the render pipeline is closed
|
|
/// </summary>
|
|
event EventHandler<FrameRenderedEventArgs> FrameRendered;
|
|
}
|
|
} |