コード例 #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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 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;
 }
コード例 #6
0
 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;
 }
コード例 #7
0
 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;
 }
コード例 #8
0
        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);
            }
        }
コード例 #9
0
 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;
 }
コード例 #10
0
 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;
 }
コード例 #11
0
 public SubEntity(uint bindingPointCategory, uint bindingPointIndex, EntityLook subEntityLook)
 {
     this.bindingPointCategory = bindingPointCategory;
     this.bindingPointIndex    = bindingPointIndex;
     this.subEntityLook        = subEntityLook;
 }
コード例 #12
0
 public PartyEntityBaseInformation(uint indexId, uint entityModelId, EntityLook entityLook)
 {
     this.indexId       = indexId;
     this.entityModelId = entityModelId;
     this.entityLook    = entityLook;
 }
コード例 #13
0
 public IndexedEntityLook(EntityLook look, uint index)
 {
     this.look  = look;
     this.index = index;
 }
コード例 #14
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     this.look = new EntityLook();
     this.look.Deserialize(reader);
 }
コード例 #15
0
 public MonsterInGroupInformations(int genericId, uint grade, uint level, EntityLook look)
     : base(genericId, grade, level)
 {
     this.look = look;
 }