Пример #1
0
        public override void Deserialize(IDataReader reader)
        {
            DareId  = reader.ReadDouble();
            Creator = new CharacterBasicMinimalInformations();
            Creator.Deserialize(reader);
            SubscriptionFee = reader.ReadVarUhLong();
            Jackpot         = reader.ReadVarUhLong();
            MaxCountWinners = reader.ReadUShort();
            EndDate         = reader.ReadDouble();
            IsPrivate       = reader.ReadBoolean();
            GuildId         = reader.ReadVarUhInt();
            AllianceId      = reader.ReadVarUhInt();
            var criterionsCount = reader.ReadUShort();

            Criterions = new List <DareCriteria>();
            for (var criterionsIndex = 0; criterionsIndex < criterionsCount; criterionsIndex++)
            {
                var objectToAdd = new DareCriteria();
                objectToAdd.Deserialize(reader);
                Criterions.Add(objectToAdd);
            }
            StartDate = reader.ReadDouble();
        }
Пример #2
0
        public override void Deserialize(IDataReader reader)
        {
            m_creator = new CharacterBasicMinimalInformations();
            m_creator.Deserialize(reader);
            int criterionsCount = reader.ReadUShort();
            int criterionsIndex;

            m_criterions = new System.Collections.Generic.List <DareCriteria>();
            for (criterionsIndex = 0; (criterionsIndex < criterionsCount); criterionsIndex = (criterionsIndex + 1))
            {
                DareCriteria objectToAdd = new DareCriteria();
                objectToAdd.Deserialize(reader);
                m_criterions.Add(objectToAdd);
            }
            m_dareId          = reader.ReadDouble();
            m_subscriptionFee = reader.ReadVarUhLong();
            m_jackpot         = reader.ReadVarUhLong();
            m_maxCountWinners = reader.ReadUShort();
            m_endDate         = reader.ReadDouble();
            m_isPrivate       = reader.ReadBoolean();
            m_guildId         = reader.ReadVarUhInt();
            m_allianceId      = reader.ReadVarUhInt();
            m_startDate       = reader.ReadDouble();
        }
Пример #3
0
 public override void Deserialize(IDataReader reader)
 {
     m_leaver = new CharacterBasicMinimalInformations();
     m_leaver.Deserialize(reader);
 }
Пример #4
0
 public void Deserialize(IDataReader reader)
 {
     Leaver = new CharacterBasicMinimalInformations();
     Leaver.Deserialize(reader);
 }
Пример #5
0
 public override void Deserialize(ICustomDataInput reader)
 {
     Leaver = new CharacterBasicMinimalInformations();
     Leaver.Deserialize(reader);
 }