internal virtual void OnCheatingDetected() { if (CheatDetected != null) { CheatDetected.Invoke(); } //if (detectionEventHasListener) // detectionEvent.Invoke(); if (AutoDispose) { DisposeInternal(); } else { StopDetectionInternal(); } }
private void OnCheatingDetected(string cause) { if (CheatDetected != null) { CheatDetected.Invoke(cause); } if (detectionEventHasListener) { detectionEvent.Invoke(); } if (autoDispose) { DisposeInternal(); } else { StopDetectionInternal(); } }
internal virtual void OnCheatingDetected() { IsCheatDetected = true; if (CheatDetected != null) { CheatDetected.Invoke(); } if (detectionEventHasListener) { detectionEvent.Invoke(); } if (autoDispose) { DisposeInternal(); } else { StopDetectionInternal(); } }