SimpleSwitch
classscriptedClass
extends InteractiveMasterDevice › InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable
Properties 2
| Name | Type | Flags |
|---|---|---|
animationSpeed | Float | scriptedprotected |
animationType | EAnimationType | scriptedprotected |
Methods 10
public const func DeterminGameplayRole() -> EGameplayRolescripted
private const func GetController() -> ref<SimpleSwitchController>scripted
public const func GetDevicePS() -> ref<SimpleSwitchControllerPS>scripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
private final func PlayAnimation(id: CName)scripted
private final func SetDiodeAppearance(on: Bool)scripted
protected func TurnOffDevice()scripted
protected func TurnOnDevice()scripted
protected final func TurnOnLights()scripted