Exemple #1
0
        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();
            }
        }
Exemple #3
0
        internal virtual void OnCheatingDetected()
        {
            IsCheatDetected = true;

            if (CheatDetected != null)
            {
                CheatDetected.Invoke();
            }

            if (detectionEventHasListener)
            {
                detectionEvent.Invoke();
            }

            if (autoDispose)
            {
                DisposeInternal();
            }
            else
            {
                StopDetectionInternal();
            }
        }