Beispiel #1
0
 public override void OnDisabled()
 {
     EvPlayer.ItemDropped -= EventHandlers.OnItemDropped;
     EventHandlers         = null;
     base.OnDisabled();
 }
Beispiel #2
0
 public override void OnEnabled()
 {
     EventHandlers         = new EventHandlers(this);
     EvPlayer.ItemDropped += EventHandlers.OnItemDropped;
     base.OnEnabled();
 }