REDNODE / GAME API

ElectricLightControllerPS

classscriptedClass

extends ScriptableDeviceComponentPS › SharedGameplayPS › DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable

Extended by 1 type

GameplayLightControllerPS

Properties 2

NameTypeFlags
isConnectedToCLSBoolscriptedprivatepersistent
wasCLSInitTriggeredBoolscriptedprivate

Methods 9

public func EvaluateDeviceState()scripted
protected func GameAttached()scripted
public func GetActions(out actions: array<ref<DeviceAction>>, context: GetActionsContext) -> Boolscripted
private final func GetCLSFuse() -> ref<FuseControllerPS>scripted
private final func InitializeCLS(opt setStateInstant: Bool) -> Boolscripted
public const func IsConnectedToCLS() -> Boolscripted
protected func LogicReady()scripted
protected cb func OnInstantiated() -> Boolscripted
private final func UpdateStateOnCLS(state: EDeviceStatus)scripted