Пример #1
0
 public static Offset <ControllerMap> CreateControllerMap(FlatBufferBuilder builder,
                                                          DeviceType type = DeviceType.DT_unknown,
                                                          VectorOffset actionMapOffset = default(VectorOffset))
 {
     builder.StartObject(2);
     ControllerMap.AddActionMap(builder, actionMapOffset);
     ControllerMap.AddType(builder, type);
     return(ControllerMap.EndControllerMap(builder));
 }
Пример #2
0
 public ControllerMap GetCtrlList(ControllerMap obj, int j)
 {
     int o = __offset(4); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
Пример #3
0
 public static ControllerMap GetRootAsControllerMap(ByteBuffer _bb, ControllerMap obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }