Exemplo n.º 1
0
 public GameRolePlayCharacterInformations(double contextualId,
                                          EntityLook look,
                                          EntityDispositionInformations disposition,
                                          string name,
                                          HumanInformations humanoidInfo,
                                          int accountId,
                                          ActorAlignmentInformations alignmentInfos)
     : base(contextualId, look, disposition, name, humanoidInfo, accountId)
 {
     this.alignmentInfos = alignmentInfos;
 }
Exemplo n.º 2
0
        public override void Deserialize(ICustomDataInput reader)
        {
            base.Deserialize(reader);
            this.level = reader.ReadByte();

            if (this.level < 0 || this.level > 255)
            {
                throw new Exception("Forbidden value on level = " + this.level + ", it doesn't respect the following condition : level < 0 || level > 255");
            }
            this.alignmentInfos = new ActorAlignmentInformations();
            this.alignmentInfos.Deserialize(reader);
            this.breed = reader.ReadSByte();
            this.sex   = reader.ReadBoolean();
        }
Exemplo n.º 3
0
 public GameFightMonsterWithAlignmentInformations(double contextualId,
                                                  EntityLook look,
                                                  EntityDispositionInformations disposition,
                                                  sbyte teamId,
                                                  sbyte wave,
                                                  bool alive,
                                                  GameFightMinimalStats stats,
                                                  ushort[] previousPositions,
                                                  ushort creatureGenericId,
                                                  sbyte creatureGrade,
                                                  ActorAlignmentInformations alignmentInfos)
     : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions, creatureGenericId, creatureGrade)
 {
     this.alignmentInfos = alignmentInfos;
 }
Exemplo n.º 4
0
 public GameFightCharacterInformations(double contextualId,
                                       EntityLook look,
                                       EntityDispositionInformations disposition,
                                       sbyte teamId,
                                       sbyte wave,
                                       bool alive,
                                       GameFightMinimalStats stats,
                                       ushort[] 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;
 }
Exemplo n.º 5
0
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     this.alignmentInfos = new ActorAlignmentInformations();
     this.alignmentInfos.Deserialize(reader);
 }