public void Close(SlotSocket.CloseReason reason) { IsLogin = false; if (_socket != null) { _socket.Close(reason); _socket = null; } }
void createSocket() { _socket = new CrownGamesSocket(8192); _checkRoutine = StartCoroutine(CheckQueue()); }