示例#1
0
 public static Offset <CommandFrame> CreateCommandFrame(FlatBufferBuilder builder,
                                                        uint ticks            = 0,
                                                        VectorOffset commands = default(VectorOffset))
 {
     builder.StartObject(2);
     CommandFrame.AddCommands(builder, commands);
     CommandFrame.AddTicks(builder, ticks);
     return(CommandFrame.EndCommandFrame(builder));
 }
示例#2
0
 public CommandFrame GetFrames(CommandFrame obj, int j)
 {
     int o = __offset(4); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
 public CommandFrame GetFrame(CommandFrame obj)
 {
     int o = __offset(4); return o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null;
 }
示例#4
0
 public static CommandFrame GetRootAsCommandFrame(ByteBuffer _bb, CommandFrame obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
 public CommandFrame GetFrames(CommandFrame obj, int j)
 {
     int o = __offset(4); return o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null;
 }
 public static CommandFrame GetRootAsCommandFrame(ByteBuffer _bb, CommandFrame obj)
 {
     return (obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
示例#7
0
 public CommandFrame GetFrame(CommandFrame obj)
 {
     int o = __offset(4); return(o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null);
 }