public GameRolePlayCharacterInformations(
     double contextualId,
     EntityDispositionInformations disposition,
     EntityLook look,
     string name,
     HumanInformations humanoidInfo,
     uint accountId,
     ActorAlignmentInformations alignmentInfos)
     : base(contextualId, disposition, look, name, humanoidInfo, accountId)
 {
     this.alignmentInfos = alignmentInfos;
 }
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     this.level = (uint)reader.ReadVarUhShort();
     if (this.level < 0U)
     {
         throw new Exception("Forbidden value (" + (object)this.level + ") on element of GameFightCharacterInformations.level.");
     }
     this.alignmentInfos = new ActorAlignmentInformations();
     this.alignmentInfos.Deserialize(reader);
     this.breed = (int)reader.ReadByte();
     this.sex   = reader.ReadBoolean();
 }
Exemple #3
0
 public GameFightMonsterWithAlignmentInformations(
     double contextualId,
     EntityDispositionInformations disposition,
     EntityLook look,
     GameContextBasicSpawnInformation spawnInfo,
     uint wave,
     GameFightMinimalStats stats,
     List <uint> previousPositions,
     uint creatureGenericId,
     uint creatureGrade,
     uint creatureLevel,
     ActorAlignmentInformations alignmentInfos)
     : base(contextualId, disposition, look, spawnInfo, wave, stats, previousPositions, creatureGenericId, creatureGrade, creatureLevel)
 {
     this.alignmentInfos = alignmentInfos;
 }
 public GameFightCharacterInformations(
     double contextualId,
     EntityDispositionInformations disposition,
     EntityLook look,
     GameContextBasicSpawnInformation spawnInfo,
     uint wave,
     GameFightMinimalStats stats,
     List <uint> previousPositions,
     string name,
     PlayerStatus status,
     int leagueId,
     int ladderPosition,
     bool hiddenInPrefight,
     uint level,
     ActorAlignmentInformations alignmentInfos,
     int breed,
     bool sex)
     : base(contextualId, disposition, look, spawnInfo, wave, stats, previousPositions, name, status, leagueId, ladderPosition, hiddenInPrefight)
 {
     this.level          = level;
     this.alignmentInfos = alignmentInfos;
     this.breed          = breed;
     this.sex            = sex;
 }
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     this.alignmentInfos = new ActorAlignmentInformations();
     this.alignmentInfos.Deserialize(reader);
 }