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


C# IDataWriter.WriteBoolean方法代码示例

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


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

示例1: Serialize

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

示例2: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(paymentType);
     writer.WriteBoolean(bAdd);
     writer.WriteInt(objectToMoveId);
     writer.WriteInt(quantity);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:7,代码来源:ExchangeItemObjectAddAsPaymentMessage.cs

示例3: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteUTF(playerName);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:IgnoredOnlineInformations.cs

示例4: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(fightId);
     writer.WriteInt(sourceId);
     writer.WriteInt(targetId);
     writer.WriteBoolean(accept);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GameRolePlayPlayerFightFriendlyAnsweredMessage.cs

示例5: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteInt(targetId);
     writer.WriteShort(stateId);
     writer.WriteBoolean(active);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GameActionFightStateChangeMessage.cs

示例6: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteUTF(uid);
     writer.WriteShort(figure);
     writer.WriteShort(pedestal);
     writer.WriteBoolean(bound);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:7,代码来源:KrosmasterFigure.cs

示例7: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(npcId);
     writer.WriteBoolean(sex);
     writer.WriteShort(specialArtworkId);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GameRolePlayNpcInformations.cs

示例8: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteBoolean(hireOrFire);
     basicInfos.Serialize(writer);
     writer.WriteInt(playerId);
     writer.WriteUTF(playerName);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:7,代码来源:TaxCollectorMovementMessage.cs

示例9: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteBoolean(self);
     writer.WriteSByte(position);
     writer.WriteUTF(accountNickname);
     writer.WriteUTF(characterName);
     writer.WriteShort(areaId);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:8,代码来源:BasicWhoIsMessage.cs

示例10: Serialize

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

示例11: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(playerId);
     writer.WriteUTF(playerName);
     writer.WriteSByte(breed);
     writer.WriteBoolean(sex);
     writer.WriteShort(level);
 }
开发者ID:Geraff,项目名称:BehaviorIsManaged,代码行数:8,代码来源:DungeonPartyFinderPlayer.cs

示例12: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(accountId);
     writer.WriteBoolean(tutorialAvailable);
     writer.WriteShort(breedsVisible);
     writer.WriteShort(breedsAvailable);
     writer.WriteSByte(status);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:8,代码来源:AccountCapabilitiesMessage.cs

示例13: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteShort(serverId);
     writer.WriteUTF(address);
     writer.WriteUShort(port);
     writer.WriteBoolean(canCreateNewCharacter);
     writer.WriteUTF(ticket);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:8,代码来源:SelectedServerDataMessage.cs

示例14: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteUShort(honor);
     writer.WriteUShort(honorGradeFloor);
     writer.WriteUShort(honorNextGradeFloor);
     writer.WriteBoolean(pvpEnabled);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:8,代码来源:ActorExtendedAlignmentInformations.cs

示例15: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteSByte(teamId);
     writer.WriteBoolean(alive);
     writer.WriteShort(stats.TypeId);
     stats.Serialize(writer);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:8,代码来源:GameFightFighterInformations.cs


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