当前位置: 首页>>代码示例>>C#>>正文


C# BigEndianReader.ReadDouble方法代码示例

本文整理汇总了C#中Emulator.Common.IO.BigEndianReader.ReadDouble方法的典型用法代码示例。如果您正苦于以下问题:C# BigEndianReader.ReadDouble方法的具体用法?C# BigEndianReader.ReadDouble怎么用?C# BigEndianReader.ReadDouble使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Emulator.Common.IO.BigEndianReader的用法示例。


在下文中一共展示了BigEndianReader.ReadDouble方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     ExperienceCharacter = reader.ReadDouble();
     ExperienceMount = reader.ReadDouble();
     ExperienceGuild = reader.ReadDouble();
     ExperienceIncarnation = reader.ReadDouble();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:CharacterExperienceGainMessage.cs

示例2: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     MountId = reader.ReadInt();
     Date = reader.ReadDouble();
     ModelId = reader.ReadShort();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:ObjectEffectMount.cs

示例3: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     MountUid = reader.ReadDouble();
     MountLocation = reader.ReadSByte();
     MountFoodUid = reader.ReadInt();
     Quantity = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:MountFeedRequestMessage.cs

示例4: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     FighterMovementInformations = new CharacterMinimalPlusLookAndGradeInformations();
     FighterMovementInformations.Deserialize(reader);
     InMain = reader.ReadBoolean();
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:PrismFightDefenderAddMessage.cs

示例5: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     var limit = reader.ReadUShort();
     CharactersDescription = new CharacterMinimalPlusLookAndGradeInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         CharactersDescription[i] = new CharacterMinimalPlusLookAndGradeInformations();
         CharactersDescription[i].Deserialize(reader);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:11,代码来源:PrismFightAttackerAddMessage.cs

示例6: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     var limit = reader.ReadUShort();
     PlayerInfo = new CharacterMinimalPlusLookInformations[limit];
     for (int i = 0; i < limit; i++)
     {
         PlayerInfo[i] = new CharacterMinimalPlusLookInformations();
         PlayerInfo[i].Deserialize(reader);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:11,代码来源:GuildFightPlayersEnemiesListMessage.cs

示例7: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     RideId = reader.ReadDouble();
     var limit = reader.ReadUShort();
     BoostToUpdateList = new UpdateMountBoost[limit];
     for (int i = 0; i < limit; i++)
     {
         BoostToUpdateList[i] = Types.ProtocolTypeManager.GetInstance<UpdateMountBoost>(reader.ReadShort());
         BoostToUpdateList[i].Deserialize(reader);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:11,代码来源:UpdateMountBoostMessage.cs

示例8: Deserialize

 public virtual void Deserialize(BigEndianReader reader)
 {
     Experience = reader.ReadDouble();
     ExperienceLevelFloor = reader.ReadDouble();
     ExperienceNextLevelFloor = reader.ReadDouble();
     Kamas = reader.ReadInt();
     StatsPoints = reader.ReadInt();
     SpellsPoints = reader.ReadInt();
     AlignmentInfos = new ActorExtendedAlignmentInformations();
     AlignmentInfos.Deserialize(reader);
     LifePoints = reader.ReadInt();
     MaxLifePoints = reader.ReadInt();
     EnergyPoints = reader.ReadShort();
     MaxEnergyPoints = reader.ReadShort();
     ActionPointsCurrent = reader.ReadShort();
     MovementPointsCurrent = reader.ReadShort();
     Initiative = new CharacterBaseCharacteristic();
     Initiative.Deserialize(reader);
     Prospecting = new CharacterBaseCharacteristic();
     Prospecting.Deserialize(reader);
     ActionPoints = new CharacterBaseCharacteristic();
     ActionPoints.Deserialize(reader);
     MovementPoints = new CharacterBaseCharacteristic();
     MovementPoints.Deserialize(reader);
     Strength = new CharacterBaseCharacteristic();
     Strength.Deserialize(reader);
     Vitality = new CharacterBaseCharacteristic();
     Vitality.Deserialize(reader);
     Wisdom = new CharacterBaseCharacteristic();
     Wisdom.Deserialize(reader);
     Chance = new CharacterBaseCharacteristic();
     Chance.Deserialize(reader);
     Agility = new CharacterBaseCharacteristic();
     Agility.Deserialize(reader);
     Intelligence = new CharacterBaseCharacteristic();
     Intelligence.Deserialize(reader);
     Range = new CharacterBaseCharacteristic();
     Range.Deserialize(reader);
     SummonableCreaturesBoost = new CharacterBaseCharacteristic();
     SummonableCreaturesBoost.Deserialize(reader);
     Reflect = new CharacterBaseCharacteristic();
     Reflect.Deserialize(reader);
     CriticalHit = new CharacterBaseCharacteristic();
     CriticalHit.Deserialize(reader);
     CriticalHitWeapon = reader.ReadShort();
     CriticalMiss = new CharacterBaseCharacteristic();
     CriticalMiss.Deserialize(reader);
     HealBonus = new CharacterBaseCharacteristic();
     HealBonus.Deserialize(reader);
     AllDamagesBonus = new CharacterBaseCharacteristic();
     AllDamagesBonus.Deserialize(reader);
     WeaponDamagesBonusPercent = new CharacterBaseCharacteristic();
     WeaponDamagesBonusPercent.Deserialize(reader);
     DamagesBonusPercent = new CharacterBaseCharacteristic();
     DamagesBonusPercent.Deserialize(reader);
     TrapBonus = new CharacterBaseCharacteristic();
     TrapBonus.Deserialize(reader);
     TrapBonusPercent = new CharacterBaseCharacteristic();
     TrapBonusPercent.Deserialize(reader);
     PermanentDamagePercent = new CharacterBaseCharacteristic();
     PermanentDamagePercent.Deserialize(reader);
     TackleBlock = new CharacterBaseCharacteristic();
     TackleBlock.Deserialize(reader);
     TackleEvade = new CharacterBaseCharacteristic();
     TackleEvade.Deserialize(reader);
     PAAttack = new CharacterBaseCharacteristic();
     PAAttack.Deserialize(reader);
     PMAttack = new CharacterBaseCharacteristic();
     PMAttack.Deserialize(reader);
     PushDamageBonus = new CharacterBaseCharacteristic();
     PushDamageBonus.Deserialize(reader);
     CriticalDamageBonus = new CharacterBaseCharacteristic();
     CriticalDamageBonus.Deserialize(reader);
     NeutralDamageBonus = new CharacterBaseCharacteristic();
     NeutralDamageBonus.Deserialize(reader);
     EarthDamageBonus = new CharacterBaseCharacteristic();
     EarthDamageBonus.Deserialize(reader);
     WaterDamageBonus = new CharacterBaseCharacteristic();
     WaterDamageBonus.Deserialize(reader);
     AirDamageBonus = new CharacterBaseCharacteristic();
     AirDamageBonus.Deserialize(reader);
     FireDamageBonus = new CharacterBaseCharacteristic();
     FireDamageBonus.Deserialize(reader);
     DodgePALostProbability = new CharacterBaseCharacteristic();
     DodgePALostProbability.Deserialize(reader);
     DodgePMLostProbability = new CharacterBaseCharacteristic();
     DodgePMLostProbability.Deserialize(reader);
     NeutralElementResistPercent = new CharacterBaseCharacteristic();
     NeutralElementResistPercent.Deserialize(reader);
     EarthElementResistPercent = new CharacterBaseCharacteristic();
     EarthElementResistPercent.Deserialize(reader);
     WaterElementResistPercent = new CharacterBaseCharacteristic();
     WaterElementResistPercent.Deserialize(reader);
     AirElementResistPercent = new CharacterBaseCharacteristic();
     AirElementResistPercent.Deserialize(reader);
     FireElementResistPercent = new CharacterBaseCharacteristic();
     FireElementResistPercent.Deserialize(reader);
     NeutralElementReduction = new CharacterBaseCharacteristic();
     NeutralElementReduction.Deserialize(reader);
     EarthElementReduction = new CharacterBaseCharacteristic();
//.........这里部分代码省略.........
开发者ID:Riul,项目名称:emulator,代码行数:101,代码来源:CharacterCharacteristicsInformations.cs

示例9: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     FightId = reader.ReadDouble();
     FighterToRemoveId = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:PrismFightAttackerRemoveMessage.cs

示例10: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     CollectorName = reader.ReadUTF();
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
     MapId = reader.ReadInt();
     SubAreaId = reader.ReadShort();
     UserName = reader.ReadUTF();
     Experience = reader.ReadDouble();
     var limit = reader.ReadUShort();
     ObjectsInfos = new ObjectItemQuantity[limit];
     for (int i = 0; i < limit; i++)
     {
         ObjectsInfos[i] = new ObjectItemQuantity();
         ObjectsInfos[i].Deserialize(reader);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:17,代码来源:ExchangeGuildTaxCollectorGetMessage.cs

示例11: Deserialize

 public virtual void Deserialize(BigEndianReader reader)
 {
     UniqueId = reader.ReadInt();
     FirtNameId = reader.ReadShort();
     LastNameId = reader.ReadShort();
     AdditionalInfos = new AdditionalTaxCollectorInformations();
     AdditionalInfos.Deserialize(reader);
     WorldX = reader.ReadShort();
     WorldY = reader.ReadShort();
     SubAreaId = reader.ReadShort();
     State = reader.ReadSByte();
     Look = new EntityLook();
     Look.Deserialize(reader);
     Kamas = reader.ReadInt();
     Experience = reader.ReadDouble();
     Pods = reader.ReadInt();
     ItemsValue = reader.ReadInt();
 }
开发者ID:Riul,项目名称:emulator,代码行数:18,代码来源:TaxCollectorInformations.cs

示例12: Deserialize

 public virtual void Deserialize(BigEndianReader reader)
 {
     Pctbonus = reader.ReadInt();
     Grademult = reader.ReadDouble();
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:AlignmentBonusInformations.cs

示例13: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     Id = reader.ReadDouble();
     Time = reader.ReadDouble();
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:MountInformationRequestMessage.cs

示例14: Deserialize

 public override void Deserialize(BigEndianReader reader)
 {
     base.Deserialize(reader);
     Breed = reader.ReadSByte();
     Sex = reader.ReadBoolean();
     Rank = reader.ReadShort();
     GivenExperience = reader.ReadDouble();
     ExperienceGivenPercent = reader.ReadSByte();
     Rights = reader.ReadUInt();
     Connected = reader.ReadSByte();
     AlignmentSide = reader.ReadSByte();
     HoursSinceLastConnection = reader.ReadUShort();
     MoodSmileyId = reader.ReadSByte();
     AccountId = reader.ReadInt();
     AchievementPoints = reader.ReadInt();
     Status = Types.ProtocolTypeManager.GetInstance<PlayerStatus>(reader.ReadShort());
     Status.Deserialize(reader);
 }
开发者ID:Riul,项目名称:emulator,代码行数:18,代码来源:GuildMember.cs

示例15: Deserialize

 public virtual void Deserialize(BigEndianReader reader)
 {
     Id = reader.ReadUShort();
     Status = reader.ReadSByte();
     Completion = reader.ReadSByte();
     IsSelectable = reader.ReadBoolean();
     CharactersCount = reader.ReadSByte();
     Date = reader.ReadDouble();
 }
开发者ID:Riul,项目名称:emulator,代码行数:9,代码来源:GameServerInformations.cs


注:本文中的Emulator.Common.IO.BigEndianReader.ReadDouble方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。