Exemple #1
0
 public GameRolePlayGroupMonsterInformations(
     double contextualId,
     EntityDispositionInformations disposition,
     EntityLook look,
     GroupMonsterStaticInformations staticInfos,
     int lootShare,
     int alignmentSide,
     bool keyRingBonus,
     bool hasHardcoreDrop,
     bool hasAVARewardToken)
     : base(contextualId, disposition, look)
 {
     this.staticInfos       = staticInfos;
     this.lootShare         = lootShare;
     this.alignmentSide     = alignmentSide;
     this.keyRingBonus      = keyRingBonus;
     this.hasHardcoreDrop   = hasHardcoreDrop;
     this.hasAVARewardToken = hasAVARewardToken;
 }
 public PartyGuestInformations(
     double guestId,
     double hostId,
     string name,
     EntityLook guestLook,
     int breed,
     bool sex,
     PlayerStatus status,
     List <PartyEntityBaseInformation> entities)
 {
     this.guestId   = guestId;
     this.hostId    = hostId;
     this.name      = name;
     this.guestLook = guestLook;
     this.breed     = breed;
     this.sex       = sex;
     this.status    = status;
     this.entities  = entities;
 }
 public PartyInvitationMemberInformations(
     double id,
     string name,
     uint level,
     EntityLook entityLook,
     int breed,
     bool sex,
     int worldX,
     int worldY,
     double mapId,
     uint subAreaId,
     List <PartyEntityBaseInformation> entities)
     : base(id, name, level, entityLook, breed, sex)
 {
     this.worldX    = worldX;
     this.worldY    = worldY;
     this.mapId     = mapId;
     this.subAreaId = subAreaId;
     this.entities  = entities;
 }
 public FriendSpouseInformations(
     uint spouseAccountId,
     double spouseId,
     string spouseName,
     uint spouseLevel,
     int breed,
     int sex,
     EntityLook spouseEntityLook,
     GuildInformations guildInfo,
     int alignmentSide)
 {
     this.spouseAccountId  = spouseAccountId;
     this.spouseId         = spouseId;
     this.spouseName       = spouseName;
     this.spouseLevel      = spouseLevel;
     this.breed            = breed;
     this.sex              = sex;
     this.spouseEntityLook = spouseEntityLook;
     this.guildInfo        = guildInfo;
     this.alignmentSide    = alignmentSide;
 }
 public FriendSpouseOnlineInformations(
     uint spouseAccountId,
     double spouseId,
     string spouseName,
     uint spouseLevel,
     int breed,
     int sex,
     EntityLook spouseEntityLook,
     GuildInformations guildInfo,
     int alignmentSide,
     double mapId,
     uint subAreaId,
     bool inFight,
     bool followSpouse)
     : base(spouseAccountId, spouseId, spouseName, spouseLevel, breed, sex, spouseEntityLook, guildInfo, alignmentSide)
 {
     this.mapId        = mapId;
     this.subAreaId    = subAreaId;
     this.inFight      = inFight;
     this.followSpouse = followSpouse;
 }
 public GameFightFighterNamedInformations(
     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)
     : base(contextualId, disposition, look, spawnInfo, wave, stats, previousPositions)
 {
     this.name             = name;
     this.status           = status;
     this.leagueId         = leagueId;
     this.ladderPosition   = ladderPosition;
     this.hiddenInPrefight = hiddenInPrefight;
 }
 public TaxCollectorInformations(
     double uniqueId,
     uint firtNameId,
     uint lastNameId,
     AdditionalTaxCollectorInformations additionalInfos,
     int worldX,
     int worldY,
     uint subAreaId,
     uint state,
     EntityLook look,
     List <TaxCollectorComplementaryInformations> complements)
 {
     this.uniqueId        = uniqueId;
     this.firtNameId      = firtNameId;
     this.lastNameId      = lastNameId;
     this.additionalInfos = additionalInfos;
     this.worldX          = worldX;
     this.worldY          = worldY;
     this.subAreaId       = subAreaId;
     this.state           = state;
     this.look            = look;
     this.complements     = complements;
 }
        public virtual void Deserialize(IDataReader reader)
        {
            //this.spawnInformation = ProtocolTypeManager.getInstance(SpawnInformation, _id1);
            this.spawnInformation = ProtocolTypeManager.GetInstance <SpawnInformation>((uint)reader.ReadUShort());
            this.spawnInformation.Deserialize(reader);
            this.wave = (uint)reader.ReadByte();
            if (this.wave < 0U)
            {
                throw new Exception("Forbidden value (" + (object)this.wave + ") on element of GameContextSummonsInformation.wave.");
            }
            this.look = new EntityLook();
            this.look.Deserialize(reader);
            this.stats = ProtocolTypeManager.GetInstance <GameFightMinimalStats>((uint)reader.ReadUShort());
            this.stats.Deserialize(reader);
            uint num = (uint)reader.ReadUShort();

            for (int index = 0; (long)index < (long)num; ++index)
            {
                GameContextBasicSpawnInformation instance = ProtocolTypeManager.GetInstance <GameContextBasicSpawnInformation>((uint)reader.ReadUShort());
                instance.Deserialize(reader);
                this.summons.Add(instance);
            }
        }
 public PartyMemberArenaInformations(
     double id,
     string name,
     uint level,
     EntityLook entityLook,
     int breed,
     bool sex,
     uint lifePoints,
     uint maxLifePoints,
     uint prospecting,
     uint regenRate,
     uint initiative,
     int alignmentSide,
     int worldX,
     int worldY,
     double mapId,
     uint subAreaId,
     PlayerStatus status,
     List <PartyEntityBaseInformation> entities,
     uint rank)
     : base(id, name, level, entityLook, breed, sex, lifePoints, maxLifePoints, prospecting, regenRate, initiative, alignmentSide, worldX, worldY, mapId, subAreaId, status, entities)
 {
     this.rank = rank;
 }
 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;
 }
Exemple #11
0
 public SubEntity(uint bindingPointCategory, uint bindingPointIndex, EntityLook subEntityLook)
 {
     this.bindingPointCategory = bindingPointCategory;
     this.bindingPointIndex    = bindingPointIndex;
     this.subEntityLook        = subEntityLook;
 }
 public PartyEntityBaseInformation(uint indexId, uint entityModelId, EntityLook entityLook)
 {
     this.indexId       = indexId;
     this.entityModelId = entityModelId;
     this.entityLook    = entityLook;
 }
Exemple #13
0
 public IndexedEntityLook(EntityLook look, uint index)
 {
     this.look  = look;
     this.index = index;
 }
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     this.look = new EntityLook();
     this.look.Deserialize(reader);
 }
 public MonsterInGroupInformations(int genericId, uint grade, uint level, EntityLook look)
     : base(genericId, grade, level)
 {
     this.look = look;
 }