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


C# BigEndianWriter.WriteDouble方法代码示例

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


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

示例1: Serialize

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

示例2: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteSByte(delayTypeId);
     writer.WriteDouble(delayEndTime);
     writer.WriteVarShort(objectGID);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:HumanOptionObjectUse.cs

示例3: Serialize

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

示例4: 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:DjTrilogic,项目名称:BlueSheep,代码行数:10,代码来源:UpdateMountBoostMessage.cs

示例5: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarLong(experience);
     writer.WriteVarLong(experienceLevelFloor);
     writer.WriteDouble(experienceNextLevelFloor);
     writer.WriteVarInt(experienceFightDelta);
     writer.WriteVarInt(experienceForGuild);
     writer.WriteVarInt(experienceForMount);
     writer.WriteSByte(rerollExperienceMul);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:11,代码来源:FightResultExperienceData.cs

示例6: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(mountId);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:4,代码来源:MountSterilizedMessage.cs

示例7: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteInt(delayedCharacterId);
     writer.WriteSByte(delayTypeId);
     writer.WriteDouble(delayEndTime);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:6,代码来源:GameRolePlayDelayedActionMessage.cs

示例8: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(emoteId);
     writer.WriteDouble(emoteStartTime);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:6,代码来源:HumanOptionEmote.cs

示例9: Serialize

 public override void Serialize(BigEndianWriter 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(accountCreation);
     writer.WriteDouble(subscriptionElapsedDuration);
     writer.WriteDouble(subscriptionEndDate);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:15,代码来源:IdentificationSuccessMessage.cs

示例10: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(timestamp);
     writer.WriteShort(timezoneOffset);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:5,代码来源:BasicTimeMessage.cs

示例11: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteDouble(id);
     writer.WriteVarInt(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.WriteVarLong(experience);
     writer.WriteVarLong(experienceForLevel);
     writer.WriteDouble(experienceForNextLevel);
     writer.WriteSByte(level);
     writer.WriteVarInt(maxPods);
     writer.WriteVarInt(stamina);
     writer.WriteVarInt(staminaMax);
     writer.WriteVarInt(maturity);
     writer.WriteVarInt(maturityForAdult);
     writer.WriteVarInt(energy);
     writer.WriteVarInt(energyMax);
     writer.WriteInt(serenity);
     writer.WriteInt(aggressivityMax);
     writer.WriteVarInt(serenityMax);
     writer.WriteVarInt(love);
     writer.WriteVarInt(loveMax);
     writer.WriteInt(fecondationTime);
     writer.WriteInt(boostLimiter);
     writer.WriteDouble(boostMax);
     writer.WriteInt(reproductionCount);
     writer.WriteVarInt(reproductionCountMax);
     writer.WriteUShort((ushort)effectList.Length);
     foreach (var entry in effectList)
     {
          entry.Serialize(writer);
     }
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:43,代码来源:MountClientData.cs

示例12: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteUShort((ushort)alliances.Length);
     foreach (var entry in alliances)
     {
          entry.Serialize(writer);
     }
     writer.WriteUShort((ushort)allianceNbMembers.Length);
     foreach (var entry in allianceNbMembers)
     {
          writer.WriteVarShort(entry);
     }
     writer.WriteUShort((ushort)allianceRoundWeigth.Length);
     foreach (var entry in allianceRoundWeigth)
     {
          writer.WriteVarInt(entry);
     }
     writer.WriteUShort((ushort)allianceMatchScore.Length);
     foreach (var entry in allianceMatchScore)
     {
          writer.WriteSByte(entry);
     }
     allianceMapWinner.Serialize(writer);
     writer.WriteVarInt(allianceMapWinnerScore);
     writer.WriteVarInt(allianceMapMyAllianceScore);
     writer.WriteDouble(nextTickTime);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:27,代码来源:KohUpdateMessage.cs

示例13: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, autoconnect);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, useCertificate);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 2, useLoginToken);
     writer.WriteByte(flag1);
     version.Serialize(writer);
     writer.WriteUTF(lang);
     writer.WriteVarInt(credentials.Length);
     foreach (var entry in credentials)
     {
          writer.WriteSByte(entry);
     }
     writer.WriteShort(serverId);
     writer.WriteDouble(sessionOptionalSalt);
     writer.WriteShort((short)this.failedAttempts.Count);
     foreach (short s in failedAttempts)
         writer.WriteShort(s);
 }
开发者ID:Sadikk,项目名称:BlueSheep,代码行数:20,代码来源:IdentificationMessage.cs

示例14: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteDouble(banEndDate);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:5,代码来源:IdentificationFailedBannedMessage.cs

示例15: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteUTF(collectorName);
     writer.WriteShort(worldX);
     writer.WriteShort(worldY);
     writer.WriteInt(mapId);
     writer.WriteVarShort(subAreaId);
     writer.WriteUTF(userName);
     writer.WriteDouble(experience);
     writer.WriteUShort((ushort)objectsInfos.Length);
     foreach (var entry in objectsInfos)
     {
          entry.Serialize(writer);
     }
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:15,代码来源:ExchangeGuildTaxCollectorGetMessage.cs


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