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


C# IDataWriter.WriteDouble方法代码示例

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


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

示例1: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(experienceCharacter);
     writer.WriteDouble(experienceMount);
     writer.WriteDouble(experienceGuild);
     writer.WriteDouble(experienceIncarnation);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:7,代码来源:CharacterExperienceGainMessage.cs

示例2: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(jobId);
     writer.WriteSByte(jobLevel);
     writer.WriteDouble(jobXP);
     writer.WriteDouble(jobXpLevelFloor);
     writer.WriteDouble(jobXpNextLevelFloor);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:8,代码来源:JobExperience.cs

示例3: Serialize

 public override void Serialize(IDataWriter 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:Guiedo,项目名称:BehaviorIsManaged,代码行数:12,代码来源:GuildInformationsGeneralMessage.cs

示例4: Serialize

 public override void Serialize(IDataWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, hasRights);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, wasAlreadyConnected);
     writer.WriteByte(flag1);
     writer.WriteUTF(login);
     writer.WriteUTF(nickname);
     writer.WriteInt(accountId);
     writer.WriteSByte(communityId);
     writer.WriteUTF(secretQuestion);
     writer.WriteDouble(subscriptionEndDate);
     writer.WriteDouble(accountCreation);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:14,代码来源:IdentificationSuccessMessage.cs

示例5: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(mountUid);
     writer.WriteSByte(mountLocation);
     writer.WriteInt(mountFoodUid);
     writer.WriteInt(quantity);
 }
开发者ID:Geraff,项目名称:BehaviorIsManaged,代码行数:7,代码来源:MountFeedRequestMessage.cs

示例6: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteInt(mountId);
     writer.WriteDouble(date);
     writer.WriteShort(modelId);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:7,代码来源:ObjectEffectMount.cs

示例7: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(fightId);
     writer.WriteUShort((ushort)playerInfo.Count());
     foreach (var entry in playerInfo)
     {
         entry.Serialize(writer);
     }
 }
开发者ID:Geraff,项目名称:BehaviorIsManaged,代码行数:9,代码来源:GuildFightPlayersEnemiesListMessage.cs

示例8: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(fightId);
     writer.WriteUShort((ushort)charactersDescription.Length);
     foreach (var entry in charactersDescription)
     {
          entry.Serialize(writer);
     }
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:9,代码来源:PrismFightAttackerAddMessage.cs

示例9: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteUShort(id);
     writer.WriteSByte(status);
     writer.WriteSByte(completion);
     writer.WriteBoolean(isSelectable);
     writer.WriteSByte(charactersCount);
     writer.WriteDouble(date);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:9,代码来源:GameServerInformations.cs

示例10: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(rideId);
     writer.WriteUShort((ushort)boostToUpdateList.Count());
     foreach (var entry in boostToUpdateList)
     {
         writer.WriteShort(entry.TypeId);
         entry.Serialize(writer);
     }
 }
开发者ID:Geraff,项目名称:BehaviorIsManaged,代码行数:10,代码来源:UpdateMountBoostMessage.cs

示例11: Serialize

 public override void Serialize(IDataWriter 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:clapette,项目名称:BehaviorIsManaged,代码行数:13,代码来源:TaxCollectorDialogQuestionExtendedMessage.cs

示例12: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteUShort((ushort)followingCharactersLook.Length);
     foreach (var entry in followingCharactersLook)
     {
          entry.Serialize(writer);
     }
     writer.WriteSByte(emoteId);
     writer.WriteDouble(emoteStartTime);
     restrictions.Serialize(writer);
     writer.WriteShort(titleId);
     writer.WriteUTF(titleParam);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:13,代码来源:HumanInformations.cs

示例13: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(fightId);
     writer.WriteUShort((ushort)mainFighters.Count());
     foreach (var entry in mainFighters)
     {
         entry.Serialize(writer);
     }
     writer.WriteUShort((ushort)reserveFighters.Count());
     foreach (var entry in reserveFighters)
     {
         entry.Serialize(writer);
     }
 }
开发者ID:Geraff,项目名称:BehaviorIsManaged,代码行数:14,代码来源:PrismFightDefendersStateMessage.cs

示例14: Serialize

 public override void Serialize(IDataWriter 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:clapette,项目名称:BehaviorIsManaged,代码行数:15,代码来源:ExchangeGuildTaxCollectorGetMessage.cs

示例15: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteDouble(fightId);
     writer.WriteInt(fighterId1);
     writer.WriteInt(fighterId2);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:6,代码来源:PrismFightDefendersSwapMessage.cs


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