BlackICE Scripting

class

ScriptableDeviceAction

  • 16 properties
  • 66 functions
  • 12 derived classes

Extends BaseScriptableAction game.device.Action red.Event IScriptable ISerializable

Properties

PropertyTypeOffset
propgame.device.ActionProperty?0x128 scripted
actionWidgetPackageSActionWidgetPackage0x138 scripted
spiderbotActionLocationOverrideNodeRef0x228 scripted
durationfloat0x230 scripted
canTriggerStimbool0x234 scripted
wasPerformedOnOwnerbool0x235 scripted
shouldActivateDevicebool0x236 scripted
disableSpreadbool0x237 scripted
isQuickHackbool0x238 scripted
isSpiderbotActionbool0x239 scripted
attachedProgramTDBID0x23C scripted
activeStatusEffectTDBID0x244 scripted
interactionIconTypeTDBID0x24C scripted
hasInteractionbool0x254 scripted
inactiveReasonstring0x258 scripted
widgetStylegame.data.ComputerUIStyle0x278 scripted

Functions

  • ScriptableDeviceComponentPS? GetOwnerPS(ScriptGameInstance game) overrideRTTI
  • bool ResolveAction(ResolveActionData data) RTTI
  • bool ShouldActivateDevice() RTTI
  • void SetShouldActivateDevice(bool value) RTTI
  • void SetDisableSpread(bool value) RTTI
  • void SetCanSkipPayCost(bool value) RTTI
  • bool IsSpreadDisabled() RTTI
  • bool CanTriggerStim() RTTI
  • void SetCanTriggerStim(bool canTrigger) RTTI
  • float GetDurationValue() RTTI
  • void SetCompleted() RTTI
  • bool IsCompleted() RTTI
  • bool IsStarted() RTTI
  • void SetDurationValue(float duration) RTTI
  • CName GetActionName() RTTI
  • CName GetDefaultActionName() RTTI
  • WeakHandle<game.data.ObjectAction_Record> GetObjectActionRecord() overrideRTTI
  • bool CanSpiderbotCompleteThisAction(ScriptableDeviceComponentPS device) RTTI
  • void AddDeviceName(string deviceName) RTTI
  • string GetDeviceName() RTTI
  • red.ResourceReferenceScriptToken GetInkWidgetLibraryPath() RTTI
  • CName GetInkWidgetLibraryID() RTTI
  • void SetInkWidgetTweakDBID(TDBID id) RTTI
  • void SetWidgetStyle(game.data.ComputerUIStyle style) RTTI
  • TDBID GetInkWidgetTweakDBID() RTTI
  • void SetActiveStatusEffectTweakDBID(TDBID effectID) RTTI
  • TDBID GetActiveStatusEffectTweakDBID() RTTI
  • void SetAttachedProgramTweakDBID(TDBID programID) RTTI
  • TDBID GetAttachedProgramTweakDBID() RTTI
  • void SetIllegal(bool isIllegal) RTTI
  • void ClearIllegal() RTTI
  • bool IsIllegal() RTTI
  • CName GetInteractionLayer() RTTI
  • void SetInteractionLayer(CName layer) RTTI
  • game.device.RequestType GetRequestType() RTTI
  • void SetObjectActionID(TDBID id) overrideRTTI
  • void SetAsQuickHack(bool? wasExecutedAtLeastOnce) RTTI
  • float GetAwarenessCost(ScriptGameInstance gameInstance) RTTI
  • void ProduceInteractionParts() RTTI
  • void StartUpload(ScriptGameInstance gameInstance) overrideRTTI
  • void CompleteAction(ScriptGameInstance gameInstance) overrideRTTI
  • int GetCost() overrideRTTI
  • void SetInteractionIcon(TDBID iconType) RTTI
  • WeakHandle<game.data.ChoiceCaptionIconPart_Record> GetInteractionIcon() RTTI
  • void SetAsSpiderbotAction() RTTI
  • bool IsRemoteHack() RTTI
  • bool IsQuickHack() RTTI
  • bool IsSpiderbotAction() RTTI
  • void SetSpiderbotLocationOverrideReference(NodeRef targetLocationReference) RTTI
  • NodeRef GetSpiderbotLocationOverrideReference() RTTI
  • game.interactions.Choice GetInteractionChoice() RTTI
  • SActionWidgetPackage GetActionWidgetPackage() RTTI
  • void CreateInteraction(game.device.Action[]? actions, string? alternativeMainChoiceRecord, TDBID? alternativeMainChoiceTweakDBID) RTTI
  • bool HasUI() RTTI
  • void CreateActionWidgetPackage(game.device.Action[]? actions) RTTI
  • void CreateActionWidgetPackage(TDBID widgetTweakDBID, game.device.Action[]? actions) RTTI
  • void ResolveActionWidgetTweakDBData() RTTI
  • void CreateCustomInteraction(game.device.Action[]? actions, string customName1, string customName2, TDBID? customID1, TDBID? customID2) RTTI
  • void SetInactiveWithReason(bool isActiveIf, string reason) RTTI
  • void SetInactiveReason(string reasonStr) RTTI
  • string GetInactiveReason() RTTI
  • void SetInactiveReasonAsCaption() RTTI
  • float GetDurationFromTDBRecord(TDBID record) RTTI
  • static bool IsDefaultConditionMet(ScriptableDeviceComponentPS device, game.GetActionsContext context) staticRTTI global
  • static bool IsClearanceValid(game.device.Clearance clearance) staticRTTI global
  • static bool IsAvailable(ScriptableDeviceComponentPS device) staticRTTI global