Beispiel #1
0
 public override void OnDisabled()
 {
     Server.WaitingForPlayers -= eventHandlers.OnWaitingForPlayers;
     eventHandlers             = null;
     base.OnDisabled();
 }
Beispiel #2
0
 public override void OnEnabled()
 {
     eventHandlers             = new EventHandlers();
     Server.WaitingForPlayers += eventHandlers.OnWaitingForPlayers;
     base.OnEnabled();
 }