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; }
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(); }
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; }
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; }
public override void Deserialize(ICustomDataInput reader) { base.Deserialize(reader); this.alignmentInfos = new ActorAlignmentInformations(); this.alignmentInfos.Deserialize(reader); }