DestructibleMasterLight
classscriptedClass
extends DestructibleMasterDevice › InteractiveMasterDevice › InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable
Properties 2
| Name | Type | Flags |
|---|---|---|
lightComponents | array<ref<gameLightComponent>> | scriptedprivate |
lightDefinitions | array<LightPreset> | scriptedprivate |
Methods 17
private final func ApplyPreset(light: ref<gameLightComponent>, preset: TweakDBID)scripted
private final func CreateColorFromIntArray(ints: script_ref<array<Int32>>, out color: Color) -> Boolscripted
protected func CutPower()scripted
private const func GetController() -> ref<DestructibleMasterLightController>scripted
public const func GetDevicePS() -> ref<DestructibleMasterLightControllerPS>scripted
protected cb func OnEMPEnded(evt: ref<EMPEnded>) -> Boolscripted
protected cb func OnEMPHitEvent(evt: ref<EMPHitEvent>) -> Boolscripted
protected cb func OnHitEvent(hit: ref<gameHitEvent>) -> Boolscripted
protected cb func OnPhysicalDestructionEvent(evt: ref<PhysicalDestructionEvent>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected func ReactToHit(hit: ref<gameHitEvent>)scripted
protected const func ShouldRegisterToHUD() -> Boolscripted
protected func TurnOffDevice()scripted
private final func TurnOffLights()scripted
protected func TurnOnDevice()scripted
private final func TurnOnLights()scripted