class
DiodeControlComponent
- 6 properties
- 12 functions
Extends game.ScriptableComponent game.Component ent.IComponent IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
affectedLights | CName[] | 0x0 | scripted |
lightsState | bool | 0x10 | scripted |
primaryLightPreset | DiodeLightPreset | 0x18 | scripted |
secondaryLightPreset | DiodeLightPreset | 0x60 | scripted |
secondaryPresetActive | bool | 0xA8 | scripted |
secondaryPresetRemovalID | game.DelayID | 0xAC | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)RTTIre.Hooks.Place( "DiodeControlComponent", "OnRequestComponents", (DiodeControlComponent_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_OnRequestComponents( DiodeControlComponent self, ent.EntityRequestComponentsInterface ri );bool OnDeath(game.events.DeathEvent evt)RTTIre.Hooks.Place( "DiodeControlComponent", "OnDeath", (DiodeControlComponent_OnDeath x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_OnDeath( DiodeControlComponent self, game.events.DeathEvent? evt );bool OnApplyDiodeLightPresetEvent(ApplyDiodeLightPresetEvent evt)RTTIre.Hooks.Place( "DiodeControlComponent", "OnApplyDiodeLightPresetEvent", (DiodeControlComponent_OnApplyDiodeLightPresetEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_OnApplyDiodeLightPresetEvent( DiodeControlComponent self, ApplyDiodeLightPresetEvent? evt );void ApplyPrimaryPreset(DiodeLightPreset preset, float delay, bool force)RTTIre.Hooks.PlaceVoid( "DiodeControlComponent", "ApplyPrimaryPreset;script_ref<DiodeLightPreset>FloatBool", (DiodeControlComponent_ApplyPrimaryPreset x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_ApplyPrimaryPreset( DiodeControlComponent self, DiodeLightPreset preset, float delay, bool force );void ApplySecondaryPreset(DiodeLightPreset preset, float delay, float duration)RTTIre.Hooks.PlaceVoid( "DiodeControlComponent", "ApplySecondaryPreset;script_ref<DiodeLightPreset>FloatFloat", (DiodeControlComponent_ApplySecondaryPreset x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_ApplySecondaryPreset( DiodeControlComponent self, DiodeLightPreset preset, float delay, float duration );bool OnRemoveSecondaryDiodeLightPresetEvent(RemoveSecondaryDiodeLightPresetEvent evt)RTTIre.Hooks.Place( "DiodeControlComponent", "OnRemoveSecondaryDiodeLightPresetEvent", (DiodeControlComponent_OnRemoveSecondaryDiodeLightPresetEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_OnRemoveSecondaryDiodeLightPresetEvent( DiodeControlComponent self, RemoveSecondaryDiodeLightPresetEvent? evt );void ApplyPreset(DiodeLightPreset preset, float? delay)RTTIre.Hooks.PlaceVoid( "DiodeControlComponent", "ApplyPreset;DiodeLightPresetFloat", (DiodeControlComponent_ApplyPreset x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_ApplyPreset( DiodeControlComponent self, DiodeLightPreset preset, float? delay );void QueueLightSettings(int[] colorValues, float strength, float time, CName curve, bool loop, float delay)RTTIre.Hooks.PlaceVoid( "DiodeControlComponent", "QueueLightSettings;script_ref<array<Int32>>FloatFloatCNameBoolFloat", (DiodeControlComponent_QueueLightSettings x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_QueueLightSettings( DiodeControlComponent self, int[] colorValues, float strength, float time, CName curve, bool loop, float delay );bool OnChangeDiodeLightSettingsEvent(ChangeDiodeLightSettingsEvent evt)RTTIre.Hooks.Place( "DiodeControlComponent", "OnChangeDiodeLightSettingsEvent", (DiodeControlComponent_OnChangeDiodeLightSettingsEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_OnChangeDiodeLightSettingsEvent( DiodeControlComponent self, ChangeDiodeLightSettingsEvent? evt );void ChangeLightSettings(int[] colorValues, float strength, float time, CName curve, bool loop)RTTIre.Hooks.PlaceVoid( "DiodeControlComponent", "ChangeLightSettings;script_ref<array<Int32>>FloatFloatCNameBool", (DiodeControlComponent_ChangeLightSettings x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_ChangeLightSettings( DiodeControlComponent self, int[] colorValues, float strength, float time, CName curve, bool loop );void ToggleDiodes(bool state)RTTIre.Hooks.PlaceVoid( "DiodeControlComponent", "ToggleDiodes;Bool", (DiodeControlComponent_ToggleDiodes x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_ToggleDiodes( DiodeControlComponent self, bool state );static void ActivateLightPreset(game.Object owner, WeakHandle<game.data.LightPreset_Record> lightPreset, float delay)staticRTTI globalre.Hooks.PlaceVoid( "DiodeControlComponent", "DiodeControlComponent::ActivateLightPreset;GameObjectLightPreset_RecordFloat", (DiodeControlComponent_ActivateLightPreset x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DiodeControlComponent_ActivateLightPreset( game.Object? owner, WeakHandle<game.data.LightPreset_Record> lightPreset, float delay );