Class Constants
A few useful constant values
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public static class Constants
Fields
ApplicationFolder
The full path to the Artemis application folder
Declaration
public static readonly string ApplicationFolder
Field Value
| Type | Description |
|---|---|
| string |
BaseFolder
The base path for Artemis application data folder
Declaration
public static readonly string BaseFolder
Field Value
| Type | Description |
|---|---|
| string |
CoreAssembly
The Artemis.Core assembly
Declaration
public static readonly Assembly CoreAssembly
Field Value
| Type | Description |
|---|---|
| Assembly |
CorePlugin
The plugin used by core components of Artemis
Declaration
public static readonly Plugin CorePlugin
Field Value
| Type | Description |
|---|---|
| Plugin |
CorePluginInfo
The plugin info used by core components of Artemis
Declaration
public static readonly PluginInfo CorePluginInfo
Field Value
| Type | Description |
|---|---|
| PluginInfo |
CurrentVersion
The current version of the application
Declaration
public static readonly string CurrentVersion
Field Value
| Type | Description |
|---|---|
| string |
DataFolder
The full path to the Artemis data folder
Declaration
public static readonly string DataFolder
Field Value
| Type | Description |
|---|---|
| string |
ExecutablePath
The full path to the Artemis executable
Declaration
public static readonly string ExecutablePath
Field Value
| Type | Description |
|---|---|
| string |
FloatNumberTypes
A read-only collection containing all primitive floating-point numeric types
Declaration
public static IReadOnlyCollection<Type> FloatNumberTypes
Field Value
| Type | Description |
|---|---|
| IReadOnlyCollection<Type> |
IntegralNumberTypes
A read-only collection containing all primitive integral numeric types
Declaration
public static IReadOnlyCollection<Type> IntegralNumberTypes
Field Value
| Type | Description |
|---|---|
| IReadOnlyCollection<Type> |
LayoutsFolder
The full path to the Artemis user layouts folder
Declaration
public static readonly string LayoutsFolder
Field Value
| Type | Description |
|---|---|
| string |
LogsFolder
The full path to the Artemis logs folder
Declaration
public static readonly string LogsFolder
Field Value
| Type | Description |
|---|---|
| string |
NumberTypes
A read-only collection containing all primitive numeric types
Declaration
public static IReadOnlyCollection<Type> NumberTypes
Field Value
| Type | Description |
|---|---|
| IReadOnlyCollection<Type> |
PluginApiVersion
The current API version for plugins
Declaration
public static readonly int PluginApiVersion
Field Value
| Type | Description |
|---|---|
| int |
PluginsFolder
The full path to the Artemis plugins folder
Declaration
public static readonly string PluginsFolder
Field Value
| Type | Description |
|---|---|
| string |
UpdatingFolder
The full path to the Artemis logs folder
Declaration
public static readonly string UpdatingFolder
Field Value
| Type | Description |
|---|---|
| string |
Properties
ManagedGraphicsContext
Gets the graphics context to be used for rendering by SkiaSharp. Can be set via UpdateGraphicsContext(IManagedGraphicsContext?).
Declaration
public static IManagedGraphicsContext? ManagedGraphicsContext { get; }
Property Value
| Type | Description |
|---|---|
| IManagedGraphicsContext |
StartupArguments
Gets the startup arguments provided to the application
Declaration
public static ReadOnlyCollection<string> StartupArguments { get; set; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<string> |