public static Offset <ChangeDmxDeviceSettingValue> CreateChangeDmxDeviceSettingValue(FlatBufferBuilder builder, uint deviceId = 0, uint settingId = 0, sbyte value = 0) { builder.StartObject(3); ChangeDmxDeviceSettingValue.AddSettingId(builder, settingId); ChangeDmxDeviceSettingValue.AddDeviceId(builder, deviceId); ChangeDmxDeviceSettingValue.AddValue(builder, value); return(ChangeDmxDeviceSettingValue.EndChangeDmxDeviceSettingValue(builder)); }
public static ChangeDmxDeviceSettingValue GetRootAsChangeDmxDeviceSettingValue(ByteBuffer _bb, ChangeDmxDeviceSettingValue obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }