public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     targetId = reader.ReadInt();
     entityLook = new Types.EntityLook();
     entityLook.Deserialize(reader);
 }
 public ContactLookMessage(int requestId, string playerName, int playerId, Types.EntityLook look)
 {
     this.requestId = requestId;
     this.playerName = playerName;
     this.playerId = playerId;
     this.look = look;
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     contextualId = reader.ReadInt();
     look = new Types.EntityLook();
     look.Deserialize(reader);
     disposition = Types.ProtocolTypeManager.GetInstance<Types.EntityDispositionInformations>(reader.ReadShort());
     disposition.Deserialize(reader);
 }
 public virtual void Deserialize(ICustomDataInput reader)
 {
     look = new Types.EntityLook();
     look.Deserialize(reader);
     index = reader.ReadSByte();
     if (index < 0)
         throw new Exception("Forbidden value on index = " + index + ", it doesn't respect the following condition : index < 0");
 }
 public PartyGuestInformations(int guestId, int hostId, string name, Types.EntityLook guestLook, sbyte breed, bool sex)
 {
     this.guestId = guestId;
     this.hostId = hostId;
     this.name = name;
     this.guestLook = guestLook;
     this.breed = breed;
     this.sex = sex;
 }
 public PartyGuestInformations(int guestId, int hostId, string name, Types.EntityLook guestLook, sbyte breed, bool sex, Types.PlayerStatus status, IEnumerable<Types.PartyCompanionBaseInformations> companions)
 {
     this.guestId = guestId;
     this.hostId = hostId;
     this.name = name;
     this.guestLook = guestLook;
     this.breed = breed;
     this.sex = sex;
     this.status = status;
     this.companions = companions;
 }
Beispiel #7
0
 public virtual void Deserialize(IDataReader reader)
 {
     bindingPointCategory = reader.ReadSByte();
     if (bindingPointCategory < 0)
         throw new Exception("Forbidden value on bindingPointCategory = " + bindingPointCategory + ", it doesn't respect the following condition : bindingPointCategory < 0");
     bindingPointIndex = reader.ReadSByte();
     if (bindingPointIndex < 0)
         throw new Exception("Forbidden value on bindingPointIndex = " + bindingPointIndex + ", it doesn't respect the following condition : bindingPointIndex < 0");
     subEntityLook = new Types.EntityLook();
     subEntityLook.Deserialize(reader);
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     indexId = reader.ReadSByte();
     if (indexId < 0)
         throw new Exception("Forbidden value on indexId = " + indexId + ", it doesn't respect the following condition : indexId < 0");
     companionGenericId = reader.ReadSByte();
     if (companionGenericId < 0)
         throw new Exception("Forbidden value on companionGenericId = " + companionGenericId + ", it doesn't respect the following condition : companionGenericId < 0");
     entityLook = new Types.EntityLook();
     entityLook.Deserialize(reader);
 }
 public FriendSpouseInformations(int spouseAccountId, int spouseId, string spouseName, byte spouseLevel, sbyte breed, sbyte sex, Types.EntityLook spouseEntityLook, Types.BasicGuildInformations guildInfo, sbyte 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 override void Deserialize(BigEndianReader reader)
 {
     requestId = reader.ReadVarInt();
     if (requestId < 0)
         throw new Exception("Forbidden value on requestId = " + requestId + ", it doesn't respect the following condition : requestId < 0");
     playerName = reader.ReadUTF();
     playerId = reader.ReadVarInt();
     if (playerId < 0)
         throw new Exception("Forbidden value on playerId = " + playerId + ", it doesn't respect the following condition : playerId < 0");
     look = new Types.EntityLook();
     look.Deserialize(reader);
 }
 public TaxCollectorInformations(int uniqueId, short firtNameId, short lastNameId, Types.AdditionalTaxCollectorInformations additionalInfos, short worldX, short worldY, short subAreaId, sbyte state, Types.EntityLook look, Types.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 override void Deserialize(BigEndianReader reader)
 {
     playerInfo = new Types.JobCrafterDirectoryEntryPlayerInfo();
     playerInfo.Deserialize(reader);
     var limit = reader.ReadUShort();
     jobInfoList = new Types.JobCrafterDirectoryEntryJobInfo[limit];
     for (int i = 0; i < limit; i++)
     {
          jobInfoList[i] = new Types.JobCrafterDirectoryEntryJobInfo();
          jobInfoList[i].Deserialize(reader);
     }
     playerLook = new Types.EntityLook();
     playerLook.Deserialize(reader);
 }
 public virtual void Deserialize(IDataReader reader)
 {
     guestId = reader.ReadInt();
     if (guestId < 0)
         throw new Exception("Forbidden value on guestId = " + guestId + ", it doesn't respect the following condition : guestId < 0");
     hostId = reader.ReadInt();
     if (hostId < 0)
         throw new Exception("Forbidden value on hostId = " + hostId + ", it doesn't respect the following condition : hostId < 0");
     name = reader.ReadUTF();
     guestLook = new Types.EntityLook();
     guestLook.Deserialize(reader);
     breed = reader.ReadSByte();
     sex = reader.ReadBoolean();
 }
 public TaxCollectorInformations(int uniqueId, short firtNameId, short lastNameId, Types.AdditionalTaxCollectorInformations additionalInfos, short worldX, short worldY, short subAreaId, sbyte state, Types.EntityLook look, int kamas, double experience, int pods, int itemsValue)
 {
     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.kamas = kamas;
     this.experience = experience;
     this.pods = pods;
     this.itemsValue = itemsValue;
 }
Beispiel #15
0
 public TaxCollectorInformations(int uniqueId, short firtNameId, short lastNameId, Types.AdditionalTaxCollectorInformations additionalInfos, short worldX, short worldY, short subAreaId, sbyte state, Types.EntityLook look, int kamas, double experience, int pods, int itemsValue)
 {
     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.kamas           = kamas;
     this.experience      = experience;
     this.pods            = pods;
     this.itemsValue      = itemsValue;
 }
 public override void Deserialize(IDataReader reader)
 {
     requestId = reader.ReadInt();
     if (requestId < 0)
     {
         throw new Exception("Forbidden value on requestId = " + requestId + ", it doesn't respect the following condition : requestId < 0");
     }
     playerName = reader.ReadUTF();
     playerId   = reader.ReadInt();
     if (playerId < 0)
     {
         throw new Exception("Forbidden value on playerId = " + playerId + ", it doesn't respect the following condition : playerId < 0");
     }
     look = new Types.EntityLook();
     look.Deserialize(reader);
 }
Beispiel #17
0
 public void Deserialize(IDataReader reader)
 {
     requestId = reader.ReadVarUhInt();
     if (requestId < 0)
     {
         throw new System.Exception("Forbidden value on requestId = " + requestId + ", it doesn't respect the following condition : requestId < 0");
     }
     playerName = reader.ReadUTF();
     playerId   = reader.ReadVarUhLong();
     if (playerId < 0 || playerId > 9.007199254740992E15)
     {
         throw new System.Exception("Forbidden value on playerId = " + playerId + ", it doesn't respect the following condition : playerId < 0 || playerId > 9.007199254740992E15");
     }
     look = new Types.EntityLook();
     look.Deserialize(reader);
 }
Beispiel #18
0
        public override void Deserialize(IDataReader reader)
        {
            playerInfo = new Types.JobCrafterDirectoryEntryPlayerInfo();
            playerInfo.Deserialize(reader);
            var limit        = reader.ReadUShort();
            var jobInfoList_ = new Types.JobCrafterDirectoryEntryJobInfo[limit];

            for (int i = 0; i < limit; i++)
            {
                jobInfoList_[i] = new Types.JobCrafterDirectoryEntryJobInfo();
                jobInfoList_[i].Deserialize(reader);
            }
            jobInfoList = jobInfoList_;
            playerLook  = new Types.EntityLook();
            playerLook.Deserialize(reader);
        }
Beispiel #19
0
 public PartyMemberInformations(long id, string name, byte level, Types.EntityLook entityLook, sbyte breed, bool sex, int lifePoints, int maxLifePoints, short prospecting, byte regenRate, short initiative, sbyte alignmentSide, short worldX, short worldY, int mapId, short subAreaId, Types.PlayerStatus status, IEnumerable <Types.PartyCompanionMemberInformations> companions)
     : base(id, name, level, entityLook, breed, sex)
 {
     this.lifePoints    = lifePoints;
     this.maxLifePoints = maxLifePoints;
     this.prospecting   = prospecting;
     this.regenRate     = regenRate;
     this.initiative    = initiative;
     this.alignmentSide = alignmentSide;
     this.worldX        = worldX;
     this.worldY        = worldY;
     this.mapId         = mapId;
     this.subAreaId     = subAreaId;
     this.status        = status;
     this.companions    = companions;
 }
 public virtual void Deserialize(IDataReader reader)
 {
     guestId = reader.ReadInt();
     if (guestId < 0)
     {
         throw new Exception("Forbidden value on guestId = " + guestId + ", it doesn't respect the following condition : guestId < 0");
     }
     hostId = reader.ReadInt();
     if (hostId < 0)
     {
         throw new Exception("Forbidden value on hostId = " + hostId + ", it doesn't respect the following condition : hostId < 0");
     }
     name      = reader.ReadUTF();
     guestLook = new Types.EntityLook();
     guestLook.Deserialize(reader);
 }
Beispiel #21
0
        public virtual void Deserialize(IDataReader reader)
        {
            uniqueId   = reader.ReadInt();
            firtNameId = reader.ReadVarShort();
            if (firtNameId < 0)
            {
                throw new Exception("Forbidden value on firtNameId = " + firtNameId + ", it doesn't respect the following condition : firtNameId < 0");
            }
            lastNameId = reader.ReadVarShort();
            if (lastNameId < 0)
            {
                throw new Exception("Forbidden value on lastNameId = " + lastNameId + ", it doesn't respect the following condition : lastNameId < 0");
            }
            additionalInfos = new Types.AdditionalTaxCollectorInformations();
            additionalInfos.Deserialize(reader);
            worldX = reader.ReadShort();
            if (worldX < -255 || worldX > 255)
            {
                throw new Exception("Forbidden value on worldX = " + worldX + ", it doesn't respect the following condition : worldX < -255 || worldX > 255");
            }
            worldY = reader.ReadShort();
            if (worldY < -255 || worldY > 255)
            {
                throw new Exception("Forbidden value on worldY = " + worldY + ", it doesn't respect the following condition : worldY < -255 || worldY > 255");
            }
            subAreaId = reader.ReadVarShort();
            if (subAreaId < 0)
            {
                throw new Exception("Forbidden value on subAreaId = " + subAreaId + ", it doesn't respect the following condition : subAreaId < 0");
            }
            state = reader.ReadSByte();
            if (state < 0)
            {
                throw new Exception("Forbidden value on state = " + state + ", it doesn't respect the following condition : state < 0");
            }
            look = new Types.EntityLook();
            look.Deserialize(reader);
            var limit        = reader.ReadUShort();
            var complements_ = new Types.TaxCollectorComplementaryInformations[limit];

            for (int i = 0; i < limit; i++)
            {
                complements_[i] = Types.ProtocolTypeManager.GetInstance <Types.TaxCollectorComplementaryInformations>(reader.ReadShort());
                complements_[i].Deserialize(reader);
            }
            complements = complements_;
        }
        public virtual void Deserialize(IDataReader reader)
        {
            spawnInformation = ProtocolTypeManager.GetInstance <Types.SpawnInformation>(reader.ReadUShort());
            spawnInformation.Deserialize(reader);
            wave = reader.ReadSbyte();
            look = new Types.EntityLook();
            look.Deserialize(reader);
            stats = ProtocolTypeManager.GetInstance <Types.GameFightMinimalStats>(reader.ReadUShort());
            stats.Deserialize(reader);
            var limit = (ushort)reader.ReadUShort();

            summons = new Types.GameContextBasicSpawnInformation[limit];
            for (int i = 0; i < limit; i++)
            {
                summons[i] = ProtocolTypeManager.GetInstance <Types.GameContextBasicSpawnInformation>(reader.ReadUShort());
                summons[i].Deserialize(reader);
            }
        }
 public virtual void Deserialize(IDataReader reader)
 {
     var limit = reader.ReadUShort();
     followingCharactersLook = new Types.EntityLook[limit];
     for (int i = 0; i < limit; i++)
     {
          followingCharactersLook[i] = new Types.EntityLook();
          followingCharactersLook[i].Deserialize(reader);
     }
     emoteId = reader.ReadSByte();
     emoteStartTime = reader.ReadDouble();
     restrictions = new Types.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");
     titleParam = reader.ReadUTF();
 }
        public virtual void Deserialize(IDataReader reader)
        {
            guestId   = reader.ReadVarUhLong();
            hostId    = reader.ReadVarUhLong();
            name      = reader.ReadUTF();
            guestLook = new Types.EntityLook();
            guestLook.Deserialize(reader);
            breed  = reader.ReadSbyte();
            sex    = reader.ReadBoolean();
            status = ProtocolTypeManager.GetInstance <Types.PlayerStatus>(reader.ReadUShort());
            status.Deserialize(reader);
            var limit = (ushort)reader.ReadUShort();

            entities = new Types.PartyEntityBaseInformation[limit];
            for (int i = 0; i < limit; i++)
            {
                entities[i] = new Types.PartyEntityBaseInformation();
                entities[i].Deserialize(reader);
            }
        }
 public virtual void Deserialize(BigEndianReader reader)
 {
     guestId = reader.ReadInt();
     if (guestId < 0)
     {
         throw new Exception("Forbidden value on guestId = " + guestId + ", it doesn't respect the following condition : guestId < 0");
     }
     hostId = reader.ReadInt();
     if (hostId < 0)
     {
         throw new Exception("Forbidden value on hostId = " + hostId + ", it doesn't respect the following condition : hostId < 0");
     }
     name      = reader.ReadUTF();
     guestLook = new Types.EntityLook();
     guestLook.Deserialize(reader);
     breed  = reader.ReadSByte();
     sex    = reader.ReadBoolean();
     status = Types.ProtocolTypeManager.GetInstance <Types.PlayerStatus>(reader.ReadShort());
     status.Deserialize(reader);
 }
 public virtual void Deserialize(BigEndianReader reader)
 {
     spouseAccountId = reader.ReadInt();
     if (spouseAccountId < 0)
         throw new Exception("Forbidden value on spouseAccountId = " + spouseAccountId + ", it doesn't respect the following condition : spouseAccountId < 0");
     spouseId = reader.ReadVarInt();
     if (spouseId < 0)
         throw new Exception("Forbidden value on spouseId = " + spouseId + ", it doesn't respect the following condition : spouseId < 0");
     spouseName = reader.ReadUTF();
     spouseLevel = reader.ReadByte();
     if (spouseLevel < 1 || spouseLevel > 200)
         throw new Exception("Forbidden value on spouseLevel = " + spouseLevel + ", it doesn't respect the following condition : spouseLevel < 1 || spouseLevel > 200");
     breed = reader.ReadSByte();
     sex = reader.ReadSByte();
     spouseEntityLook = new Types.EntityLook();
     spouseEntityLook.Deserialize(reader);
     guildInfo = new Types.BasicGuildInformations();
     guildInfo.Deserialize(reader);
     alignmentSide = reader.ReadSByte();
 }
        public virtual void Deserialize(IReader reader)
        {
            guestId   = reader.ReadVarUhLong();
            hostId    = reader.ReadVarUhLong();
            name      = reader.ReadUTF();
            guestLook = new Types.EntityLook();
            guestLook.Deserialize(reader);
            breed  = reader.ReadSByte();
            sex    = reader.ReadBoolean();
            status = ProtocolTypeManager.GetInstance <Types.PlayerStatus>(reader.ReadUShort());
            status.Deserialize(reader);
            var limit = reader.ReadUShort();

            companions = new Types.PartyCompanionBaseInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                (companions as Types.PartyCompanionBaseInformations[])[i] = new Types.PartyCompanionBaseInformations();
                (companions as Types.PartyCompanionBaseInformations[])[i].Deserialize(reader);
            }
        }
        public virtual void Deserialize(IDataReader reader)
        {
            var limit = reader.ReadUShort();

            followingCharactersLook = new Types.EntityLook[limit];
            for (int i = 0; i < limit; i++)
            {
                followingCharactersLook[i] = new Types.EntityLook();
                followingCharactersLook[i].Deserialize(reader);
            }
            emoteId        = reader.ReadSByte();
            emoteStartTime = reader.ReadDouble();
            restrictions   = new Types.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");
            }
            titleParam = reader.ReadUTF();
        }
Beispiel #29
0
 public virtual void Deserialize(IDataReader reader)
 {
     spouseId = reader.ReadInt();
     if (spouseId < 0)
     {
         throw new Exception("Forbidden value on spouseId = " + spouseId + ", it doesn't respect the following condition : spouseId < 0");
     }
     spouseName  = reader.ReadUTF();
     spouseLevel = reader.ReadByte();
     if (spouseLevel < 1 || spouseLevel > 200)
     {
         throw new Exception("Forbidden value on spouseLevel = " + spouseLevel + ", it doesn't respect the following condition : spouseLevel < 1 || spouseLevel > 200");
     }
     breed            = reader.ReadSByte();
     sex              = reader.ReadSByte();
     spouseEntityLook = new Types.EntityLook();
     spouseEntityLook.Deserialize(reader);
     guildInfo = new Types.BasicGuildInformations();
     guildInfo.Deserialize(reader);
     alignmentSide = reader.ReadSByte();
 }
        public virtual void Deserialize(IDataReader reader)
        {
            uniqueId        = reader.ReadDouble();
            firtNameId      = reader.ReadVarUhShort();
            lastNameId      = reader.ReadVarUhShort();
            additionalInfos = new Types.AdditionalTaxCollectorInformations();
            additionalInfos.Deserialize(reader);
            worldX    = reader.ReadShort();
            worldY    = reader.ReadShort();
            subAreaId = reader.ReadVarUhShort();
            state     = reader.ReadSbyte();
            look      = new Types.EntityLook();
            look.Deserialize(reader);
            var limit = (ushort)reader.ReadUShort();

            complements = new Types.TaxCollectorComplementaryInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                complements[i] = ProtocolTypeManager.GetInstance <Types.TaxCollectorComplementaryInformations>(reader.ReadUShort());
                complements[i].Deserialize(reader);
            }
        }
 public virtual void Deserialize(ICustomDataInput reader)
 {
     guestId = reader.ReadInt();
     if (guestId < 0)
         throw new Exception("Forbidden value on guestId = " + guestId + ", it doesn't respect the following condition : guestId < 0");
     hostId = reader.ReadInt();
     if (hostId < 0)
         throw new Exception("Forbidden value on hostId = " + hostId + ", it doesn't respect the following condition : hostId < 0");
     name = reader.ReadUTF();
     guestLook = new Types.EntityLook();
     guestLook.Deserialize(reader);
     breed = reader.ReadSByte();
     sex = reader.ReadBoolean();
     status = Types.ProtocolTypeManager.GetInstance<Types.PlayerStatus>(reader.ReadShort());
     status.Deserialize(reader);
     var limit = reader.ReadUShort();
     companions = new Types.PartyCompanionBaseInformations[limit];
     for (int i = 0; i < limit; i++)
     {
          (companions as Types.PartyCompanionBaseInformations[])[i] = new Types.PartyCompanionBaseInformations();
          (companions as Types.PartyCompanionBaseInformations[])[i].Deserialize(reader);
     }
 }
 public GameRolePlayGroupMonsterWaveInformations(double contextualId, Types.EntityDispositionInformations disposition, Types.EntityLook look, bool keyRingBonus, bool hasHardcoreDrop, bool hasAVARewardToken, Types.GroupMonsterStaticInformations staticInfos, sbyte lootShare, sbyte alignmentSide, sbyte nbWaves, Types.GroupMonsterStaticInformations[] alternatives)
     : base(contextualId, disposition, look, keyRingBonus, hasHardcoreDrop, hasAVARewardToken, staticInfos, lootShare, alignmentSide)
 {
     this.nbWaves      = nbWaves;
     this.alternatives = alternatives;
 }
Beispiel #33
0
 public GameContextActorInformations(int contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition)
 {
     this.contextualId = contextualId;
     this.look         = look;
     this.disposition  = disposition;
 }
Beispiel #34
0
 public CharacterBaseInformations(ulong id, string name, byte level, Types.EntityLook entityLook, sbyte breed, bool sex)
     : base(id, name, level, entityLook)
 {
     this.breed = breed;
     this.sex   = sex;
 }
 public GameContextRefreshEntityLookMessage(int id, Types.EntityLook look)
 {
     this.id = id;
     this.look = look;
 }
 public GameActionFightChangeLookMessage(short actionId, int sourceId, int targetId, Types.EntityLook entityLook)
  : base(actionId, sourceId)
 {
     this.targetId = targetId;
     this.entityLook = entityLook;
 }
Beispiel #37
0
 public GameFightFighterNamedInformations(int contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, Types.GameFightMinimalStats stats, IEnumerable <ushort> previousPositions, string name, Types.PlayerStatus status)
     : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.name   = name;
     this.status = status;
 }
 public JobCrafterDirectoryEntryMessage(Types.JobCrafterDirectoryEntryPlayerInfo playerInfo, IEnumerable <Types.JobCrafterDirectoryEntryJobInfo> jobInfoList, Types.EntityLook playerLook)
 {
     this.playerInfo  = playerInfo;
     this.jobInfoList = jobInfoList;
     this.playerLook  = playerLook;
 }
 public GameContextActorInformations(int contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition)
 {
     this.contextualId = contextualId;
     this.look = look;
     this.disposition = disposition;
 }
 public GameRolePlayMountInformations(double contextualId, Types.EntityDispositionInformations disposition, Types.EntityLook look, string name, string ownerName, byte level)
     : base(contextualId, disposition, look, name)
 {
     this.ownerName = ownerName;
     this.level     = level;
 }
 public IndexedEntityLook(Types.EntityLook look, sbyte index)
 {
     this.look = look;
     this.index = index;
 }
 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     entityLook = new Types.EntityLook();
     entityLook.Deserialize(reader);
 }
 public JobCrafterDirectoryEntryMessage(Types.JobCrafterDirectoryEntryPlayerInfo playerInfo, Types.JobCrafterDirectoryEntryJobInfo[] jobInfoList, Types.EntityLook playerLook)
 {
     this.playerInfo = playerInfo;
     this.jobInfoList = jobInfoList;
     this.playerLook = playerLook;
 }
 public override void Deserialize(BigEndianReader reader)
 {
     id = reader.ReadInt();
     look = new Types.EntityLook();
     look.Deserialize(reader);
 }
 public GameRolePlayTreasureHintInformations(int contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, ushort npcId)
     : base(contextualId, look, disposition)
 {
     this.npcId = npcId;
 }
 public PartyCompanionBaseInformations(sbyte indexId, sbyte companionGenericId, Types.EntityLook entityLook)
 {
     this.indexId = indexId;
     this.companionGenericId = companionGenericId;
     this.entityLook = entityLook;
 }
 public GameFightMutantInformations(int contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, sbyte teamId, bool alive, Types.GameFightMinimalStats stats, string name, sbyte powerLevel)
     : base(contextualId, look, disposition, teamId, alive, stats, name)
 {
     this.powerLevel = powerLevel;
 }
Beispiel #48
0
 public AccessoryPreviewMessage(Types.EntityLook look)
 {
     this.look = look;
 }
Beispiel #49
0
 public GameFightMutantInformations(double contextualId, Types.EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, IEnumerable <short> previousPositions, string name, Types.PlayerStatus status, sbyte powerLevel)
     : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions, name, status)
 {
     this.powerLevel = powerLevel;
 }
Beispiel #50
0
 public void Deserialize(IDataReader reader)
 {
     look = new Types.EntityLook();
     look.Deserialize(reader);
 }
Beispiel #51
0
 public GameFightMonsterInformations(double contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, Types.GameFightMinimalStats stats, uint[] previousPositions, uint creatureGenericId, sbyte creatureGrade)
     : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.creatureGenericId = creatureGenericId;
     this.creatureGrade     = creatureGrade;
 }
 public FriendSpouseInformations(int spouseAccountId, double spouseId, string spouseName, byte spouseLevel, sbyte breed, sbyte sex, Types.EntityLook spouseEntityLook, Types.BasicGuildInformations guildInfo, sbyte 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 CharacterMinimalPlusLookInformations(int id, byte level, string name, Types.EntityLook entityLook)
     : base(id, level, name)
 {
     this.entityLook = entityLook;
 }
Beispiel #54
0
 public GameRolePlayNamedActorInformations(double contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, string name)
     : base(contextualId, look, disposition)
 {
     this.name = name;
 }
 public MonsterInGroupInformations(int creatureGenericId, sbyte grade, Types.EntityLook look)
     : base(creatureGenericId, grade)
 {
     this.look = look;
 }
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     look = new Types.EntityLook();
     look.Deserialize(reader);
 }
 public GameRolePlayNpcWithQuestInformations(int contextualId, Types.EntityLook look, Types.EntityDispositionInformations disposition, short npcId, bool sex, short specialArtworkId, Types.GameRolePlayNpcQuestFlag questFlag)
     : base(contextualId, look, disposition, npcId, sex, specialArtworkId)
 {
     this.questFlag = questFlag;
 }
Beispiel #58
0
 public SubEntity(sbyte bindingPointCategory, sbyte bindingPointIndex, Types.EntityLook subEntityLook)
 {
     this.bindingPointCategory = bindingPointCategory;
     this.bindingPointIndex = bindingPointIndex;
     this.subEntityLook = subEntityLook;
 }
Beispiel #59
0
 public PartyMemberArenaInformations(double id, string name, byte level, Types.EntityLook entityLook, byte breed, bool sex, uint lifePoints, uint maxLifePoints, uint prospecting, byte regenRate, uint initiative, sbyte alignmentSide, short worldX, short worldY, int mapId, uint subAreaId, Types.PlayerStatus status, Types.PartyCompanionMemberInformations[] companions, uint rank)
     : base(id, name, level, entityLook, breed, sex, lifePoints, maxLifePoints, prospecting, regenRate, initiative, alignmentSide, worldX, worldY, mapId, subAreaId, status, companions)
 {
     this.rank = rank;
 }
 public virtual void Deserialize(IDataReader reader)
 {
     uniqueId = reader.ReadInt();
     firtNameId = reader.ReadShort();
     if ( firtNameId < 0 )
     {
         throw new Exception("Forbidden value on firtNameId = " + firtNameId + ", it doesn't respect the following condition : firtNameId < 0");
     }
     lastNameId = reader.ReadShort();
     if ( lastNameId < 0 )
     {
         throw new Exception("Forbidden value on lastNameId = " + lastNameId + ", it doesn't respect the following condition : lastNameId < 0");
     }
     additionalInfos = new Types.AdditionalTaxCollectorInformations();
     additionalInfos.Deserialize(reader);
     worldX = reader.ReadShort();
     if ( worldX < -255 || worldX > 255 )
     {
         throw new Exception("Forbidden value on worldX = " + worldX + ", it doesn't respect the following condition : worldX < -255 || worldX > 255");
     }
     worldY = reader.ReadShort();
     if ( worldY < -255 || worldY > 255 )
     {
         throw new Exception("Forbidden value on worldY = " + worldY + ", it doesn't respect the following condition : worldY < -255 || worldY > 255");
     }
     subAreaId = reader.ReadShort();
     if ( subAreaId < 0 )
     {
         throw new Exception("Forbidden value on subAreaId = " + subAreaId + ", it doesn't respect the following condition : subAreaId < 0");
     }
     state = reader.ReadSByte();
     look = new Types.EntityLook();
     look.Deserialize(reader);
     kamas = reader.ReadInt();
     if ( kamas < 0 )
     {
         throw new Exception("Forbidden value on kamas = " + kamas + ", it doesn't respect the following condition : kamas < 0");
     }
     experience = reader.ReadDouble();
     if ( experience < 0 )
     {
         throw new Exception("Forbidden value on experience = " + experience + ", it doesn't respect the following condition : experience < 0");
     }
     pods = reader.ReadInt();
     if ( pods < 0 )
     {
         throw new Exception("Forbidden value on pods = " + pods + ", it doesn't respect the following condition : pods < 0");
     }
     itemsValue = reader.ReadInt();
     if ( itemsValue < 0 )
     {
         throw new Exception("Forbidden value on itemsValue = " + itemsValue + ", it doesn't respect the following condition : itemsValue < 0");
     }
 }