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


C# FlatBufferBuilder.StartObject方法代码示例

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


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

示例1: CreateListThreadsResponse

   public static int CreateListThreadsResponse(FlatBufferBuilder builder,
 int thread = 0)
   {
       builder.StartObject(1);
       ListThreadsResponse.AddThread(builder, thread);
       return ListThreadsResponse.EndListThreadsResponse(builder);
   }
开发者ID:SaviorXTanren,项目名称:xenia,代码行数:7,代码来源:ListThreadsResponse.cs

示例2: CreateGetModuleResponse

   public static int CreateGetModuleResponse(FlatBufferBuilder builder,
 int module = 0)
   {
       builder.StartObject(1);
       GetModuleResponse.AddModule(builder, module);
       return GetModuleResponse.EndGetModuleResponse(builder);
   }
开发者ID:SaviorXTanren,项目名称:xenia,代码行数:7,代码来源:GetModuleResponse.cs

示例3: CreateGetModuleRequest

   public static int CreateGetModuleRequest(FlatBufferBuilder builder,
 uint module_id = 0)
   {
       builder.StartObject(1);
       GetModuleRequest.AddModuleId(builder, module_id);
       return GetModuleRequest.EndGetModuleRequest(builder);
   }
开发者ID:SaviorXTanren,项目名称:xenia,代码行数:7,代码来源:GetModuleRequest.cs

示例4: CreateTableInNestedNS

   public static Offset<TableInNestedNS> CreateTableInNestedNS(FlatBufferBuilder builder,
 int foo = 0)
   {
       builder.StartObject(1);
       TableInNestedNS.AddFoo(builder, foo);
       return TableInNestedNS.EndTableInNestedNS(builder);
   }
开发者ID:google,项目名称:flatbuffers,代码行数:7,代码来源:TableInNestedNS.cs

示例5: CreateInputCommand

   public static Offset<InputCommand> CreateInputCommand(FlatBufferBuilder builder,
 Offset<CommandFrame> frame = default(Offset<CommandFrame>))
   {
       builder.StartObject(1);
       InputCommand.AddFrame(builder, frame);
       return InputCommand.EndInputCommand(builder);
   }
开发者ID:wuyuntao,项目名称:DeterministicLockstepNetworking,代码行数:7,代码来源:InputCommand.cs

示例6: CreateLoginResponse

   public static Offset<LoginResponse> CreateLoginResponse(FlatBufferBuilder builder,
 int objectId = 0)
   {
       builder.StartObject(1);
       LoginResponse.AddObjectId(builder, objectId);
       return LoginResponse.EndLoginResponse(builder);
   }
开发者ID:wuyuntao,项目名称:Synchronica,代码行数:7,代码来源:LoginResponse.cs

示例7: CreateSecondTableInA

 public static Offset<SecondTableInA> CreateSecondTableInA(FlatBufferBuilder builder,
     Offset<NamespaceC.TableInC> refer_to_cOffset = default(Offset<NamespaceC.TableInC>))
 {
     builder.StartObject(1);
     SecondTableInA.AddReferToC(builder, refer_to_cOffset);
     return SecondTableInA.EndSecondTableInA(builder);
 }
开发者ID:CadeLaRen,项目名称:flatbuffers,代码行数:7,代码来源:SecondTableInA.cs

示例8: CreateGetFunctionResponse

   public static int CreateGetFunctionResponse(FlatBufferBuilder builder,
 int function = 0)
   {
       builder.StartObject(1);
       GetFunctionResponse.AddFunction(builder, function);
       return GetFunctionResponse.EndGetFunctionResponse(builder);
   }
开发者ID:SaviorXTanren,项目名称:xenia,代码行数:7,代码来源:GetFunctionResponse.cs

示例9: CreateVariableParameters

   public static Offset<VariableParameters> CreateVariableParameters(FlatBufferBuilder builder,
 VariableType type = (VariableType)0)
   {
       builder.StartObject(1);
       VariableParameters.AddType(builder, type);
       return VariableParameters.EndVariableParameters(builder);
   }
开发者ID:wuyuntao,项目名称:Synchronica,代码行数:7,代码来源:VariableParameters.cs

示例10: CreateAddBreakpointsRequest

   public static int CreateAddBreakpointsRequest(FlatBufferBuilder builder,
 int breakpoints = 0)
   {
       builder.StartObject(1);
       AddBreakpointsRequest.AddBreakpoints(builder, breakpoints);
       return AddBreakpointsRequest.EndAddBreakpointsRequest(builder);
   }
开发者ID:SaviorXTanren,项目名称:xenia,代码行数:7,代码来源:AddBreakpointsRequest.cs

示例11: CreateLoginRequest

   public static Offset<LoginRequest> CreateLoginRequest(FlatBufferBuilder builder,
 StringOffset name = default(StringOffset))
   {
       builder.StartObject(1);
       LoginRequest.AddName(builder, name);
       return LoginRequest.EndLoginRequest(builder);
   }
开发者ID:wuyuntao,项目名称:Synchronica,代码行数:7,代码来源:LoginRequest.cs

示例12: CreateanchorPointsHolder

   public static Offset<anchorPointsHolder> CreateanchorPointsHolder(FlatBufferBuilder builder,
 VectorOffset anchorPoints = default(VectorOffset))
   {
       builder.StartObject(1);
       anchorPointsHolder.AddAnchorPoints(builder, anchorPoints);
       return anchorPointsHolder.EndanchorPointsHolder(builder);
   }
开发者ID:kestrelm,项目名称:CreatureTools,代码行数:7,代码来源:anchorPointsHolder.cs

示例13: CreateanimationMeshList

   public static Offset<animationMeshList> CreateanimationMeshList(FlatBufferBuilder builder,
 VectorOffset timeSamples = default(VectorOffset))
   {
       builder.StartObject(1);
       animationMeshList.AddTimeSamples(builder, timeSamples);
       return animationMeshList.EndanimationMeshList(builder);
   }
开发者ID:kestrelm,项目名称:CreatureTools,代码行数:7,代码来源:animationMeshList.cs

示例14: CreateTestSimpleTableWithEnum

 public static Offset<TestSimpleTableWithEnum> CreateTestSimpleTableWithEnum(FlatBufferBuilder builder,
     Color color = Color.Green)
 {
     builder.StartObject(1);
     TestSimpleTableWithEnum.AddColor(builder, color);
     return TestSimpleTableWithEnum.EndTestSimpleTableWithEnum(builder);
 }
开发者ID:CadeLaRen,项目名称:flatbuffers,代码行数:7,代码来源:TestSimpleTableWithEnum.cs

示例15: CreateListModulesResponse

   public static int CreateListModulesResponse(FlatBufferBuilder builder,
 int entry = 0)
   {
       builder.StartObject(1);
       ListModulesResponse.AddEntry(builder, entry);
       return ListModulesResponse.EndListModulesResponse(builder);
   }
开发者ID:SaviorXTanren,项目名称:xenia,代码行数:7,代码来源:ListModulesResponse.cs


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