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


C# ICustomDataOutput.WriteBoolean方法代码示例

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


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

示例1: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteShort(fightId);
     writer.WriteSByte(teamId);
     writer.WriteSByte(option);
     writer.WriteBoolean(state);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:GameFightOptionStateUpdateMessage.cs

示例2: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteSByte(jobId);
     writer.WriteByte(jobLevel);
     writer.WriteBoolean(free);
     writer.WriteByte(minLevel);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:JobCrafterDirectoryEntryJobInfo.cs

示例3: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteVarUhInt(playerId);
     writer.WriteUTF(playerName);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:IgnoredOnlineInformations.cs

示例4: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteInt(targetId);
     writer.WriteShort(destinationCellId);
     writer.WriteSByte(critical);
     writer.WriteBoolean(silentCast);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:AbstractGameActionFightTargetedAbilityMessage.cs

示例5: Serialize

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

示例6: Serialize

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

示例7: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteUTF(leaderName);
     writer.WriteVarUhShort(nbConnectedMembers);
     writer.WriteSByte(nbTaxCollectors);
     writer.WriteInt(lastActivity);
     writer.WriteBoolean(enabled);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:9,代码来源:GuildInsiderFactSheetInformations.cs

示例8: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhShort(id);
     writer.WriteUShort((ushort)parameters.Count());
     foreach (var entry in parameters)
     {
          writer.WriteUTF(entry);
     }
     writer.WriteBoolean(forceOpen);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:10,代码来源:NotificationByServerMessage.cs

示例9: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteUShort((ushort)servers.Count());
     foreach (var entry in servers)
     {
          entry.Serialize(writer);
     }
     writer.WriteVarUhShort(alreadyConnectedToServerId);
     writer.WriteBoolean(canCreateNewCharacter);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:10,代码来源:ServersListMessage.cs

示例10: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteVarUhShort(dungeonId);
     writer.WriteUShort((ushort)playersDungeonReady.Count());
     foreach (var entry in playersDungeonReady)
     {
          writer.WriteBoolean(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:10,代码来源:PartyInvitationDungeonDetailsMessage.cs

示例11: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteSByte(presetId);
     writer.WriteSByte(symbolId);
     writer.WriteBoolean(mount);
     writer.WriteUShort((ushort)objects.Count());
     foreach (var entry in objects)
     {
          entry.Serialize(writer);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:11,代码来源:Preset.cs

示例12: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     restrictions.Serialize(writer);
     writer.WriteBoolean(sex);
     writer.WriteUShort((ushort)options.Count());
     foreach (var entry in options)
     {
          writer.WriteShort(entry.TypeId);
          entry.Serialize(writer);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:11,代码来源:HumanInformations.cs

示例13: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhShort(serverId);
     writer.WriteUTF(address);
     writer.WriteUShort(port);
     writer.WriteBoolean(canCreateNewCharacter);
     writer.WriteVarUhShort((ushort)ticket.Count());
     foreach (var entry in ticket)
     {
          writer.WriteByte(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:12,代码来源:SelectedServerDataMessage.cs

示例14: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteShort(infos.TypeId);
     infos.Serialize(writer);
     writer.WriteInt(creationDate);
     writer.WriteVarUhShort(nbTaxCollectors);
     writer.WriteBoolean(enabled);
     writer.WriteUShort((ushort)members.Count());
     foreach (var entry in members)
     {
          entry.Serialize(writer);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:13,代码来源:GuildFactsMessage.cs

示例15: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteInt(markAuthorId);
     writer.WriteSByte(markTeamId);
     writer.WriteInt(markSpellId);
     writer.WriteSByte(markSpellLevel);
     writer.WriteShort(markId);
     writer.WriteSByte(markType);
     writer.WriteShort(markimpactCell);
     writer.WriteUShort((ushort)cells.Count());
     foreach (var entry in cells)
     {
          entry.Serialize(writer);
     }
     writer.WriteBoolean(active);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:16,代码来源:GameActionMark.cs


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