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


C# BigEndianWriter.WriteByte方法代码示例

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


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

示例1: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarInt(symbioteUID);
     writer.WriteByte(symbiotePos);
     writer.WriteVarInt(hostUID);
     writer.WriteByte(hostPos);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:SymbioticObjectAssociateRequestMessage.cs

示例2: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarInt(guildId);
     writer.WriteVarInt(leaderId);
     writer.WriteByte(guildLevel);
     writer.WriteByte(nbMembers);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GuildVersatileInformations.cs

示例3: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(guildLevel);
     writer.WriteByte(nbMembers);
     writer.WriteBoolean(enabled);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GuildInAllianceInformations.cs

示例4: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(level);
     guildInfo.Serialize(writer);
     writer.WriteInt(experienceForGuild);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:FightResultTaxCollectorListEntry.cs

示例5: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteSByte(deathState);
     writer.WriteVarShort(deathCount);
     writer.WriteByte(deathMaxLevel);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:CharacterHardcoreOrEpicInformations.cs

示例6: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarShort(firstNameId);
     writer.WriteVarShort(lastNameId);
     writer.WriteByte(level);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GameFightTaxCollectorInformations.cs

示例7: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarInt(leaderId);
     writer.WriteByte(guildLevel);
     writer.WriteVarShort(nbMembers);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GuildFactSheetInformations.cs

示例8: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteByte(position);
     writer.WriteInt(spellId);
     writer.WriteSByte(spellLevel);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:SpellItem.cs

示例9: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, canChangeName);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, canChangeEmblem);
     writer.WriteByte(flag1);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GuildModificationStartedMessage.cs

示例10: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteVarInt(foodUID);
     writer.WriteByte(foodPos);
     writer.WriteBoolean(preview);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:MimicryObjectFeedAndAssociateRequestMessage.cs

示例11: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteSByte(companionGenericId);
     writer.WriteByte(level);
     writer.WriteInt(masterId);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:7,代码来源:GameFightCompanionInformations.cs

示例12: Serialize

 public virtual void Serialize(BigEndianWriter writer)
 {
     writer.WriteVarInt(playerId);
     writer.WriteUTF(playerName);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
     writer.WriteByte(level);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:DungeonPartyFinderPlayer.cs

示例13: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(identification.TypeId);
     identification.Serialize(writer);
     writer.WriteByte(guildLevel);
     writer.WriteInt(taxCollectorAttack);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:GameRolePlayTaxCollectorInformations.cs

示例14: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     writer.WriteUShort((ushort)emoteIds.Length);
     foreach (var entry in emoteIds)
     {
          writer.WriteByte(entry);
     }
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:EmoteListMessage.cs

示例15: Serialize

 public override void Serialize(BigEndianWriter writer)
 {
     byte flag1 = 0;
     flag1 = BooleanByteWrapper.SetFlag(flag1, 0, success);
     flag1 = BooleanByteWrapper.SetFlag(flag1, 1, session);
     writer.WriteByte(flag1);
     writer.WriteUTF(name);
 }
开发者ID:DjTrilogic,项目名称:BlueSheep,代码行数:8,代码来源:IgnoredDeleteResultMessage.cs


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