Ejemplo n.º 1
0
        internal virtual void OnCheatingDetected()
        {
            if (CheatDetected != null)
            {
                CheatDetected.Invoke();
            }

            //if (detectionEventHasListener)
            //    detectionEvent.Invoke();

            if (AutoDispose)
            {
                DisposeInternal();
            }
            else
            {
                StopDetectionInternal();
            }
        }
Ejemplo n.º 2
0
        private void OnCheatingDetected(string cause)
        {
            if (CheatDetected != null)
            {
                CheatDetected.Invoke(cause);
            }

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

            if (autoDispose)
            {
                DisposeInternal();
            }
            else
            {
                StopDetectionInternal();
            }
        }
Ejemplo n.º 3
0
        internal virtual void OnCheatingDetected()
        {
            IsCheatDetected = true;

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

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

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