コード例 #1
0
 public CharacterMinimalAllianceInformations(
     long id_,
     string name,
     short level,
     EntityLook entityLook_,
     byte breed,
     BasicGuildInformations guild,
     BasicAllianceInformations alliance
     ) : base(
         id_,
         name,
         level,
         entityLook_,
         breed,
         guild
         )
 {
     Alliance = alliance;
 }
コード例 #2
0
 public PartyMemberArenaInformations(
     long id_,
     string name,
     short level,
     EntityLook entityLook_,
     byte breed,
     bool sex,
     int lifePoints,
     int maxLifePoints,
     short prospecting,
     byte regenRate,
     short initiative,
     byte alignmentSide,
     short worldX,
     short worldY,
     double mapId,
     short subAreaId,
     PlayerStatus status,
     List <PartyEntityBaseInformation> entities,
     short rank
     ) : base(
         id_,
         name,
         level,
         entityLook_,
         breed,
         sex,
         lifePoints,
         maxLifePoints,
         prospecting,
         regenRate,
         initiative,
         alignmentSide,
         worldX,
         worldY,
         mapId,
         subAreaId,
         status,
         entities
         )
 {
     Rank = rank;
 }
コード例 #3
0
 public GameRolePlayCharacterInformations(
     double contextualId,
     EntityLook look,
     EntityDispositionInformations disposition,
     string name,
     HumanInformations humanoidInfo,
     int accountId,
     ActorAlignmentInformations alignmentInfos
     ) : base(
         contextualId,
         look,
         disposition,
         name,
         humanoidInfo,
         accountId
         )
 {
     AlignmentInfos = alignmentInfos;
 }
コード例 #4
0
 public GameRolePlayNpcWithQuestInformations(
     double contextualId,
     EntityLook look,
     EntityDispositionInformations disposition,
     short npcId,
     bool sex,
     short specialArtworkId,
     GameRolePlayNpcQuestFlag questFlag
     ) : base(
         contextualId,
         look,
         disposition,
         npcId,
         sex,
         specialArtworkId
         )
 {
     QuestFlag = questFlag;
 }
コード例 #5
0
 public PartyGuestInformations(
     long guestId,
     long hostId,
     string name,
     EntityLook guestLook,
     byte breed,
     bool sex,
     PlayerStatus status,
     List <PartyEntityBaseInformation> entities
     )
 {
     GuestId   = guestId;
     HostId    = hostId;
     Name      = name;
     GuestLook = guestLook;
     Breed     = breed;
     Sex       = sex;
     Status    = status;
     Entities  = entities;
 }
コード例 #6
0
 public PartyMemberInformations(
     long id_,
     string name,
     short level,
     EntityLook entityLook_,
     byte breed,
     bool sex,
     int lifePoints,
     int maxLifePoints,
     short prospecting,
     byte regenRate,
     short initiative,
     byte alignmentSide,
     short worldX,
     short worldY,
     double mapId,
     short subAreaId,
     PlayerStatus status,
     List <PartyEntityBaseInformation> entities
     ) : base(
         id_,
         name,
         level,
         entityLook_,
         breed,
         sex
         )
 {
     LifePoints    = lifePoints;
     MaxLifePoints = maxLifePoints;
     Prospecting   = prospecting;
     RegenRate     = regenRate;
     Initiative    = initiative;
     AlignmentSide = alignmentSide;
     WorldX        = worldX;
     WorldY        = worldY;
     MapId         = mapId;
     SubAreaId     = subAreaId;
     Status        = status;
     Entities      = entities;
 }
コード例 #7
0
 public GameFightAIInformations(
     double contextualId,
     EntityLook look,
     EntityDispositionInformations disposition,
     byte teamId,
     byte wave,
     bool alive,
     GameFightMinimalStats stats,
     List <short> previousPositions
     ) : base(
         contextualId,
         look,
         disposition,
         teamId,
         wave,
         alive,
         stats,
         previousPositions
         )
 {
 }
コード例 #8
0
 public GameFightFighterInformations(
     double contextualId,
     EntityLook look,
     EntityDispositionInformations disposition,
     byte teamId,
     byte wave,
     bool alive,
     GameFightMinimalStats stats,
     List <short> previousPositions
     ) : base(
         contextualId,
         look,
         disposition
         )
 {
     TeamId            = teamId;
     Wave              = wave;
     Alive             = alive;
     Stats             = stats;
     PreviousPositions = previousPositions;
 }
コード例 #9
0
 public GameRolePlayMutantInformations(
     double contextualId,
     EntityLook look,
     EntityDispositionInformations disposition,
     string name,
     HumanInformations humanoidInfo,
     int accountId,
     short monsterId,
     byte powerLevel
     ) : base(
         contextualId,
         look,
         disposition,
         name,
         humanoidInfo,
         accountId
         )
 {
     MonsterId  = monsterId;
     PowerLevel = powerLevel;
 }
コード例 #10
0
 public PartyEntityMemberInformation(
     byte indexId,
     byte entityModelId,
     EntityLook entityLook_,
     short initiative,
     int lifePoints,
     int maxLifePoints,
     short prospecting,
     byte regenRate
     ) : base(
         indexId,
         entityModelId,
         entityLook_
         )
 {
     Initiative    = initiative;
     LifePoints    = lifePoints;
     MaxLifePoints = maxLifePoints;
     Prospecting   = prospecting;
     RegenRate     = regenRate;
 }
コード例 #11
0
 public FriendSpouseInformations(
     int spouseAccountId,
     long spouseId,
     string spouseName,
     short spouseLevel,
     byte breed,
     byte sex,
     EntityLook spouseEntityLook,
     GuildInformations guildInfo,
     byte alignmentSide
     )
 {
     SpouseAccountId  = spouseAccountId;
     SpouseId         = spouseId;
     SpouseName       = spouseName;
     SpouseLevel      = spouseLevel;
     Breed            = breed;
     Sex              = sex;
     SpouseEntityLook = spouseEntityLook;
     GuildInfo        = guildInfo;
     AlignmentSide    = alignmentSide;
 }
コード例 #12
0
 public GameFightCharacterInformations(
     double contextualId,
     EntityLook look,
     EntityDispositionInformations disposition,
     byte teamId,
     byte wave,
     bool alive,
     GameFightMinimalStats stats,
     List <short> previousPositions,
     string name,
     PlayerStatus status,
     short leagueId,
     int ladderPosition,
     bool hiddenInPrefight,
     short level,
     ActorAlignmentInformations alignmentInfos,
     byte breed,
     bool sex
     ) : base(
         contextualId,
         look,
         disposition,
         teamId,
         wave,
         alive,
         stats,
         previousPositions,
         name,
         status,
         leagueId,
         ladderPosition,
         hiddenInPrefight
         )
 {
     Level          = level;
     AlignmentInfos = alignmentInfos;
     Breed          = breed;
     Sex            = sex;
 }
コード例 #13
0
        public override void Deserialize(ICustomDataInput reader)
        {
            GuestId   = reader.ReadVarLong();
            HostId    = reader.ReadVarLong();
            Name      = reader.ReadUTF();
            GuestLook = new EntityLook();
            GuestLook.Deserialize(reader);
            Breed = reader.ReadByte();
            Sex   = reader.ReadBoolean();
            var statusTypeId = reader.ReadShort();

            Status = new PlayerStatus();
            Status.Deserialize(reader);
            var countEntities = reader.ReadShort();

            Entities = new List <PartyEntityBaseInformation>();
            for (short i = 0; i < countEntities; i++)
            {
                PartyEntityBaseInformation type = new PartyEntityBaseInformation();
                type.Deserialize(reader);
                Entities.Add(type);
            }
        }
コード例 #14
0
 public CharacterHardcoreOrEpicInformations(
     long id_,
     string name,
     short level,
     EntityLook entityLook_,
     byte breed,
     bool sex,
     byte deathState,
     short deathCount,
     short deathMaxLevel
     ) : base(
         id_,
         name,
         level,
         entityLook_,
         breed,
         sex
         )
 {
     DeathState    = deathState;
     DeathCount    = deathCount;
     DeathMaxLevel = deathMaxLevel;
 }
コード例 #15
0
 public GameRolePlayGroupMonsterInformations(
     double contextualId,
     EntityLook look,
     EntityDispositionInformations disposition,
     bool keyRingBonus,
     bool hasHardcoreDrop,
     bool hasAVARewardToken,
     GroupMonsterStaticInformations staticInfos,
     byte lootShare,
     byte alignmentSide
     ) : base(
         contextualId,
         look,
         disposition
         )
 {
     KeyRingBonus      = keyRingBonus;
     HasHardcoreDrop   = hasHardcoreDrop;
     HasAVARewardToken = hasAVARewardToken;
     StaticInfos       = staticInfos;
     LootShare         = lootShare;
     AlignmentSide     = alignmentSide;
 }
コード例 #16
0
 public TaxCollectorInformations(
     double uniqueId,
     short firtNameId,
     short lastNameId,
     AdditionalTaxCollectorInformations additionalInfos,
     short worldX,
     short worldY,
     short subAreaId,
     byte state,
     EntityLook look,
     List <TaxCollectorComplementaryInformations> complements
     )
 {
     UniqueId        = uniqueId;
     FirtNameId      = firtNameId;
     LastNameId      = lastNameId;
     AdditionalInfos = additionalInfos;
     WorldX          = worldX;
     WorldY          = worldY;
     SubAreaId       = subAreaId;
     State           = state;
     Look            = look;
     Complements     = complements;
 }
コード例 #17
0
        public override void Deserialize(ICustomDataInput reader)
        {
            UniqueId        = reader.ReadDouble();
            FirtNameId      = reader.ReadVarShort();
            LastNameId      = reader.ReadVarShort();
            AdditionalInfos = new AdditionalTaxCollectorInformations();
            AdditionalInfos.Deserialize(reader);
            WorldX    = reader.ReadShort();
            WorldY    = reader.ReadShort();
            SubAreaId = reader.ReadVarShort();
            State     = reader.ReadByte();
            Look      = new EntityLook();
            Look.Deserialize(reader);
            var countComplements = reader.ReadShort();

            Complements = new List <TaxCollectorComplementaryInformations>();
            for (short i = 0; i < countComplements; i++)
            {
                var complementstypeId = reader.ReadShort();
                TaxCollectorComplementaryInformations type = new TaxCollectorComplementaryInformations();
                type.Deserialize(reader);
                Complements.Add(type);
            }
        }
コード例 #18
0
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     Look = new EntityLook();
     Look.Deserialize(reader);
 }
コード例 #19
0
ファイル: IndexedEntityLook.cs プロジェクト: Teles1/Cookie
 public override void Deserialize(ICustomDataInput reader)
 {
     Look = new EntityLook();
     Look.Deserialize(reader);
     Index = reader.ReadByte();
 }