Example #1
0
 public override void Dispose()
 {
     GalaxyInstance.ListenerRegistrar().Unregister(GalaxyTypeAwareListenerLobbyLeft.GetListenerType(), this);
     base.Dispose();
 }
Example #2
0
 public GalaxyLobbyLeftListener(Action <GalaxyID, bool> callback)
 {
     this.callback = callback;
     GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerLobbyLeft.GetListenerType(), this);
 }