SimpleSwitchControllerPS
classscriptedClasssavable
extends MasterControllerPS › ScriptableDeviceComponentPS › SharedGameplayPS › DeviceComponentPS › GameComponentPS › PersistentState › IScriptable › ISerializable
Properties 3
| Name | Type | Flags |
|---|---|---|
nameForOFF | TweakDBID | scriptedprotected |
nameForON | TweakDBID | scriptedprotected |
switchAction | ESwitchAction | scriptedprotectedpersistent |
Methods 15
public func ActionToggleON() -> ref<ToggleON>scripted
protected const func CanCreateAnyQuickHackActions() -> Boolscripted
private final func GetAction() -> ref<ScriptableDeviceAction>scripted
public func GetActions(out outActions: array<ref<DeviceAction>>, context: GetActionsContext) -> Boolscripted
protected const func GetClearance() -> ref<Clearance>scripted
public const func GetExpectedSlaveState() -> EDeviceStatusscripted
protected func GetQuickHackActions(out outActions: array<ref<DeviceAction>>, context: script_ref<GetActionsContext>)scripted
protected func Initialize()scripted
public final func IsLightSwitch() -> Boolscripted
protected cb func OnInstantiated() -> Boolscripted
protected func OnQuestForceOFF(evt: ref<QuestForceOFF>) -> EntityNotificationTypescripted
protected func OnQuestForceON(evt: ref<QuestForceON>) -> EntityNotificationTypescripted
protected func OnRefreshSlavesEvent(evt: ref<RefreshSlavesEvent>) -> EntityNotificationTypescripted
public func OnToggleON(evt: ref<ToggleON>) -> EntityNotificationTypescripted
protected func RefreshSlaves(opt onInitialize: Bool)scripted