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.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.PutInt(nConnCode); return(true); }