public static Offset <AddDmxRuleBoolSetting> CreateAddDmxRuleBoolSetting(FlatBufferBuilder builder, uint deviceId = 0, uint settingId = 0, uint channelId = 0, uint ruleId = 0, int on = 0, int off = 0, byte start = 0, float step = 0.0f) { builder.StartObject(8); AddDmxRuleBoolSetting.AddStep(builder, step); AddDmxRuleBoolSetting.AddOff(builder, off); AddDmxRuleBoolSetting.AddOn(builder, on); AddDmxRuleBoolSetting.AddRuleId(builder, ruleId); AddDmxRuleBoolSetting.AddChannelId(builder, channelId); AddDmxRuleBoolSetting.AddSettingId(builder, settingId); AddDmxRuleBoolSetting.AddDeviceId(builder, deviceId); AddDmxRuleBoolSetting.AddStart(builder, start); return(AddDmxRuleBoolSetting.EndAddDmxRuleBoolSetting(builder)); }
public static AddDmxRuleBoolSetting GetRootAsAddDmxRuleBoolSetting(ByteBuffer _bb, AddDmxRuleBoolSetting obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }