public virtual void Deserialize(IDataReader reader) { var limit = reader.ReadUShort(); followingCharactersLook = new EntityLook[limit]; for (int i = 0; i < limit; i++) { followingCharactersLook[i] = new EntityLook(); followingCharactersLook[i].Deserialize(reader); } emoteId = reader.ReadSByte(); emoteEndTime = reader.ReadUShort(); if (emoteEndTime < 0 || emoteEndTime > 255) { throw new Exception("Forbidden value on emoteEndTime = " + emoteEndTime + ", it doesn't respect the following condition : emoteEndTime < 0 || emoteEndTime > 255"); } restrictions = new ActorRestrictionsInformations(); restrictions.Deserialize(reader); titleId = reader.ReadShort(); if (titleId < 0) { throw new Exception("Forbidden value on titleId = " + titleId + ", it doesn't respect the following condition : titleId < 0"); } }
public GameRolePlayPrismInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, ActorAlignmentInformations alignInfos) : base(contextualId, look, disposition) { this.alignInfos = alignInfos; }
public FriendSpouseOnlineInformations(int spouseId, string spouseName, byte spouseLevel, sbyte breed, sbyte sex, EntityLook spouseEntityLook, bool inFight, bool followSpouse, bool pvpEnabled, int mapId, short subAreaId, string guildName, sbyte alignmentSide) : base(spouseId, spouseName, spouseLevel, breed, sex, spouseEntityLook) { this.inFight = inFight; this.followSpouse = followSpouse; this.pvpEnabled = pvpEnabled; this.mapId = mapId; this.subAreaId = subAreaId; this.guildName = guildName; this.alignmentSide = alignmentSide; }
public GameRolePlayMountInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, string name, string ownerName, byte level) : base(contextualId, look, disposition, name) { this.ownerName = ownerName; this.level = level; }
public GameFightMonsterWithAlignmentInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, short creatureGenericId, sbyte creatureGrade, ActorAlignmentInformations alignmentInfos) : base(contextualId, look, disposition, teamId, alive, stats, creatureGenericId, creatureGrade) { this.alignmentInfos = alignmentInfos; }
public TaxCollectorInformationsInWaitForHelpState(int uniqueId, short firtNameId, short lastNameId, AdditionalTaxCollectorInformations additonalInformation, short worldX, short worldY, short subAreaId, sbyte state, EntityLook look, ProtectedEntityWaitingForHelpInfo waitingForHelpInfo) : base(uniqueId, firtNameId, lastNameId, additonalInformation, worldX, worldY, subAreaId, state, look) { this.waitingForHelpInfo = waitingForHelpInfo; }
public GameRolePlayHumanoidInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, string name, HumanInformations humanoidInfo) : base(contextualId, look, disposition, name) { this.humanoidInfo = humanoidInfo; }
public GameFightCharacterInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, string name, short level, ActorAlignmentInformations alignmentInfos) : base(contextualId, look, disposition, teamId, alive, stats, name) { this.level = level; this.alignmentInfos = alignmentInfos; }
public GameFightFighterInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats) : base(contextualId, look, disposition) { this.teamId = teamId; this.alive = alive; this.stats = stats; }
public TaxCollectorInformations(int uniqueId, short firtNameId, short lastNameId, AdditionalTaxCollectorInformations additonalInformation, short worldX, short worldY, short subAreaId, sbyte state, EntityLook look) { this.uniqueId = uniqueId; this.firtNameId = firtNameId; this.lastNameId = lastNameId; this.additonalInformation = additonalInformation; this.worldX = worldX; this.worldY = worldY; this.subAreaId = subAreaId; this.state = state; this.look = look; }
public OrientedObjectItemWithLookInRolePlay(short cellId, short objectGID, EntityLook entityLook, sbyte direction) : base(cellId, objectGID, entityLook) { this.direction = direction; }
public GameFightTaxCollectorInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, short firstNameId, short lastNameId, short level) : base(contextualId, look, disposition, teamId, alive, stats) { this.firstNameId = firstNameId; this.lastNameId = lastNameId; this.level = level; }
public ObjectItemWithLookInRolePlay(short cellId, short objectGID, EntityLook entityLook) : base(cellId, objectGID) { this.entityLook = entityLook; }
public GameRolePlayCharacterInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, string name, HumanInformations humanoidInfo, ActorAlignmentInformations alignmentInfos) : base(contextualId, look, disposition, name, humanoidInfo) { this.alignmentInfos = alignmentInfos; }
public GameFightAIInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats) : base(contextualId, look, disposition, teamId, alive, stats) { }
public GameFightFighterNamedInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, string name) : base(contextualId, look, disposition, teamId, alive, stats) { this.name = name; }
public GameFightMonsterInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, short creatureGenericId, sbyte creatureGrade) : base(contextualId, look, disposition, teamId, alive, stats) { this.creatureGenericId = creatureGenericId; this.creatureGrade = creatureGrade; }
public MonsterInGroupInformations(int creatureGenericId, short level, EntityLook look) { this.creatureGenericId = creatureGenericId; this.level = level; this.look = look; }
public SubEntity(sbyte bindingPointCategory, sbyte bindingPointIndex, EntityLook subEntityLook) { this.bindingPointCategory = bindingPointCategory; this.bindingPointIndex = bindingPointIndex; this.subEntityLook = subEntityLook; }
public GameRolePlayActorInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition) : base(contextualId, look, disposition) { }
public GameRolePlayMerchantWithGuildInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, string name, int sellType, GuildInformations guildInformations) : base(contextualId, look, disposition, name, sellType) { this.guildInformations = guildInformations; }
public FriendSpouseInformations(int spouseId, string spouseName, byte spouseLevel, sbyte breed, sbyte sex, EntityLook spouseEntityLook) { this.spouseId = spouseId; this.spouseName = spouseName; this.spouseLevel = spouseLevel; this.breed = breed; this.sex = sex; this.spouseEntityLook = spouseEntityLook; }
public GameRolePlayNamedActorInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, string name) : base(contextualId, look, disposition) { this.name = name; }
public GameFightMutantInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, bool alive, GameFightMinimalStats stats, string name, sbyte powerLevel) : base(contextualId, look, disposition, teamId, alive, stats, name) { this.powerLevel = powerLevel; }
public GameRolePlayMutantInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, string name, HumanInformations humanoidInfo, sbyte powerLevel) : base(contextualId, look, disposition, name, humanoidInfo) { this.powerLevel = powerLevel; }
public GameContextActorInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition) { this.contextualId = contextualId; this.look = look; this.disposition = disposition; }
public CharacterMinimalPlusLookInformations(int id, string name, byte level, EntityLook entityLook) : base(id, name, level) { this.entityLook = entityLook; }
public GameRolePlayMerchantInformations(int contextualId, EntityLook look, EntityDispositionInformations disposition, string name, int sellType) : base(contextualId, look, disposition, name) { this.sellType = sellType; }
public override void Deserialize(IDataReader reader) { base.Deserialize(reader); entityLook = new EntityLook(); entityLook.Deserialize(reader); }