コード例 #1
0
        public virtual void Deserialize(IDataReader reader)
        {
            this.guestId   = reader.ReadVarUhLong();
            this.hostId    = reader.ReadVarUhLong();
            this.name      = reader.ReadUTF();
            this.guestLook = new EntityLook();
            this.guestLook.Deserialize(reader);
            this.breed  = reader.ReadSByte();
            this.sex    = reader.ReadBoolean();
            this.status = ProtocolTypeManager.GetInstance <PlayerStatus>(reader.ReadUShort());
            this.status.Deserialize(reader);
            ushort num = reader.ReadUShort();

            this.companions = new PartyCompanionBaseInformations[num];
            for (int i = 0; i < num; i++)
            {
                this.companions[i] = new PartyCompanionBaseInformations();
                this.companions[i].Deserialize(reader);
            }
        }
コード例 #2
0
        public virtual void Deserialize(IDataReader reader)
        {
            this.uniqueId        = reader.ReadInt();
            this.firtNameId      = reader.ReadVarUhShort();
            this.lastNameId      = reader.ReadVarUhShort();
            this.additionalInfos = new AdditionalTaxCollectorInformations();
            this.additionalInfos.Deserialize(reader);
            this.worldX    = reader.ReadShort();
            this.worldY    = reader.ReadShort();
            this.subAreaId = reader.ReadVarUhShort();
            this.state     = reader.ReadSByte();
            this.look      = new EntityLook();
            this.look.Deserialize(reader);
            ushort num = reader.ReadUShort();

            this.complements = new TaxCollectorComplementaryInformations[num];
            for (int i = 0; i < num; i++)
            {
                this.complements[i] = ProtocolTypeManager.GetInstance <TaxCollectorComplementaryInformations>(reader.ReadUShort());
                this.complements[i].Deserialize(reader);
            }
        }
コード例 #3
0
 public GameRolePlayNpcInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, uint npcId, bool sex, uint specialArtworkId) : base(contextualId, look, disposition)
 {
     this.npcId            = npcId;
     this.sex              = sex;
     this.specialArtworkId = specialArtworkId;
 }
コード例 #4
0
 public GameFightTaxCollectorInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, uint firstNameId, uint lastNameId, byte level) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.firstNameId = firstNameId;
     this.lastNameId  = lastNameId;
     this.level       = level;
 }
コード例 #5
0
ファイル: SubEntity.cs プロジェクト: mangaMag/LastEmu
 public SubEntity(sbyte bindingPointCategory, sbyte bindingPointIndex, EntityLook subEntityLook)
 {
     this.bindingPointCategory = bindingPointCategory;
     this.bindingPointIndex    = bindingPointIndex;
     this.subEntityLook        = subEntityLook;
 }
コード例 #6
0
 public GameRolePlayNpcWithQuestInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, uint npcId, bool sex, uint specialArtworkId, GameRolePlayNpcQuestFlag questFlag) : base(contextualId, look, disposition, npcId, sex, specialArtworkId)
 {
     this.questFlag = questFlag;
 }
コード例 #7
0
 public GameRolePlayNamedActorInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, string name) : base(contextualId, look, disposition)
 {
     this.name = name;
 }
コード例 #8
0
ファイル: IndexedEntityLook.cs プロジェクト: mangaMag/LastEmu
 public virtual void Deserialize(IDataReader reader)
 {
     this.look = new EntityLook();
     this.look.Deserialize(reader);
     this.index = reader.ReadSByte();
 }
コード例 #9
0
 public CharacterMinimalGuildInformations(double id, string name, byte level, EntityLook entityLook, BasicGuildInformations guild) : base(id, name, level, entityLook)
 {
     this.guild = guild;
 }
コード例 #10
0
 public GameRolePlayMutantInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, string name, HumanInformations humanoidInfo, int accountId, uint monsterId, sbyte powerLevel) : base(contextualId, look, disposition, name, humanoidInfo, accountId)
 {
     this.monsterId  = monsterId;
     this.powerLevel = powerLevel;
 }
コード例 #11
0
 public GameFightCompanionInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, sbyte companionGenericId, byte level, double masterId) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.companionGenericId = companionGenericId;
     this.level    = level;
     this.masterId = masterId;
 }
コード例 #12
0
 public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     this.entityLook = new EntityLook();
     this.entityLook.Deserialize(reader);
 }
コード例 #13
0
 public CharacterMinimalPlusLookInformations(double id, string name, byte level, EntityLook entityLook) : base(id, name, level)
 {
     this.entityLook = entityLook;
 }
コード例 #14
0
 public GameRolePlayCharacterInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, string name, HumanInformations humanoidInfo, int accountId, ActorAlignmentInformations alignmentInfos) : base(contextualId, look, disposition, name, humanoidInfo, accountId)
 {
     this.alignmentInfos = alignmentInfos;
 }
コード例 #15
0
 public PartyCompanionBaseInformations(sbyte indexId, sbyte companionGenericId, EntityLook entityLook)
 {
     this.indexId            = indexId;
     this.companionGenericId = companionGenericId;
     this.entityLook         = entityLook;
 }
コード例 #16
0
		public FriendSpouseInformations(int spouseAccountId, double spouseId, string spouseName, byte spouseLevel, sbyte breed, sbyte sex, EntityLook spouseEntityLook, GuildInformations 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;
		}
コード例 #17
0
ファイル: IndexedEntityLook.cs プロジェクト: mangaMag/LastEmu
 public IndexedEntityLook(EntityLook look, sbyte index)
 {
     this.look  = look;
     this.index = index;
 }
コード例 #18
0
 public PartyMemberArenaInformations(double id, string name, byte level, EntityLook entityLook, sbyte breed, bool sex, uint lifePoints, uint maxLifePoints, uint prospecting, byte regenRate, uint initiative, sbyte alignmentSide, short worldX, short worldY, int mapId, uint subAreaId, PlayerStatus status, 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;
 }
コード例 #19
0
 public GameFightMonsterInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions, uint creatureGenericId, sbyte creatureGrade) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
     this.creatureGenericId = creatureGenericId;
     this.creatureGrade     = creatureGrade;
 }
コード例 #20
0
 public GameRolePlayTreasureHintInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, uint npcId) : base(contextualId, look, disposition)
 {
     this.npcId = npcId;
 }
コード例 #21
0
 public TaxCollectorInformations(int uniqueId, uint firtNameId, uint lastNameId, AdditionalTaxCollectorInformations additionalInfos, short worldX, short worldY, uint subAreaId, sbyte state, EntityLook look, 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;
 }
コード例 #22
0
 public GameRolePlayMountInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, string name, string ownerName, byte level) : base(contextualId, look, disposition, name)
 {
     this.ownerName = ownerName;
     this.level     = level;
 }
コード例 #23
0
 public GameFightAIInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, sbyte teamId, sbyte wave, bool alive, GameFightMinimalStats stats, uint[] previousPositions) : base(contextualId, look, disposition, teamId, wave, alive, stats, previousPositions)
 {
 }
コード例 #24
0
 public CharacterBaseInformations(double id, string name, byte level, EntityLook entityLook, sbyte breed, bool sex) : base(id, name, level, entityLook)
 {
     this.breed = breed;
     this.sex   = sex;
 }
コード例 #25
0
 public PartyCompanionMemberInformations(sbyte indexId, sbyte companionGenericId, EntityLook entityLook, uint initiative, uint lifePoints, uint maxLifePoints, uint prospecting, byte regenRate) : base(indexId, companionGenericId, entityLook)
 {
     this.initiative    = initiative;
     this.lifePoints    = lifePoints;
     this.maxLifePoints = maxLifePoints;
     this.prospecting   = prospecting;
     this.regenRate     = regenRate;
 }
コード例 #26
0
 public GameRolePlayGroupMonsterWaveInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, bool keyRingBonus, bool hasHardcoreDrop, bool hasAVARewardToken, GroupMonsterStaticInformations staticInfos, double creationTime, int ageBonusRate, sbyte lootShare, sbyte alignmentSide, sbyte nbWaves, GroupMonsterStaticInformations[] alternatives) : base(contextualId, look, disposition, keyRingBonus, hasHardcoreDrop, hasAVARewardToken, staticInfos, creationTime, ageBonusRate, lootShare, alignmentSide)
 {
     this.nbWaves      = nbWaves;
     this.alternatives = alternatives;
 }
コード例 #27
0
 public GameRolePlayPortalInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, PortalInformation portal) : base(contextualId, look, disposition)
 {
     this.portal = portal;
 }
コード例 #28
0
 public GameRolePlayActorInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition) : base(contextualId, look, disposition)
 {
 }
コード例 #29
0
 public GameContextActorInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition)
 {
     this.contextualId = contextualId;
     this.look         = look;
     this.disposition  = disposition;
 }
コード例 #30
0
 public GameRolePlayTaxCollectorInformations(double contextualId, EntityLook look, EntityDispositionInformations disposition, TaxCollectorStaticInformations identification, byte guildLevel, int taxCollectorAttack) : base(contextualId, look, disposition)
 {
     this.identification     = identification;
     this.guildLevel         = guildLevel;
     this.taxCollectorAttack = taxCollectorAttack;
 }