예제 #1
0
        private void onRoomJoin(BaseEvent evt)
        {
            Room room = (Room)evt.Params["room"];

            if (RoomIdentifier.EqualsIgnoreInstanceId(room.Name, mt.JoinRoomDataRoom))
            {
                mt.ClientRoomName = mt.JoinRoomDataRoom;
                if (SmartFoxGameServerClient.EnableUDP)
                {
                    mt.initUDP();
                }
                else
                {
                    fetchServerTimestamp(fetchEncryptionKeyAfterwards: true);
                }
            }
        }