TogglePower class
TogglePower
Inheritance
Base: ActionBool
Derived
None.
Properties
| Property | Type | |
|---|---|---|
TrueRecordName | string | scripted |
FalseRecordName | string | scripted |
Functions
void SetProperties(EDeviceStatus status)RTTIvoid SetProperties(EDeviceStatus status, TDBID nameOnTrue, TDBID nameOnFalse)RTTIstring GetTweakDBChoiceRecord()overrideRTTIstatic bool IsDefaultConditionMet(ScriptableDeviceComponentPS device, game.GetActionsContext context)staticoverrideRTTI globalstatic bool IsAvailable(ScriptableDeviceComponentPS device)staticoverrideRTTI globalstatic bool IsClearanceValid(game.device.Clearance clearance)staticoverrideRTTI global