public void RemveConnectStateChangeListener(GameSocketSateChange stateChange) { if (gameSocket != null) { gameSocket.GameSocketStateChangeEvent -= stateChange; } }
public void AddConnectStateChanelListener(GameSocketSateChange stateChange) { if (gameSocket != null) { gameSocket.GameSocketStateChangeEvent += stateChange; } }