public GameFightFighterInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions) : base(contextualId, look, disposition)
 {
     this.teamId            = teamId;
     this.wave              = wave;
     this.alive             = alive;
     this.stats             = stats;
     this.previousPositions = previousPositions;
 }
        public override void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            this.teamId = reader.ReadSByte();
            this.wave   = reader.ReadSByte();
            this.alive  = reader.ReadBoolean();
            this.stats  = ProtocolTypeManager.GetInstance <GameFightMinimalStats>(reader.ReadUShort());
            this.stats.Deserialize(reader);
            ushort num = reader.ReadUShort();

            this.previousPositions = new uint[num];
            for (int i = 0; i < num; i++)
            {
                this.previousPositions[i] = reader.ReadVarUhShort();
            }
        }
 public GameFightTaxCollectorInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, uint firstNameId, uint lastNameId, byte level) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.firstNameId = firstNameId;
     this.lastNameId  = lastNameId;
     this.level       = level;
 }
 public GameFightAIInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
 }
 public GameFightMonsterInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, uint creatureGenericId, sbyte creatureGrade) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.creatureGenericId = creatureGenericId;
     this.creatureGrade     = creatureGrade;
 }
Esempio n. 6
0
 public GameFightCharacterInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, string name, PlayerStatus status, byte level, ActorAlignmentInformations alignmentInfos, sbyte breed, bool sex) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions, name, status)
 {
     this.level          = level;
     this.alignmentInfos = alignmentInfos;
     this.breed          = breed;
     this.sex            = sex;
 }
Esempio n. 7
0
 public GameFightCompanionInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, sbyte companionGenericId, byte level, double masterId) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.companionGenericId = companionGenericId;
     this.level    = level;
     this.masterId = masterId;
 }
Esempio n. 8
0
 public GameFightMonsterWithAlignmentInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, uint creatureGenericId, sbyte creatureGrade, ActorAlignmentInformations alignmentInfos) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions, creatureGenericId, creatureGrade)
 {
     this.alignmentInfos = alignmentInfos;
 }
Esempio n. 9
0
 public GameFightFighterNamedInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, string name, PlayerStatus status) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.name   = name;
     this.status = status;
 }
Esempio n. 10
0
 public GameFightMutantInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, string name, PlayerStatus status, sbyte powerLevel) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions, name, status)
 {
     this.powerLevel = powerLevel;
 }