예제 #1
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);
        }
예제 #2
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);
        }