Class RuntimeInitialize
Ensures an AntiCheatMonitor exists before and after the first scene loads.
Inheritance
Namespace: GUPS.AntiCheat
Assembly: cs.temp.dll.dll
Syntax
public static class RuntimeInitialize
Remarks
OnBeforeFirstSceneLoaded() and OnAfterFirstSceneLoaded() run from
Fields
FallbackPrefabResourcePath
Resources path (no extension) of the monitor prefab used when
Declaration
public const String FallbackPrefabResourcePath = null
Field Value
| Type | Description |
|---|---|
| String |
Properties
AfterFirstSceneLoadedInstanceId
Instance id of the AntiCheatMonitor observed by OnAfterFirstSceneLoaded(). Zero when no monitor existed and none could be created.
Declaration
public static int AfterFirstSceneLoadedInstanceId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
BeforeFirstSceneLoadedInstanceId
Instance id of the AntiCheatMonitor observed by OnBeforeFirstSceneLoaded(). Zero when no monitor existed and none could be created.
Declaration
public static int BeforeFirstSceneLoadedInstanceId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
OnAfterFirstSceneLoaded()
Ensures a monitor exists after the first scene is loaded and stores its instance id.
Declaration
public static void OnAfterFirstSceneLoaded()
OnBeforeFirstSceneLoaded()
Ensures a monitor exists before the first scene is loaded and stores its instance id.
Declaration
public static void OnBeforeFirstSceneLoaded()