public override void Deserialize(IDataReader reader) { base.Deserialize(reader); this.humanoidInfo = ProtocolTypeManager.GetInstance <HumanInformations>((uint)reader.ReadUShort()); this.humanoidInfo.Deserialize(reader); this.accountId = (uint)reader.ReadInt(); if (this.accountId < 0U) { throw new Exception("Forbidden value (" + (object)this.accountId + ") on element of GameRolePlayHumanoidInformations.accountId."); } }
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 GameRolePlayHumanoidInformations( double contextualId, EntityDispositionInformations disposition, EntityLook look, string name, HumanInformations humanoidInfo, uint accountId) : base(contextualId, disposition, look, name) { this.humanoidInfo = humanoidInfo; this.accountId = accountId; }
public GameRolePlayMutantInformations( double contextualId, EntityDispositionInformations disposition, EntityLook look, string name, HumanInformations humanoidInfo, uint accountId, uint monsterId, int powerLevel) : base(contextualId, disposition, look, name, humanoidInfo, accountId) { this.monsterId = monsterId; this.powerLevel = powerLevel; }