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


C# ICustomDataOutput.WriteSByte方法代码示例

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


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

示例1: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     base.Serialize(writer);
     writer.WriteVarUhShort(days);
     writer.WriteSByte(hours);
     writer.WriteSByte(minutes);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:ObjectEffectDuration.cs

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

示例3: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteSByte(alignmentSide);
     writer.WriteSByte(alignmentValue);
     writer.WriteSByte(alignmentGrade);
     writer.WriteVarUhInt(characterPower);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:ActorAlignmentInformations.cs

示例4: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteSByte(typeId);
     writer.WriteSByte(state);
     writer.WriteInt(nextVulnerabilityDate);
     writer.WriteInt(placementDate);
     writer.WriteVarUhInt(rewardTokenCount);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:PrismInformation.cs

示例5: Serialize

 public virtual void Serialize(ICustomDataOutput writer)
 {
     writer.WriteSByte(teamId);
     writer.WriteInt(leaderId);
     writer.WriteSByte(teamSide);
     writer.WriteSByte(teamTypeId);
     writer.WriteSByte(nbWaves);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:AbstractFightTeamInformations.cs

示例6: Serialize

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

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

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

示例9: Serialize

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

示例10: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteSByte(presetId);
     writer.WriteSByte(symbolId);
     writer.WriteUShort((ushort)itemsPositions.Count());
     foreach (var entry in itemsPositions)
     {
          writer.WriteByte(entry);
     }
     writer.WriteUShort((ushort)itemsUids.Count());
     foreach (var entry in itemsUids)
     {
          writer.WriteVarUhInt(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:15,代码来源:InventoryPresetSaveCustomMessage.cs

示例11: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteVarUhInt(mountUid);
     writer.WriteSByte(mountLocation);
     writer.WriteVarUhInt(mountFoodUid);
     writer.WriteVarUhInt(quantity);
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:7,代码来源:MountFeedRequestMessage.cs

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

示例13: Serialize

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

示例14: Serialize

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

示例15: Serialize

 public override void Serialize(ICustomDataOutput writer)
 {
     writer.WriteUShort((ushort)data.Count());
     foreach (var entry in data)
     {
          writer.WriteSByte(entry);
     }
 }
开发者ID:thomasvinot,项目名称:Symbioz,代码行数:8,代码来源:CheckIntegrityMessage.cs


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