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


C# BigEndianWriter.WriteDouble方法代码示例

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


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

示例1: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(FightId);
     writer.WriteUShort((ushort) PlayerInfo.Length);
     foreach (var entry in PlayerInfo)
     {
         entry.Serialize(writer);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:9,代码来源:GuildFightPlayersEnemiesListMessage.cs

示例2: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(FightId);
     writer.WriteUShort((ushort) CharactersDescription.Length);
     foreach (var entry in CharactersDescription)
     {
         entry.Serialize(writer);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:9,代码来源:PrismFightAttackerAddMessage.cs

示例3: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(RideId);
     writer.WriteUShort((ushort) BoostToUpdateList.Length);
     foreach (var entry in BoostToUpdateList)
     {
         writer.WriteShort(entry.TypeId);
         entry.Serialize(writer);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:10,代码来源:UpdateMountBoostMessage.cs

示例4: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(FightId);
     writer.WriteInt(FighterToRemoveId);
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:PrismFightAttackerRemoveMessage.cs

示例5: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(ExperienceCharacter);
     writer.WriteDouble(ExperienceMount);
     writer.WriteDouble(ExperienceGuild);
     writer.WriteDouble(ExperienceIncarnation);
 }
开发者ID:Riul,项目名称:emulator,代码行数:7,代码来源:CharacterExperienceGainMessage.cs

示例6: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteUTF(CollectorName);
     writer.WriteShort(WorldX);
     writer.WriteShort(WorldY);
     writer.WriteInt(MapId);
     writer.WriteShort(SubAreaId);
     writer.WriteUTF(UserName);
     writer.WriteDouble(Experience);
     writer.WriteUShort((ushort) ObjectsInfos.Length);
     foreach (var entry in ObjectsInfos)
     {
         entry.Serialize(writer);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:15,代码来源:ExchangeGuildTaxCollectorGetMessage.cs

示例7: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, Sex);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, IsRideable);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 2, IsWild);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 3, IsFecondationReady);
     writer.WriteByte(flag1);
     writer.WriteDouble(Id);
     writer.WriteInt(Model);
     writer.WriteUShort((ushort) Ancestor.Length);
     foreach (var entry in Ancestor)
     {
         writer.WriteInt(entry);
     }
     writer.WriteUShort((ushort) Behaviors.Length);
     foreach (var entry in Behaviors)
     {
         writer.WriteInt(entry);
     }
     writer.WriteUTF(Name);
     writer.WriteInt(OwnerId);
     writer.WriteDouble(Experience);
     writer.WriteDouble(ExperienceForLevel);
     writer.WriteDouble(ExperienceForNextLevel);
     writer.WriteSByte(Level);
     writer.WriteInt(MaxPods);
     writer.WriteInt(Stamina);
     writer.WriteInt(StaminaMax);
     writer.WriteInt(Maturity);
     writer.WriteInt(MaturityForAdult);
     writer.WriteInt(Energy);
     writer.WriteInt(EnergyMax);
     writer.WriteInt(Serenity);
     writer.WriteInt(AggressivityMax);
     writer.WriteInt(SerenityMax);
     writer.WriteInt(Love);
     writer.WriteInt(LoveMax);
     writer.WriteInt(FecondationTime);
     writer.WriteInt(BoostLimiter);
     writer.WriteDouble(BoostMax);
     writer.WriteInt(ReproductionCount);
     writer.WriteInt(ReproductionCountMax);
     writer.WriteUShort((ushort) EffectList.Length);
     foreach (var entry in EffectList)
     {
         entry.Serialize(writer);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:49,代码来源:MountClientData.cs

示例8: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, Enabled);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, AbandonnedPaddock);
     writer.WriteByte(flag1);
     writer.WriteByte(Level);
     writer.WriteDouble(ExpLevelFloor);
     writer.WriteDouble(Experience);
     writer.WriteDouble(ExpNextLevelFloor);
     writer.WriteInt(CreationDate);
 }
开发者ID:Riul,项目名称:emulator,代码行数:12,代码来源:GuildInformationsGeneralMessage.cs

示例9: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteSByte(JobId);
     writer.WriteSByte(JobLevel);
     writer.WriteDouble(JobXP);
     writer.WriteDouble(JobXpLevelFloor);
     writer.WriteDouble(JobXpNextLevelFloor);
 }
开发者ID:Riul,项目名称:emulator,代码行数:8,代码来源:JobExperience.cs

示例10: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(FightId);
     writer.WriteUShort((ushort) MainFighters.Length);
     foreach (var entry in MainFighters)
     {
         entry.Serialize(writer);
     }
     writer.WriteUShort((ushort) ReserveFighters.Length);
     foreach (var entry in ReserveFighters)
     {
         entry.Serialize(writer);
     }
 }
开发者ID:Riul,项目名称:emulator,代码行数:14,代码来源:PrismFightDefendersStateMessage.cs

示例11: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(FightId);
     PlayerInfo.Serialize(writer);
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:GuildFightPlayersHelpersJoinMessage.cs

示例12: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(Id);
     writer.WriteDouble(Time);
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:MountInformationRequestMessage.cs

示例13: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(MaxPods);
     writer.WriteShort(Prospecting);
     writer.WriteShort(Wisdom);
     writer.WriteSByte(TaxCollectorsCount);
     writer.WriteInt(TaxCollectorAttack);
     writer.WriteInt(Kamas);
     writer.WriteDouble(Experience);
     writer.WriteInt(Pods);
     writer.WriteInt(ItemsValue);
 }
开发者ID:Riul,项目名称:emulator,代码行数:13,代码来源:TaxCollectorDialogQuestionExtendedMessage.cs

示例14: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteSByte(EmoteId);
     writer.WriteDouble(EmoteStartTime);
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:EmotePlayAbstractMessage.cs

示例15: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(Pctbonus);
     writer.WriteDouble(Grademult);
 }
开发者ID:Riul,项目名称:emulator,代码行数:5,代码来源:AlignmentBonusInformations.cs


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