My Project
|
Base class for all detectors. More...
Public Attributes | |
bool | autoStart = true |
Allows to start detector automatically. Otherwise, you'll need to call StartDetection() method to start it. | |
bool | keepAlive = true |
Detector will survive new level (scene) load if checked. Otherwise it will be destroyed. | |
bool | autoDispose = true |
Detector component will be automatically disposed after firing callback if enabled. Otherwise, it will just stop internal processes. | |
Protected Member Functions | |
virtual void | OnDestroy () |
virtual bool | Init (ACTkDetectorBase instance, string detectorName) |
virtual void | DisposeInternal () |
virtual bool | DetectorHasCallbacks () |
virtual void | StopDetectionInternal () |
virtual void | PauseDetector () |
virtual bool | ResumeDetector () |
abstract void | StartDetectionAutomatically () |
Protected Attributes | |
UnityEvent | detectionEvent |
bool | detectionEventHasListener |
bool | started |
bool | isRunning |
Properties | |
bool | IsRunning [get] |
Allows to check if detection is currently running. | |
Events | |
Action | CheatDetected |
Subscribe to this event to get notified when cheat will be detected. | |
Base class for all detectors.
bool CodeStage.AntiCheat.Detectors.ACTkDetectorBase.autoDispose = true |
Detector component will be automatically disposed after firing callback if enabled. Otherwise, it will just stop internal processes.
On dispose Detector follows 2 rules:
bool CodeStage.AntiCheat.Detectors.ACTkDetectorBase.autoStart = true |
Allows to start detector automatically. Otherwise, you'll need to call StartDetection() method to start it.
Useful in conjunction with proper Detection Event configuration in the inspector. Allows to use detector without writing any code except the actual reaction on cheating.
bool CodeStage.AntiCheat.Detectors.ACTkDetectorBase.keepAlive = true |
Detector will survive new level (scene) load if checked. Otherwise it will be destroyed.
On dispose Detector follows 2 rules: