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


C# IDataWriter.WriteSByte方法代码示例

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


在下文中一共展示了IDataWriter.WriteSByte方法的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 virtual void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(teamId);
     writer.WriteInt(leaderId);
     writer.WriteSByte(teamSide);
     writer.WriteSByte(teamTypeId);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:AbstractFightTeamInformations.cs

示例3: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(jobId);
     writer.WriteSByte(jobLevel);
     writer.WriteSByte(userDefinedParams);
     writer.WriteSByte(minSlots);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:JobCrafterDirectoryEntryJobInfo.cs

示例4: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(areaId);
     writer.WriteSByte(atLeastNbMount);
     writer.WriteSByte(atLeastNbMachine);
     writer.WriteInt(maxPrice);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:7,代码来源:PaddockToSellFilterMessage.cs

示例5: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteShort(cellId);
     writer.WriteSByte(zoneSize);
     writer.WriteInt(cellColor);
     writer.WriteSByte(cellsType);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:7,代码来源:GameActionMarkedCell.cs

示例6: 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

示例7: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteInt(areaId);
     writer.WriteSByte(atLeastNbRoom);
     writer.WriteSByte(atLeastNbChest);
     writer.WriteShort(skillRequested);
     writer.WriteInt(maxPrice);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:8,代码来源:HouseToSellFilterMessage.cs

示例8: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(alignmentSide);
     writer.WriteSByte(alignmentValue);
     writer.WriteSByte(alignmentGrade);
     writer.WriteUShort(dishonor);
     writer.WriteInt(characterPower);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:8,代码来源:ActorAlignmentInformations.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.WriteUTF(senderName);
     writer.WriteUTF(content);
     writer.WriteInt(timestamp);
     writer.WriteSByte(channel);
     writer.WriteUTF(fingerprint);
     writer.WriteSByte(reason);
 }
开发者ID:clapette,项目名称:BehaviorIsManaged,代码行数:9,代码来源:ChatMessageReportMessage.cs

示例11: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteSByte(partyType);
     writer.WriteSByte(maxParticipants);
     writer.WriteInt(fromId);
     writer.WriteUTF(fromName);
     writer.WriteInt(toId);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:9,代码来源:PartyInvitationMessage.cs

示例12: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(major);
     writer.WriteSByte(minor);
     writer.WriteSByte(release);
     writer.WriteUShort(revision);
     writer.WriteSByte(patch);
     writer.WriteSByte(buildType);
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:9,代码来源:Version.cs

示例13: Serialize

 public override void Serialize(IDataWriter writer)
 {
     base.Serialize(writer);
     writer.WriteShort(staticInfos.TypeId);
     staticInfos.Serialize(writer);
     writer.WriteShort(ageBonus);
     writer.WriteSByte(lootShare);
     writer.WriteSByte(alignmentSide);
     writer.WriteBoolean(keyRingBonus);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:10,代码来源:GameRolePlayGroupMonsterInformations.cs

示例14: Serialize

 public override void Serialize(IDataWriter writer)
 {
     writer.WriteSByte(presetId);
     writer.WriteSByte(code);
     writer.WriteUShort((ushort)unlinkedPosition.Length);
     foreach (var entry in unlinkedPosition)
     {
          writer.WriteByte(entry);
     }
 }
开发者ID:Torf,项目名称:BehaviorIsManaged,代码行数:10,代码来源:InventoryPresetUseResultMessage.cs

示例15: Serialize

 public virtual void Serialize(IDataWriter writer)
 {
     writer.WriteInt(slaveId);
     writer.WriteUShort((ushort)spellCooldowns.Length);
     foreach (var entry in spellCooldowns)
     {
          entry.Serialize(writer);
     }
     writer.WriteSByte(summonCount);
     writer.WriteSByte(bombCount);
 }
开发者ID:Guiedo,项目名称:BehaviorIsManaged,代码行数:11,代码来源:GameFightResumeSlaveInfo.cs


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