public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutBool(m_bAudience); DataOut.PutByte(m_nPhoneOS); DataOut.PutUInt(m_nRoomID); 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.PutUInt(m_nRoomID); DataOut.PutBool(m_bAudience); DataOut.PutString(m_strRoomPwd); 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(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.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.PutUInt(m_nProgress); return(true); }
public override bool doEncode(NetWriteBuffer DataOut) { DataOut.PutUInt(m_PartnerID); return(true); }