class
DestructibleMasterLight
- 2 properties
- 17 functions
Extends DestructibleMasterDevice InteractiveMasterDevice InteractiveDevice Device game.DeviceBase game.Object ent.GameEntity ent.Entity IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
lightComponents | game.LightComponent?[] | 0x3D0 | scripted |
lightDefinitions | game.data.LightPreset[] | 0x3E0 | scripted |
Functions
bool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "OnRequestComponents", (DestructibleMasterLight_OnRequestComponents x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_OnRequestComponents( DestructibleMasterLight self, ent.EntityRequestComponentsInterface ri );bool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "OnTakeControl", (DestructibleMasterLight_OnTakeControl x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_OnTakeControl( DestructibleMasterLight self, ent.EntityResolveComponentsInterface ri );bool OnPhysicalDestructionEvent(ent.PhysicalDestructionEvent evt)overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "OnPhysicalDestructionEvent", (DestructibleMasterLight_OnPhysicalDestructionEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_OnPhysicalDestructionEvent( DestructibleMasterLight self, ent.PhysicalDestructionEvent? evt );DestructibleMasterLightController? GetController()overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "GetController;", (DestructibleMasterLight_GetController x) => { return re.Hooks.CallOriginal<re.msgpack.DestructibleMasterLightController>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_GetController( DestructibleMasterLight self );DestructibleMasterLightControllerPS? GetDevicePS()overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "GetDevicePS;", (DestructibleMasterLight_GetDevicePS x) => { return re.Hooks.CallOriginal<re.msgpack.DestructibleMasterLightControllerPS>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_GetDevicePS( DestructibleMasterLight self );bool ShouldRegisterToHUD()overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "ShouldRegisterToHUD;", (DestructibleMasterLight_ShouldRegisterToHUD x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_ShouldRegisterToHUD( DestructibleMasterLight self );void ApplyPreset(game.LightComponent light, TDBID preset)RTTIre.Hooks.PlaceVoid( "DestructibleMasterLight", "ApplyPreset;gameLightComponentTweakDBID", (DestructibleMasterLight_ApplyPreset x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_ApplyPreset( DestructibleMasterLight self, game.LightComponent? light, TDBID preset );bool CreateColorFromIntArray(int[] ints, out Color color)RTTIre.Hooks.Place( "DestructibleMasterLight", "CreateColorFromIntArray;script_ref<array<Int32>>Color", (DestructibleMasterLight_CreateColorFromIntArray x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_CreateColorFromIntArray( DestructibleMasterLight self, int[] ints, Color color );void CutPower()overrideRTTIre.Hooks.PlaceVoid( "DestructibleMasterLight", "CutPower;", (DestructibleMasterLight_CutPower x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_CutPower( DestructibleMasterLight self );void TurnOnDevice()overrideRTTIre.Hooks.PlaceVoid( "DestructibleMasterLight", "TurnOnDevice;", (DestructibleMasterLight_TurnOnDevice x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_TurnOnDevice( DestructibleMasterLight self );void TurnOffDevice()overrideRTTIre.Hooks.PlaceVoid( "DestructibleMasterLight", "TurnOffDevice;", (DestructibleMasterLight_TurnOffDevice x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_TurnOffDevice( DestructibleMasterLight self );void TurnOnLights()RTTIre.Hooks.PlaceVoid( "DestructibleMasterLight", "TurnOnLights;", (DestructibleMasterLight_TurnOnLights x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_TurnOnLights( DestructibleMasterLight self );void TurnOffLights()RTTIre.Hooks.PlaceVoid( "DestructibleMasterLight", "TurnOffLights;", (DestructibleMasterLight_TurnOffLights x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_TurnOffLights( DestructibleMasterLight self );bool OnHitEvent(game.events.HitEvent hit)overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "OnHitEvent", (DestructibleMasterLight_OnHitEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_OnHitEvent( DestructibleMasterLight self, game.events.HitEvent? hit );void ReactToHit(game.events.HitEvent hit)overrideRTTIre.Hooks.PlaceVoid( "DestructibleMasterLight", "ReactToHit;gameHitEvent", (DestructibleMasterLight_ReactToHit x) => { re.Hooks.CallOriginalVoid(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_ReactToHit( DestructibleMasterLight self, game.events.HitEvent? hit );bool OnEMPHitEvent(EMPHitEvent evt)overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "OnEMPHitEvent", (DestructibleMasterLight_OnEMPHitEvent x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_OnEMPHitEvent( DestructibleMasterLight self, EMPHitEvent? evt );bool OnEMPEnded(EMPEnded evt)overrideRTTIre.Hooks.Place( "DestructibleMasterLight", "OnEMPEnded", (DestructibleMasterLight_OnEMPEnded x) => { return re.Hooks.CallOriginal<re.msgpack.Bool>(); } ); [Msgpack.Gen] public readonly partial record struct DestructibleMasterLight_OnEMPEnded( DestructibleMasterLight self, EMPEnded? evt );