private void fetchServerTimestamp(bool fetchEncryptionKeyAfterwards) { long num = timestampRequestCount++; Stopwatch stopwatch = new Stopwatch(); stopwatch.Start(); timeStampRequests.Add(num, new TimeStampRequest(stopwatch, fetchEncryptionKeyAfterwards)); mt.send(SmartfoxCommand.GET_SERVER_TIME, new Dictionary <string, SFSDataWrapper> { { "ct", SmartFoxGameServerClientShared.serialize(num) } }); }
public void LeaveRoom() { mt.SfsRoomToLeave = mt.getCurrentRoom(); mt.send(SmartfoxCommand.LEAVE_ROOM); }