Exemple #1
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_RoomType);
            DataOut.PutByte(m_nRoleRoomState);

            return(true);
        }
Exemple #2
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_nRound);
            DataOut.PutByte(m_nKeyRank);
            DataOut.PutUInt(m_nMark);

            string strSrcCode = m_strMD5Code;

            strSrcCode += m_nRound;
            strSrcCode += m_nKeyRank;
            strSrcCode += m_nMark;

            DataOut.PutUShort((ushort)m_lstRoundRank.Count);
            for (int i = 0; i < m_lstRoundRank.Count; ++i)
            {
                DataOut.PutByte(m_lstRoundRank[i]);
                strSrcCode += m_lstRoundRank[i];
            }

            string strCheckCode = XQMD5.GetByteMd5String(ASCIIEncoding.ASCII.GetBytes(strSrcCode));

            DataOut.PutString(strCheckCode);

            return(true);
        }
Exemple #3
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_nMode);
            DataOut.PutByte(m_nPhoneOS);

            return(true);
        }
Exemple #4
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_nNewHostType);
            DataOut.PutByte(m_nNewHostPos);

            return(true);
        }
Exemple #5
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_nRoleRoomType);
            DataOut.PutByte(m_nRoleRoomPos);
            DataOut.PutUInt(m_nRoleID);

            return(true);
        }
Exemple #6
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_nRoomType);
            DataOut.PutBool(m_bAccept);
            DataOut.PutByte(m_nPhoneOS);
            DataOut.PutUInt(m_nRoomID);

            return(true);
        }
Exemple #7
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutString(m_strRoomName);
            DataOut.PutString(m_strRoomPwd);
            DataOut.PutByte(m_nRoomType);
            DataOut.PutByte(m_nPhoneOS);
            DataOut.PutBool(m_ThemeRoom);

            return(true);
        }
Exemple #8
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_PackageType);
            DataOut.PutByte(m_nVID);
            DataOut.PutString(m_strAccount);
            DataOut.PutBytes(m_arPwd);
            DataOut.PutString(m_strIDCard);
            DataOut.PutByte(m_nSex);

            return(true);
        }
Exemple #9
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutInt(m_nLine);
            DataOut.PutByte(m_PackageType);
            DataOut.PutByte(m_nVID);
            DataOut.PutUShort(m_nPID);
            DataOut.PutString(m_nPUID);
            DataOut.PutString(m_strToken);
            DataOut.PutString(m_phoneNumber);
            DataOut.PutString(m_strAccountName);
            DataOut.PutBytes(m_arPwd);

            return(true);
        }
Exemple #10
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutBool(m_bAll);
            DataOut.PutByte(m_nMode);
            DataOut.PutBool(m_bOnlySuper);
            DataOut.PutUShort(m_nPage);

            return(true);
        }
Exemple #11
0
 public override bool doEncode(NetWriteBuffer DataOut)
 {
     DataOut.PutString(m_strName);
     //DataOut.PutByte((byte)m_nSex);
     DataOut.PutString(m_strSignature);
     DataOut.PutString(m_strYear);
     DataOut.PutString(m_strMon);
     DataOut.PutString(m_strDay);
     DataOut.PutByte(m_nSkin);
     return(true);
 }
Exemple #12
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(mInviteType);

            DataOut.PutUShort((ushort)mInviteList.Count);

            for (int i = 0; i < mInviteList.Count; ++i)
            {
                DataOut.PutUInt(mInviteList[i]);
            }

            return(true);
        }
Exemple #13
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutString(m_strDeviceId);

            ushort nCount = (ushort)m_ListCurrency.Count;

            DataOut.PutUShort(nCount);

            for (int i = 0; i < nCount; ++i)
            {
                DataOut.PutByte(m_ListCurrency[i]);
            }

            return(true);
        }
Exemple #14
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutUInt(m_nMark);
            DataOut.PutInt(m_nSpecial);
            DataOut.PutByte(m_nRound);

            string strSrcCode = m_strMD5Code;

            strSrcCode += m_nMark;
            strSrcCode += m_nSpecial;
            strSrcCode += m_nRound;

            string strCheckCode = XQMD5.GetByteMd5String(ASCIIEncoding.ASCII.GetBytes(strSrcCode));

            DataOut.PutString(strCheckCode);

            return(true);
        }
Exemple #15
0
 public override bool doEncode(NetWriteBuffer DataOut)
 {
     DataOut.PutByte(m_TeamMode);
     DataOut.PutByte(m_TeamType);
     return(true);
 }
Exemple #16
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_nQuitTo);

            return(true);
        }
Exemple #17
0
        public override bool doEncode(NetWriteBuffer DataOut)
        {
            DataOut.PutByte(m_nOtherRoomType);

            return(true);
        }