public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutByte(m_RoomType); DataOut.PutByte(m_nRoleRoomState); return(true); }
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); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutByte(m_nMode); DataOut.PutByte(m_nPhoneOS); return(true); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutByte(m_nNewHostType); DataOut.PutByte(m_nNewHostPos); return(true); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutByte(m_nRoleRoomType); DataOut.PutByte(m_nRoleRoomPos); DataOut.PutUInt(m_nRoleID); return(true); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutByte(m_nRoomType); DataOut.PutBool(m_bAccept); DataOut.PutByte(m_nPhoneOS); DataOut.PutUInt(m_nRoomID); return(true); }
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); }
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); }
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); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutBool(m_bAll); DataOut.PutByte(m_nMode); DataOut.PutBool(m_bOnlySuper); DataOut.PutUShort(m_nPage); return(true); }
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); }
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); }
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); }
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); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutByte(m_TeamMode); DataOut.PutByte(m_TeamType); return(true); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutByte(m_nQuitTo); return(true); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutByte(m_nOtherRoomType); return(true); }