示例#1
0
 public override void Dispose()
 {
     GalaxyInstance.ListenerRegistrar().Unregister(GalaxyTypeAwareListenerLobbyEntered.GetListenerType(), this);
     base.Dispose();
 }
示例#2
0
 public GalaxyLobbyEnteredListener(Action <GalaxyID, LobbyEnterResult> callback)
 {
     this.callback = callback;
     GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerLobbyEntered.GetListenerType(), this);
 }