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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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
         )
 {
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 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;
 }
 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 18
0
 public override void Deserialize(ICustomDataInput reader)
 {
     base.Deserialize(reader);
     Look = new EntityLook();
     Look.Deserialize(reader);
 }
Ejemplo n.º 19
0
 public override void Deserialize(ICustomDataInput reader)
 {
     Look = new EntityLook();
     Look.Deserialize(reader);
     Index = reader.ReadByte();
 }