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

            player  = null;
            server  = null;
            warhead = null;
        }
Exemplo n.º 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;
        }