示例#1
0
 public override void Deserialize(IDataReader reader)
 {
     this.recruterId   = reader.ReadVarUhLong();
     this.recruterName = reader.ReadUTF();
     this.guildInfo    = new BasicGuildInformations();
     this.guildInfo.Deserialize(reader);
 }
 public TaxCollectorDialogQuestionExtendedMessage(
     BasicGuildInformations guildInfo,
     short maxPods,
     short prospecting,
     short wisdom,
     byte taxCollectorsCount,
     int taxCollectorAttack,
     long kamas,
     long experience,
     int pods,
     long itemsValue
     ) : base(
         guildInfo
         )
 {
     MaxPods            = maxPods;
     Prospecting        = prospecting;
     Wisdom             = wisdom;
     TaxCollectorsCount = taxCollectorsCount;
     TaxCollectorAttack = taxCollectorAttack;
     Kamas      = kamas;
     Experience = experience;
     Pods       = pods;
     ItemsValue = itemsValue;
 }
示例#3
0
 public override void Deserialize(IDataReader reader)
 {
     this.firstNameId = (uint)reader.ReadVarUhShort();
     if (this.firstNameId < 0U)
     {
         throw new Exception("Forbidden value (" + (object)this.firstNameId + ") on element of TaxCollectorAttackedMessage.firstNameId.");
     }
     this.lastNameId = (uint)reader.ReadVarUhShort();
     if (this.lastNameId < 0U)
     {
         throw new Exception("Forbidden value (" + (object)this.lastNameId + ") on element of TaxCollectorAttackedMessage.lastNameId.");
     }
     this.worldX = (int)reader.ReadShort();
     if (this.worldX < -255 || this.worldX > (int)byte.MaxValue)
     {
         throw new Exception("Forbidden value (" + (object)this.worldX + ") on element of TaxCollectorAttackedMessage.worldX.");
     }
     this.worldY = (int)reader.ReadShort();
     if (this.worldY < -255 || this.worldY > (int)byte.MaxValue)
     {
         throw new Exception("Forbidden value (" + (object)this.worldY + ") on element of TaxCollectorAttackedMessage.worldY.");
     }
     this.mapId = reader.ReadDouble();
     if (this.mapId < 0.0 || this.mapId > 9.00719925474099E+15)
     {
         throw new Exception("Forbidden value (" + (object)this.mapId + ") on element of TaxCollectorAttackedMessage.mapId.");
     }
     this.subAreaId = (uint)reader.ReadVarUhShort();
     if (this.subAreaId < 0U)
     {
         throw new Exception("Forbidden value (" + (object)this.subAreaId + ") on element of TaxCollectorAttackedMessage.subAreaId.");
     }
     this.guild = new BasicGuildInformations();
     this.guild.Deserialize(reader);
 }
示例#4
0
 public override void Deserialize(ICustomDataInput reader)
 {
     m_guildInfo = new BasicGuildInformations();
     m_guildInfo.Deserialize(reader);
     m_recruterId   = reader.ReadVarUhLong();
     m_recruterName = reader.ReadUTF();
 }
示例#5
0
 public TaxCollectorAttackedResultMessage(bool deadOrAlive, TaxCollectorBasicInformations basicInfos,
                                          BasicGuildInformations guild)
 {
     DeadOrAlive = deadOrAlive;
     BasicInfos  = basicInfos;
     Guild       = guild;
 }
 public AllianceTaxCollectorDialogQuestionExtendedMessage(
     BasicGuildInformations guildInfo,
     short maxPods,
     short prospecting,
     short wisdom,
     byte taxCollectorsCount,
     int taxCollectorAttack,
     long kamas,
     long experience,
     int pods,
     long itemsValue,
     BasicNamedAllianceInformations alliance
     ) : base(
         guildInfo,
         maxPods,
         prospecting,
         wisdom,
         taxCollectorsCount,
         taxCollectorAttack,
         kamas,
         experience,
         pods,
         itemsValue
         )
 {
     Alliance = alliance;
 }
示例#7
0
 public void Deserialize(IDataReader reader)
 {
     RecruterId   = reader.ReadVarLong();
     RecruterName = reader.ReadUTF();
     GuildInfo    = new BasicGuildInformations();
     GuildInfo.Deserialize(reader);
 }
示例#8
0
 public void Deserialize(IDataReader reader)
 {
     DeadOrAlive = reader.ReadBoolean();
     BasicInfos  = new TaxCollectorBasicInformations();
     BasicInfos.Deserialize(reader);
     Guild = new BasicGuildInformations();
     Guild.Deserialize(reader);
 }
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     m_guildInfo = new BasicGuildInformations();
     m_guildInfo.Deserialize(reader);
     m_level = reader.ReadSByte();
     m_experienceForGuild = reader.ReadInt();
 }
示例#10
0
 public override void Deserialize(ICustomDataInput reader)
 {
     m_basicInfos = new TaxCollectorBasicInformations();
     m_basicInfos.Deserialize(reader);
     m_guild = new BasicGuildInformations();
     m_guild.Deserialize(reader);
     m_deadOrAlive = reader.ReadBoolean();
 }
 public override void Deserialize(IDataReader reader)
 {
     this.deadOrAlive = reader.ReadBoolean();
     this.basicInfos  = new TaxCollectorBasicInformations();
     this.basicInfos.Deserialize(reader);
     this.guild = new BasicGuildInformations();
     this.guild.Deserialize(reader);
 }
示例#12
0
 public GuildInvitedMessage(
     double recruterId,
     string recruterName,
     BasicGuildInformations guildInfo)
 {
     this.recruterId   = recruterId;
     this.recruterName = recruterName;
     this.guildInfo    = guildInfo;
 }
示例#13
0
 public TaxCollectorAttackedMessage(BasicGuildInformations guild, ushort firstNameId, ushort lastNameId, short worldX, short worldY, int mapId, ushort subAreaId)
 {
     m_guild       = guild;
     m_firstNameId = firstNameId;
     m_lastNameId  = lastNameId;
     m_worldX      = worldX;
     m_worldY      = worldY;
     m_mapId       = mapId;
     m_subAreaId   = subAreaId;
 }
 public TaxCollectorAttackedMessage(uint firstNameId = 0, uint lastNameId = 0, int worldX = 0, int worldY = 0, int mapId = 0, uint subAreaId = 0, BasicGuildInformations guild = null)
 {
     FirstNameId = firstNameId;
     LastNameId  = lastNameId;
     WorldX      = worldX;
     WorldY      = worldY;
     MapId       = mapId;
     SubAreaId   = subAreaId;
     Guild       = guild;
 }
示例#15
0
 public TaxCollectorAttackedMessage(ushort firstNameId, ushort lastNameId, short worldX, short worldY, int mapId, ushort subAreaId, BasicGuildInformations guild)
 {
     this.firstNameId = firstNameId;
     this.lastNameId  = lastNameId;
     this.worldX      = worldX;
     this.worldY      = worldY;
     this.mapId       = mapId;
     this.subAreaId   = subAreaId;
     this.guild       = guild;
 }
示例#16
0
 public TaxCollectorAttackedMessage(ushort FirstNameId, ushort LastNameId, short WorldX, short WorldY, double MapId, ushort SubAreaId, BasicGuildInformations Guild)
 {
     this.FirstNameId = FirstNameId;
     this.LastNameId  = LastNameId;
     this.WorldX      = WorldX;
     this.WorldY      = WorldY;
     this.MapId       = MapId;
     this.SubAreaId   = SubAreaId;
     this.Guild       = Guild;
 }
示例#17
0
 public GuildInvitedMessage(
     long recruterId,
     string recruterName,
     BasicGuildInformations guildInfo
     )
 {
     RecruterId   = recruterId;
     RecruterName = recruterName;
     GuildInfo    = guildInfo;
 }
 public TaxCollectorAttackedMessage(ushort firstNameId, ushort lastNameId, short worldX, short worldY, double mapId, ushort subAreaId, BasicGuildInformations guild)
 {
     FirstNameId = firstNameId;
     LastNameId  = lastNameId;
     WorldX      = worldX;
     WorldY      = worldY;
     MapId       = mapId;
     SubAreaId   = subAreaId;
     Guild       = guild;
 }
示例#19
0
 public override void Deserialize(IDataReader reader)
 {
     m_guild = new BasicGuildInformations();
     m_guild.Deserialize(reader);
     m_firstNameId = reader.ReadVarUhShort();
     m_lastNameId  = reader.ReadVarUhShort();
     m_worldX      = reader.ReadShort();
     m_worldY      = reader.ReadShort();
     m_mapId       = reader.ReadInt();
     m_subAreaId   = reader.ReadVarUhShort();
 }
 public override void Deserialize(IDataReader reader)
 {
     FirstNameId = reader.ReadVarUhShort();
     LastNameId  = reader.ReadVarUhShort();
     WorldX      = reader.ReadShort();
     WorldY      = reader.ReadShort();
     MapId       = reader.ReadDouble();
     SubAreaId   = reader.ReadVarUhShort();
     Guild       = new BasicGuildInformations();
     Guild.Deserialize(reader);
 }
示例#21
0
 public override void Deserialize(IDataReader reader)
 {
     this.recruterId = (double)reader.ReadVarUhLong();
     if (this.recruterId < 0.0 || this.recruterId > 9.00719925474099E+15)
     {
         throw new Exception("Forbidden value (" + (object)this.recruterId + ") on element of GuildInvitedMessage.recruterId.");
     }
     this.recruterName = reader.ReadUTF();
     this.guildInfo    = new BasicGuildInformations();
     this.guildInfo.Deserialize(reader);
 }
示例#22
0
 public override void Deserialize(IDataReader reader)
 {
     this.firstNameId = reader.ReadVarUhShort();
     this.lastNameId  = reader.ReadVarUhShort();
     this.worldX      = reader.ReadShort();
     this.worldY      = reader.ReadShort();
     this.mapId       = reader.ReadInt();
     this.subAreaId   = reader.ReadVarUhShort();
     this.guild       = new BasicGuildInformations();
     this.guild.Deserialize(reader);
 }
        public override void Deserialize(ICustomDataInput reader)
        {
            this.recruterId = reader.ReadVarUhLong();

            if (this.recruterId < 0 || this.recruterId > 9007199254740990)
            {
                throw new Exception("Forbidden value on recruterId = " + this.recruterId + ", it doesn't respect the following condition : recruterId < 0 || recruterId > 9007199254740990");
            }
            this.recruterName = reader.ReadUTF();
            this.guildInfo    = new BasicGuildInformations();
            this.guildInfo.Deserialize(reader);
        }
示例#24
0
 public TaxCollectorDialogQuestionExtendedMessage(BasicGuildInformations guildInfo, uint maxPods, uint prospecting, uint wisdom, sbyte taxCollectorsCount, int taxCollectorAttack, uint kamas, double experience, uint pods, uint itemsValue) : base(guildInfo)
 {
     this.maxPods            = maxPods;
     this.prospecting        = prospecting;
     this.wisdom             = wisdom;
     this.taxCollectorsCount = taxCollectorsCount;
     this.taxCollectorAttack = taxCollectorAttack;
     this.kamas      = kamas;
     this.experience = experience;
     this.pods       = pods;
     this.itemsValue = itemsValue;
 }
 public TaxCollectorDialogQuestionExtendedMessage(BasicGuildInformations guildInfo = null, uint maxPods = 0, uint prospecting = 0, uint wisdom = 0, uint taxCollectorsCount = 0, int taxCollectorAttack = 0, uint kamas = 0, double experience = 0, uint pods = 0, uint itemsValue = 0)
 {
     GuildInfo          = guildInfo;
     MaxPods            = maxPods;
     Prospecting        = prospecting;
     Wisdom             = wisdom;
     TaxCollectorsCount = taxCollectorsCount;
     TaxCollectorAttack = taxCollectorAttack;
     Kamas      = kamas;
     Experience = experience;
     Pods       = pods;
     ItemsValue = itemsValue;
 }
示例#26
0
 public AllianceTaxCollectorDialogQuestionExtendedMessage(
     BasicGuildInformations guildInfo,
     uint maxPods,
     uint prospecting,
     uint wisdom,
     uint taxCollectorsCount,
     int taxCollectorAttack,
     double kamas,
     double experience,
     uint pods,
     double itemsValue,
     BasicNamedAllianceInformations alliance)
     : base(guildInfo, maxPods, prospecting, wisdom, taxCollectorsCount, taxCollectorAttack, kamas, experience, pods, itemsValue)
 {
     this.alliance = alliance;
 }
示例#27
0
        public override void Deserialize(ICustomDataInput reader)
        {
            this.firstNameId = reader.ReadVarUhShort();

            if (this.firstNameId < 0)
            {
                throw new Exception("Forbidden value on firstNameId = " + this.firstNameId + ", it doesn't respect the following condition : firstNameId < 0");
            }
            this.lastNameId = reader.ReadVarUhShort();

            if (this.lastNameId < 0)
            {
                throw new Exception("Forbidden value on lastNameId = " + this.lastNameId + ", it doesn't respect the following condition : lastNameId < 0");
            }
            this.worldX = reader.ReadShort();

            if (this.worldX < -255 || this.worldX > 255)
            {
                throw new Exception("Forbidden value on worldX = " + this.worldX + ", it doesn't respect the following condition : worldX < -255 || worldX > 255");
            }
            this.worldY = reader.ReadShort();

            if (this.worldY < -255 || this.worldY > 255)
            {
                throw new Exception("Forbidden value on worldY = " + this.worldY + ", it doesn't respect the following condition : worldY < -255 || worldY > 255");
            }
            this.mapId     = reader.ReadInt();
            this.subAreaId = reader.ReadVarUhShort();

            if (this.subAreaId < 0)
            {
                throw new Exception("Forbidden value on subAreaId = " + this.subAreaId + ", it doesn't respect the following condition : subAreaId < 0");
            }
            this.guild = new BasicGuildInformations();
            this.guild.Deserialize(reader);
        }
示例#28
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     Guild = new BasicGuildInformations();
     Guild.Deserialize(reader);
 }
示例#29
0
 public CharacterMinimalGuildInformations(BasicGuildInformations guild)
 {
     Guild = guild;
 }
示例#30
0
 public TaxCollectorDialogQuestionBasicMessage(BasicGuildInformations GuildInfo)
 {
     this.GuildInfo = GuildInfo;
 }