Exemplo n.º 1
0
        public static Login__CharacterSet read(BinaryReader binaryReader)
        {
            Login__CharacterSet newObj = new Login__CharacterSet();

            newObj.status_ = binaryReader.ReadUInt32();
            uint setNum = binaryReader.ReadUInt32();

            for (uint i = 0; i < setNum; ++i)
            {
                newObj.set_.Add(CharacterIdentity.read(binaryReader));
            }
            uint delSetNum = binaryReader.ReadUInt32();

            for (uint i = 0; i < delSetNum; ++i)
            {
                newObj.delSet_.Add(CharacterIdentity.read(binaryReader));
            }
            newObj.numAllowedCharacters_ = binaryReader.ReadUInt32();
            newObj.account_              = PStringChar.read(binaryReader);
            newObj.m_fUseTurbineChat     = binaryReader.ReadUInt32();
            newObj.m_fHasThroneofDestiny = binaryReader.ReadUInt32();

            return(newObj);
        }