REDNODE / GAME API

SimpleSwitch

classscriptedClass

extends InteractiveMasterDevice › InteractiveDevice › Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable

Properties 2

NameTypeFlags
animationSpeedFloatscriptedprotected
animationTypeEAnimationTypescriptedprotected

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