本文整理汇总了C#中FlatBuffers.FlatBufferBuilder.StartVector方法的典型用法代码示例。如果您正苦于以下问题:C# FlatBufferBuilder.StartVector方法的具体用法?C# FlatBufferBuilder.StartVector怎么用?C# FlatBufferBuilder.StartVector使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FlatBuffers.FlatBufferBuilder
的用法示例。
在下文中一共展示了FlatBufferBuilder.StartVector方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: StartRestParentMatVector
public static void StartRestParentMatVector(FlatBufferBuilder builder, int numElems)
{
builder.StartVector(4, numElems, 4);
}
示例2: StartPlayerResourcesVector
public static void StartPlayerResourcesVector(FlatBufferBuilder builder, int numElems)
{
builder.StartVector(4, numElems, 4);
}
示例3: StartTechnologiesVector
public static void StartTechnologiesVector(FlatBufferBuilder builder, int numElems)
{
builder.StartVector(4, numElems, 4);
}
示例4: CreateTechnologiesVector
public static VectorOffset CreateTechnologiesVector(FlatBufferBuilder builder, StringOffset[] data)
{
builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector();
}
示例5: StartCurrentQuestsVector
public static void StartCurrentQuestsVector(FlatBufferBuilder builder, int numElems)
{
builder.StartVector(4, numElems, 4);
}
示例6: CreateItemsVector
public static VectorOffset CreateItemsVector(FlatBufferBuilder builder, Offset<uvSwapItemData>[] data)
{
builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector();
}
示例7: CreatePlayerResourcesVector
public static VectorOffset CreatePlayerResourcesVector(FlatBufferBuilder builder, Offset<TypeAmount>[] data)
{
builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector();
}
示例8: StartTestarrayoftablesVector
public static void StartTestarrayoftablesVector(FlatBufferBuilder builder, int numElems)
{
builder.StartVector(4, numElems, 4);
}
示例9: StartTestnestedflatbufferVector
public static void StartTestnestedflatbufferVector(FlatBufferBuilder builder, int numElems)
{
builder.StartVector(1, numElems, 1);
}
示例10: CreateTestnestedflatbufferVector
public static int CreateTestnestedflatbufferVector(FlatBufferBuilder builder, byte[] data)
{
builder.StartVector(1, data.Length, 1); for (int i = data.Length - 1; i >= 0; i--) builder.AddByte(data[i]); return builder.EndVector();
}
示例11: StartTest4Vector
public static void StartTest4Vector(FlatBufferBuilder builder, int numElems)
{
builder.StartVector(4, numElems, 2);
}
示例12: CreateTestarrayoftablesVector
public static int CreateTestarrayoftablesVector(FlatBufferBuilder builder, int[] data)
{
builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i]); return builder.EndVector();
}
示例13: CreateWeightsVector
public static VectorOffset CreateWeightsVector(FlatBufferBuilder builder, Offset<meshRegionBone>[] data)
{
builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector();
}
示例14: StartGlobalOffsetVector
public static void StartGlobalOffsetVector(FlatBufferBuilder builder, int numElems)
{
builder.StartVector(4, numElems, 4);
}
示例15: CreateMeshesVector
public static VectorOffset CreateMeshesVector(FlatBufferBuilder builder, Offset<animationMesh>[] data)
{
builder.StartVector(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); return builder.EndVector();
}