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


C# FlatBufferBuilder.AddInt方法代码示例

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


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

示例1: AddStartPtIndex

 public static void AddStartPtIndex(FlatBufferBuilder builder, int startPtIndex)
 {
     builder.AddInt(1, startPtIndex, 0);
 }
开发者ID:kestrelm,项目名称:CreatureTools,代码行数:4,代码来源:meshRegion.cs

示例2: AddAmount

 public static void AddAmount(FlatBufferBuilder builder, int amount)
 {
     builder.AddInt(1, amount, 0);
 }
开发者ID:Reimerei,项目名称:port_experiments,代码行数:4,代码来源:TypeAmount.cs

示例3: AddTime

 public static void AddTime(FlatBufferBuilder builder, int time)
 {
     builder.AddInt(0, time, 0);
 }
开发者ID:wuyuntao,项目名称:Synchronica,代码行数:4,代码来源:PulseKeyFrameData_Float.cs

示例4: AddCOdometer

 public static void AddCOdometer(FlatBufferBuilder builder, int COdometer) { builder.AddInt(8, COdometer, 0); }
开发者ID:Sirokujira,项目名称:ET2015_MonoBrick,代码行数:1,代码来源:SensorData.cs

示例5: AddTaskProcessTime

 public static void AddTaskProcessTime(FlatBufferBuilder builder, int TaskProcessTime) { builder.AddInt(10, TaskProcessTime, 0); }
开发者ID:Sirokujira,项目名称:ET2015_MonoBrick,代码行数:1,代码来源:SensorData.cs

示例6: AddAPower

 public static void AddAPower(FlatBufferBuilder builder, int APower) { builder.AddInt(4, APower, 0); }
开发者ID:Sirokujira,项目名称:ET2015_MonoBrick,代码行数:1,代码来源:SensorData.cs

示例7: AddBOdometer

 public static void AddBOdometer(FlatBufferBuilder builder, int BOdometer) { builder.AddInt(6, BOdometer, 0); }
开发者ID:Sirokujira,项目名称:ET2015_MonoBrick,代码行数:1,代码来源:SensorData.cs

示例8: AddTesthashs32Fnv1a

 public static void AddTesthashs32Fnv1a(FlatBufferBuilder builder, int testhashs32Fnv1a)
 {
     builder.AddInt(20, testhashs32Fnv1a, 0);
 }
开发者ID:holvonix,项目名称:flatbuffers,代码行数:4,代码来源:Monster.cs

示例9: AddEndTime

 public static void AddEndTime(FlatBufferBuilder builder, int endTime)
 {
     builder.AddInt(1, endTime, 0);
 }
开发者ID:wuyuntao,项目名称:Synchronica,代码行数:4,代码来源:SynchronizeSceneData.cs

示例10: AddHp

 public static void AddHp(FlatBufferBuilder builder, int hp)
 {
     builder.AddInt(2, hp, 0);
 }
开发者ID:Reimerei,项目名称:port_experiments,代码行数:4,代码来源:Defence.cs

示例11: AddTesthashs32Fnv1

 public static void AddTesthashs32Fnv1(FlatBufferBuilder builder, int testhashs32Fnv1)
 {
     builder.AddInt(16, testhashs32Fnv1, 0);
 }
开发者ID:holvonix,项目名称:flatbuffers,代码行数:4,代码来源:Monster.cs

示例12: AddMilliseconds

 public static void AddMilliseconds(FlatBufferBuilder builder, int milliseconds)
 {
     builder.AddInt(0, milliseconds, 0);
 }
开发者ID:wuyuntao,项目名称:Synchronica,代码行数:4,代码来源:InputRequest.cs

示例13: AddCommand

 public static void AddCommand(FlatBufferBuilder builder, Command command)
 {
     builder.AddInt(1, (int)(command), 0);
 }
开发者ID:wuyuntao,项目名称:Synchronica,代码行数:4,代码来源:InputRequest.cs

示例14: AddAssignedWorkers

 public static void AddAssignedWorkers(FlatBufferBuilder builder, int assignedWorkers)
 {
     builder.AddInt(1, assignedWorkers, 0);
 }
开发者ID:Reimerei,项目名称:port_experiments,代码行数:4,代码来源:Workers.cs

示例15: AddSonerSensor

 public static void AddSonerSensor(FlatBufferBuilder builder, int SonerSensor) { builder.AddInt(2, SonerSensor, 0); }
开发者ID:Sirokujira,项目名称:ET2015_MonoBrick,代码行数:1,代码来源:SensorData.cs


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