public AuthListener(Action success, Action <FailureReason> failure, Action lost) { OnSuccess = success; OnFailure = failure; OnLost = lost; GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerAuth.GetListenerType(), this); }
public OperationalStateChangeListener(Action <uint> stateChanged) { OnStateChanged = stateChanged; GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerOperationalStateChange.GetListenerType(), this); }
public override void Dispose() { GalaxyInstance.ListenerRegistrar().Unregister(GalaxyTypeAwareListenerLobbyLeft.GetListenerType(), this); base.Dispose(); }
public GalaxyLobbyEnteredListener(Action <GalaxyID, LobbyEnterResult> callback) { this.callback = callback; GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerLobbyEntered.GetListenerType(), this); }
public GalaxyLobbyLeftListener(Action <GalaxyID, bool> callback) { this.callback = callback; GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerLobbyLeft.GetListenerType(), this); }
public RichPresenceListener(Action <GalaxyID> callback) { this.callback = callback; GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerRichPresence.GetListenerType(), this); }
public LobbyDataListener(Action <GalaxyID, GalaxyID> callback) { this.callback = callback; GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerLobbyData.GetListenerType(), this); }
public GameJoinRequestedListener(Action <GalaxyID, string> callback) { this.callback = callback; GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerGameJoinRequested.GetListenerType(), this); }
public override void Dispose() { GalaxyInstance.ListenerRegistrar().Unregister(GalaxyTypeAwareListenerPersonaDataChanged.GetListenerType(), this); base.Dispose(); }
public GalaxyPersonaDataChangedListener(Action <GalaxyID, uint> callback) { this.callback = callback; GalaxyInstance.ListenerRegistrar().Register(GalaxyTypeAwareListenerPersonaDataChanged.GetListenerType(), this); }