Пример #1
0
        public override void Stop()
        {
            foreach (Character_social Social in _Socials)
            {
                if (Social != null && Social.GetEvent <EventInterface>() != null)
                {
                    Social.GetEvent <EventInterface>().RemoveEventNotify(EventName.PLAYING, OnPlayerConnect);
                    Social.GetEvent <EventInterface>().RemoveEventNotify(EventName.LEAVE, OnPlayerLeave);
                }
            }

            base.Stop();
        }