public static Offset <GetDmxDeviceSetting> CreateGetDmxDeviceSetting(FlatBufferBuilder builder, uint deviceId = 0, uint settingId = 0, Offset <DmxDeviceSetting> settingOffset = default(Offset <DmxDeviceSetting>)) { builder.StartObject(3); GetDmxDeviceSetting.AddSetting(builder, settingOffset); GetDmxDeviceSetting.AddSettingId(builder, settingId); GetDmxDeviceSetting.AddDeviceId(builder, deviceId); return(GetDmxDeviceSetting.EndGetDmxDeviceSetting(builder)); }
public static GetDmxDeviceSetting GetRootAsGetDmxDeviceSetting(ByteBuffer _bb, GetDmxDeviceSetting obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }