Beispiel #1
0
        public void UnregisterEvents()
        {
            Server.RoundStarted -= server.OnRoundStart;
            Warhead.Stopping    -= warhead.OnStopping;

            player  = null;
            server  = null;
            warhead = null;
        }
Beispiel #2
0
        public void RegisterEvents()
        {
            player  = new Handlers.PlayerEvents();
            server  = new Handlers.ServerEvents();
            warhead = new Handlers.WarheadEvents();

            Server.RoundStarted += server.OnRoundStart;
            Warhead.Stopping    += warhead.OnStopping;
        }