ISwiftlyCore
Interface ISwiftlyCore
Namespace: SwiftlyS2.Shared
Assembly: SwiftlyS2.CS2.dll
Core interface of SwiftlyS2 framework.
public interface ISwiftlyCoreProperties
CSGODirectory
Gets the absolute file path to the game/csgo directory.
string CSGODirectory { get; }Command
Command service.
ICommandService Command { get; }CommandLine
Command line.
ICommandLine CommandLine { get; }ConVar
Convar service.
IConVarService ConVar { get; }Configuration
Configuration service.
IPluginConfigurationService Configuration { get; }ConsoleOutput
Console output service.
IConsoleOutputService ConsoleOutput { get; }Database
Database service.
IDatabaseService Database { get; }Engine
Gets the engine service used to perform core engine operations.
IEngineService Engine { get; }EntitySystem
Entity system service.
IEntitySystemService EntitySystem { get; }Event
Custom event subscriber.
IEventSubscriber Event { get; }Game
Game service.
IGameService Game { get; }GameData
Game data service.
IGameDataService GameData { get; }GameDirectory
Gets the absolute file path to the game's root directory.
string GameDirectory { get; }GameEvent
Game event service.
IGameEventService GameEvent { get; }GameFileSystem
Game file system interface.
IGameFileSystem GameFileSystem { get; }Helpers
Helpers service.
IHelpers Helpers { get; }Localizer
Localizer.
ILocalizer Localizer { get; }Logger
Default logger.
ILogger Logger { get; }LoggerFactory
Logger factory.
ILoggerFactory LoggerFactory { get; }Memory
Memory service.
IMemoryService Memory { get; }MenusAPI
Menu manager API.
IMenuManagerAPI MenusAPI { get; }NetMessage
Net message service.
INetMessageService NetMessage { get; }Permission
Permission manager.
IPermissionManager Permission { get; }PlayerManager
Player manager service.
IPlayerManagerService PlayerManager { get; }PluginDataDirectory
Gets the file path to the plugin data directory. This directory is ensured to exist by the framework.
string PluginDataDirectory { get; }PluginManager
Plugin manager.
IPluginManager PluginManager { get; }PluginPath
Gets the file path to the plugin directory.
string PluginPath { get; }Profiler
Profiler service.
IContextedProfilerService Profiler { get; }Registrator
Registrator service.
IRegistratorService Registrator { get; }Scheduler
Scheduler service.
ISchedulerService Scheduler { get; }Trace
Gets the trace manager used to control and configure tracing operations within the game.
ITraceManager Trace { get; }Translation
Translation service.
ITranslationService Translation { get; }