예제 #1
0
 public static Offset <AddDmxDeviceSetting> CreateAddDmxDeviceSetting(FlatBufferBuilder builder,
                                                                      uint deviceId  = 0,
                                                                      uint settingId = 0)
 {
     builder.StartObject(2);
     AddDmxDeviceSetting.AddSettingId(builder, settingId);
     AddDmxDeviceSetting.AddDeviceId(builder, deviceId);
     return(AddDmxDeviceSetting.EndAddDmxDeviceSetting(builder));
 }
예제 #2
0
 public static AddDmxDeviceSetting GetRootAsAddDmxDeviceSetting(ByteBuffer _bb, AddDmxDeviceSetting obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }