• Hello
Search Results for

    Show / Hide Table of Contents

    Class RuntimeInitialize

    Ensures an AntiCheatMonitor exists before and after the first scene loads.

    Inheritance
    System.Object
    RuntimeInitialize
    Namespace: GUPS.AntiCheat
    Assembly: cs.temp.dll.dll
    Syntax
    public static class RuntimeInitialize
    Remarks

    OnBeforeFirstSceneLoaded() and OnAfterFirstSceneLoaded() run from . Each callback records the of the monitor it observed. Creation uses and, when that is missing or has no monitor, the Resources prefab at FallbackPrefabResourcePath. An empty monitor is never created.

    Fields

    FallbackPrefabResourcePath

    Resources path (no extension) of the monitor prefab used when is unassigned or has no AntiCheatMonitor.

    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()
    In This Article
    Back to top GuardingPearSoftware documentation