コード例 #1
0
ファイル: FightResultListEntry.cs プロジェクト: Teles1/Cookie
 public override void Deserialize(ICustomDataInput reader)
 {
     Outcome = reader.ReadVarShort();
     Wave    = reader.ReadByte();
     Rewards = new FightLoot();
     Rewards.Deserialize(reader);
 }
コード例 #2
0
ファイル: FightResultListEntry.cs プロジェクト: Teles1/Cookie
 public FightResultListEntry(
     short outcome,
     byte wave,
     FightLoot rewards
     )
 {
     Outcome = outcome;
     Wave    = wave;
     Rewards = rewards;
 }
コード例 #3
0
 public FightResultFighterListEntry(
     short outcome,
     byte wave,
     FightLoot rewards,
     double id_,
     bool alive
     ) : base(
         outcome,
         wave,
         rewards
         )
 {
     Id_   = id_;
     Alive = alive;
 }
コード例 #4
0
 public FightResultMutantListEntry(
     short outcome,
     byte wave,
     FightLoot rewards,
     double id_,
     bool alive,
     short level
     ) : base(
         outcome,
         wave,
         rewards,
         id_,
         alive
         )
 {
     Level = level;
 }
コード例 #5
0
 public FightResultPlayerListEntry(
     short outcome,
     byte wave,
     FightLoot rewards,
     double id_,
     bool alive,
     short level,
     List <FightResultAdditionalData> additional
     ) : base(
         outcome,
         wave,
         rewards,
         id_,
         alive
         )
 {
     Level      = level;
     Additional = additional;
 }
コード例 #6
0
 public FightResultTaxCollectorListEntry(
     short outcome,
     byte wave,
     FightLoot rewards,
     double id_,
     bool alive,
     byte level,
     BasicGuildInformations guildInfo,
     int experienceForGuild
     ) : base(
         outcome,
         wave,
         rewards,
         id_,
         alive
         )
 {
     Level              = level;
     GuildInfo          = guildInfo;
     ExperienceForGuild = experienceForGuild;
 }