示例#1
0
 public DareInformations(CharacterBasicMinimalInformations creator, List <DareCriteria> criterions, double dareId, ulong subscriptionFee, ulong jackpot, ushort maxCountWinners, double endDate, bool isPrivate, uint guildId, uint allianceId, double startDate)
 {
     m_creator         = creator;
     m_criterions      = criterions;
     m_dareId          = dareId;
     m_subscriptionFee = subscriptionFee;
     m_jackpot         = jackpot;
     m_maxCountWinners = maxCountWinners;
     m_endDate         = endDate;
     m_isPrivate       = isPrivate;
     m_guildId         = guildId;
     m_allianceId      = allianceId;
     m_startDate       = startDate;
 }
示例#2
0
 public DareInformations(double dareId, CharacterBasicMinimalInformations creator, ulong subscriptionFee, ulong jackpot, ushort maxCountWinners, double endDate, bool isPrivate, uint guildId, uint allianceId, List <DareCriteria> criterions, double startDate)
 {
     DareId          = dareId;
     Creator         = creator;
     SubscriptionFee = subscriptionFee;
     Jackpot         = jackpot;
     MaxCountWinners = maxCountWinners;
     EndDate         = endDate;
     IsPrivate       = isPrivate;
     GuildId         = guildId;
     AllianceId      = allianceId;
     Criterions      = criterions;
     StartDate       = startDate;
 }
示例#3
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();
        }
示例#4
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();
        }
示例#5
0
 public override void Deserialize(IDataReader reader)
 {
     m_leaver = new CharacterBasicMinimalInformations();
     m_leaver.Deserialize(reader);
 }
示例#6
0
 public ArenaFighterLeaveMessage(CharacterBasicMinimalInformations leaver)
 {
     m_leaver = leaver;
 }
示例#7
0
 public ArenaFighterLeaveMessage(CharacterBasicMinimalInformations Leaver)
 {
     this.Leaver = Leaver;
 }
示例#8
0
 public void Deserialize(IDataReader reader)
 {
     Leaver = new CharacterBasicMinimalInformations();
     Leaver.Deserialize(reader);
 }
示例#9
0
 public override void Deserialize(ICustomDataInput reader)
 {
     Leaver = new CharacterBasicMinimalInformations();
     Leaver.Deserialize(reader);
 }