public void OnReceiveMovingRoomPacket(int node, PacketId id, byte[] data) { #if false RoomPacket packet = new RoomPacket(data); MovingRoom room = packet.GetPacket(); // 방 이동 커맨드 발행. PartyControl.getInstance().cmdMoveRoom(room.keyId); #endif }
// ================================================================ // // 방 이동 알림 패킷 수신 함수. public void OnReceiveMovingRoomPacket(int node, PacketId id, byte[] data) { RoomPacket packet = new RoomPacket(data); MovingRoom room = packet.GetPacket(); string log = "[CLIENT] Receive moving room packet: " + room.keyId; Debug.Log(log); // 방 이동 명령 발행. cmdMoveRoom(room.keyId); }