本文整理汇总了C#中FlatBuffers.FlatBufferBuilder.AddSbyte方法的典型用法代码示例。如果您正苦于以下问题:C# FlatBufferBuilder.AddSbyte方法的具体用法?C# FlatBufferBuilder.AddSbyte怎么用?C# FlatBufferBuilder.AddSbyte使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FlatBuffers.FlatBufferBuilder
的用法示例。
在下文中一共展示了FlatBufferBuilder.AddSbyte方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddFortressLevel
public static void AddFortressLevel(FlatBufferBuilder builder, sbyte fortressLevel)
{
builder.AddSbyte(13, fortressLevel, 0);
}
示例2: AddEstado
public static void AddEstado(FlatBufferBuilder builder, Estado estado)
{
builder.AddSbyte(5, (sbyte)(estado), 0);
}
示例3: AddType
public static void AddType(FlatBufferBuilder builder, ActorEventType type)
{
builder.AddSbyte(0, (sbyte)(type), 0);
}
示例4: AddFooEnum
public static void AddFooEnum(FlatBufferBuilder builder, NamespaceA.NamespaceB.EnumInNestedNS fooEnum)
{
builder.AddSbyte(1, (sbyte)fooEnum, 0);
}
示例5: AddColor
public static void AddColor(FlatBufferBuilder builder, Color color) { builder.AddSbyte(0, (sbyte)color, 2); }
示例6: AddLevel
public static void AddLevel(FlatBufferBuilder builder, sbyte level)
{
builder.AddSbyte(3, level, 0);
}
示例7: AddOrder
public static void AddOrder(FlatBufferBuilder builder, sbyte order)
{
builder.AddSbyte(2, order, 0);
}
示例8: AddType
public static void AddType(FlatBufferBuilder builder, VariableType type)
{
builder.AddSbyte(0, (sbyte)(type), 0);
}
示例9: AddType
public static void AddType(FlatBufferBuilder builder, ModuleType type)
{
builder.AddSbyte(1, (sbyte)(type), 0);
}
示例10: AddAction
public static void AddAction(FlatBufferBuilder builder, StepAction action)
{
builder.AddSbyte(0, (sbyte)(action), 0);
}
示例11: AddColor
public static void AddColor(FlatBufferBuilder builder, Color color)
{
builder.AddSbyte(6, (sbyte)(color), 8);
}
示例12: AddColor
public static void AddColor(FlatBufferBuilder builder, sbyte color)
{
builder.AddSbyte(6, color, 8);
}