public void Execute(IPeer peer, IPacket packet)
        {
            cPKTChatRoomChange       recvPacket   = (cPKTChatRoomChange)packet;
            cPKTChatRoomChangeResult resultPacket = new cPKTChatRoomChangeResult();

            do
            {
                cChatPlayer chatPlayer = (cChatPlayer)peer;
                if (false == cChatRoomManager.ChangeChatRoom(chatPlayer.AccountId, recvPacket.NewChatRoomIndex))
                {
                    resultPacket.ResultCode = cPKTChatRoomChangeResult.eResultCode.CANNOT_CHANGE_CHAT_ROOM;
                    break;
                }

                resultPacket.ResultCode = cPKTChatRoomChangeResult.eResultCode.SUCCEED;
            } while (false);

            peer.Send(resultPacket);
        }
        public void Execute(IPeer peer, IPacket packet)
        {
            cPKTChatRoomChangeResult recvPacket = (cPKTChatRoomChangeResult)packet;

            Console.WriteLine("PKTChatRoomChangeResultHandler =====> ResultCode: {0}", recvPacket.ResultCode.ToString());
        }