FuseControllerPS
classscriptedClasssavable
extends MasterControllerPS › ScriptableDeviceComponentPS › SharedGameplayPS › DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable
Properties 9
| Name | Type | Flags |
|---|---|---|
alternativeNameForOFF | TweakDBID | scriptedprivate |
alternativeNameForON | TweakDBID | scriptedprivate |
alternativeNameForPower | TweakDBID | scriptedprivate |
alternativeNameForUnpower | TweakDBID | scriptedprivate |
isCLSInitialized | Bool | scriptedprivate |
lightSwitchRandomizerType | ELightSwitchRandomizerType | scriptedprotectedpersistent |
maxLightsSwitchedAtOnce | Int32 | scriptedprotectedpersistent |
timeTableSetup | ref<DeviceTimeTableManager> | scriptedprotectedpersistent |
timeToNextSwitch | Float | scriptedprotectedpersistent |
Methods 38
public func ActionToggleON() -> ref<ToggleON>scripted
protected func ActionTogglePower() -> ref<TogglePower>scripted
private final func CutPowerOnSlaveDevices(devices: array<ref<DeviceComponentPS>>)scripted
public func GetActions(out outActions: array<ref<DeviceAction>>, context: GetActionsContext) -> Boolscripted
protected func GetBackgroundTextureTweakDBID() -> TweakDBIDscripted
protected const func GetClearance() -> ref<Clearance>scripted
protected func GetDeviceIconTweakDBID() -> TweakDBIDscripted
public final const func GetDeviceStateByCLS() -> EDeviceStatusscripted
public const func GetExpectedSlaveState() -> EDeviceStatusscripted
private final func GetLightSwitchDelayValue() -> Floatscripted
public final const func GetTimetableSetup() -> ref<DeviceTimeTableManager>scripted
protected func Initialize()scripted
private final func InitializeCLS()scripted
public final const func IsCLSInitialized() -> Boolscripted
public const func IsConnectedToCLS() -> Boolscripted
protected final func OnDealyedTimetableEvent(evt: ref<DelayedTimetableEvent>) -> EntityNotificationTypescripted
protected final func OnDeviceTimetableEvent(evt: ref<DeviceTimetableEvent>) -> EntityNotificationTypescripted
protected final func OnInitializeCLSEvent(evt: ref<InitializeCLSEvent>) -> EntityNotificationTypescripted
protected cb func OnInstantiated() -> Boolscripted
protected func OnQuestForceOFF(evt: ref<QuestForceOFF>) -> EntityNotificationTypescripted
protected func OnQuestForceON(evt: ref<QuestForceON>) -> EntityNotificationTypescripted
protected final func OnRefreshCLSoNslaves(evt: ref<RefreshCLSOnSlavesEvent>) -> EntityNotificationTypescripted
protected final func OnRefreshPowerOnSlavesEvent(evt: ref<RefreshPowerOnSlavesEvent>) -> EntityNotificationTypescripted
protected func OnRefreshSlavesEvent(evt: ref<RefreshSlavesEvent>) -> EntityNotificationTypescripted
protected func OnSetDeviceOFF(evt: ref<SetDeviceOFF>) -> EntityNotificationTypescripted
protected func OnSetDeviceON(evt: ref<SetDeviceON>) -> EntityNotificationTypescripted
protected func OnSetDevicePowered(evt: ref<SetDevicePowered>) -> EntityNotificationTypescripted
protected func OnSetDeviceUnpowered(evt: ref<SetDeviceUnpowered>) -> EntityNotificationTypescripted
public func OnToggleON(evt: ref<ToggleON>) -> EntityNotificationTypescripted
protected func PowerDevice()scripted
private final func RefreshCLSoNslaves(state: EDeviceStatus, restorePower: Bool, devices: script_ref<array<ref<DeviceComponentPS>>>)scripted
private final func RefreshPowerOnSlaves(devices: script_ref<array<ref<DeviceComponentPS>>>)scripted
private final func RefreshSlaves(devices: array<ref<DeviceComponentPS>>, opt force: Bool)scripted
private final func RestorePowerOnSlaveDevices(devices: array<ref<DeviceComponentPS>>)scripted
private final func SendCLSRefreshByEvent(devices: script_ref<array<ref<DeviceComponentPS>>>, state: EDeviceStatus, restorePower: Bool, delay: Float)scripted
private final func SendDeviceTimeTableEvent(targetID: EntityID, state: EDeviceStatus, restorePower: Bool)scripted
private final func SendDeviceTimeTableEventWithDelay(targetID: EntityID, state: EDeviceStatus, restorePower: Bool, delay: Float)scripted
public func UnpowerDevice()scripted