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