Exemplo n.º 1
0
        public override bool DoDecoding(ISmartStream issStream)
        {
            ResultCode      = issStream.Decode4();
            m_guestID       = issStream.DecodeAnsiToString();

            return issStream.CheckSignature();
        }
Exemplo n.º 2
0
        public override bool DoDecoding(ISmartStream issStream)
        {
            RecvTransNum    = issStream.Decode2();
            ResultCode      = issStream.Decode4();

            if (ResultCode == 0)
            {
                m_typeCode  = issStream.Decode1();
                m_userID    = issStream.DecodeAnsiToString();
                m_nickname  = issStream.DecodeUnicodeToString();
            }

            return issStream.CheckSignature();
        }