InteractiveDevice
classscriptedClass
extends Device › DeviceBase › GameObject › GameEntity › Entity › IScriptable › ISerializable
Extended by 54 types
ActivatedDeviceTransfromAnim AnimatedSign ArcadeMachine BaseAnimatedDevice BasicDistractionDevice BillboardDevice CandleDevice ChestPress DataTerm DisassemblableEntitySimple DisplayGlass DisposalDevice Door forklift Frame Fridge GameplayLight GenericDevice HoloDevice HoloFeeder HoloTable InteractiveAd InteractiveMasterDevice Intercom JudysDoor Jukebox Ladder LcdScreen MovableDevice NcartTimetable NetrunnerChair NumericDisplay OdaCementBag PerkTraining PlatformDevice Portal Radio RoadBlock RoboticArms SecurityGateLock SecurityLocker ServerNode Speaker Stash StaticPlatform Stillage Toilet TV VendingMachine VendingTerminal Wardrobe WeakFence WeaponTraining WindowBlinders
Properties 10
| Name | Type | Flags |
|---|---|---|
actionRestrictionCallbackID | ref<CallbackHandle> | scriptedprivate |
actionRestrictionPlayerBB | wref<IBlackboard> | scriptedprivate |
delayedUIRefreshID | DelayID | scriptedprotected |
disableAreaIndicatorDelayActive | Bool | scriptedprotected |
disableAreaIndicatorID | DelayID | scriptedprotected |
interaction | ref<InteractionComponent> | scriptedprotected |
interactionIndicator | ref<gameLightComponent> | scriptedprotected |
investigationData | array<InvestigationData> | scriptedprivate |
isPlayerAround | Bool | scriptedprivate |
objectActionsCallbackCtrl | ref<gameObjectActionsCallbackController> | scriptedprivate |
Methods 55
protected func ActivateDevice()scripted
private final func CreateObjectActionsCallbackController(instigator: wref<Entity>)scripted
protected func CutPower()scripted
protected func DeactivateDevice()scripted
private final func DestroyObjectActionsCallbackController()scripted
protected func DetermineInteractionState(opt context: GetActionsContext)scripted
private final func EstimateIfPlayerEntersOrLeaves(evt: ref<InteractionActivationEvent>)scripted
protected const func GetCachedInvestigationPositionsArray(globalNodeRef: GlobalNodeRef) -> array<Vector4>scripted
private final const func GetInvestigationDataIndexFor(globalNodeRef: GlobalNodeRef) -> Int32scripted
public const func GetNetworkBeamEndpoint() -> Vector4scripted
private final func GetPlayerStateMachineBB(requester: ref<GameObject>) -> ref<IBlackboard>scripted
protected const func HasAnyDirectInteractionActive() -> Boolscripted
protected const func HasInvestigationPositionsArrayCached(globalNodeRef: GlobalNodeRef) -> Boolscripted
public const func IsPlayerAround() -> Boolscripted
public const func IsReadyForUI() -> Boolscripted
protected cb func OnAction(action: ListenerAction, consumer: ListenerActionConsumer) -> Boolscripted
protected cb func OnActionRestrictionChanged(value: Variant) -> Boolscripted
protected cb func OnDelayedUIRefreshEvent(evt: ref<DelayedUIRefreshEvent>) -> Boolscripted
protected cb func OnDetach() -> Boolscripted
protected func OnDirectInteractionActive(evt: ref<InteractionActivationEvent>, isInteractionActive: Bool)scripted
protected cb func OnEMPEnded(evt: ref<EMPEnded>) -> Boolscripted
protected cb func OnEMPHitEvent(evt: ref<EMPHitEvent>) -> Boolscripted
protected cb func OnForceUIRefreshEvent(evt: ref<ForceUIRefreshEvent>) -> Boolscripted
protected cb func OnInteractionActivated(evt: ref<InteractionActivationEvent>) -> Boolscripted
protected cb func OnInteractionUsed(evt: ref<InteractionChoiceEvent>) -> Boolscripted
protected cb func OnLogicReady(evt: ref<SetLogicReadyEvent>) -> Boolscripted
protected cb func OnObjectActionRefreshEvent(evt: ref<gameObjectActionRefreshEvent>) -> Boolscripted
protected cb func OnPerformedAction(evt: ref<PerformedAction>) -> Boolscripted
protected cb func OnRequestComponents(ri: EntityRequestComponentsInterface) -> Boolscripted
protected cb func OnSetUICameraZoomEvent(evt: ref<SetUICameraZoomEvent>) -> Boolscripted
protected cb func OnTakeControl(ri: EntityResolveComponentsInterface) -> Boolscripted
protected cb func OnToggleUIInteractivity(evt: ref<ToggleUIInteractivity>) -> Boolscripted
protected cb func OnUIRefreshedEvent(evt: ref<UIRefreshedEvent>) -> Boolscripted
protected cb func OnUIUnstreamedEvent(evt: ref<UIUnstreamedEvent>) -> Boolscripted
protected func OnVisibilityChanged()scripted
private final func PrintWorldSpaceDebug()scripted
protected final func RefreshInteraction(requestType: gamedeviceRequestType, executor: wref<GameObject>)scripted
protected final func RefreshInteractionTask(data: ref<ScriptTaskData>)scripted
protected func RefreshUI(opt isDelayed: Bool)scripted
private final func RegisterActionRestrictionCallback()scripted
private final func RequestDebuggerRegistration(activator: ref<ScriptedPuppet>)scripted
protected func ResetChoicesByEvent()scripted
protected func SetInvestigationPositionsArray(globalNodeRef: GlobalNodeRef, arr: script_ref<array<Vector4>>)scripted
protected func SetIsDoorInteractionActiveBB(evt: ref<InteractionActivationEvent>, isActive: Bool)scripted
protected func StartUsing()scripted
protected func StopUsing()scripted
protected final func ToggleDirectLayer(input: Bool)scripted
protected final func ToggleLogicLayer(input: Bool)scripted
protected func TurnOffDevice()scripted
protected func TurnOffIndicator()scripted
protected func TurnOnDevice()scripted
protected func TurnOnIndicator()scripted
private final func UnregisterActionRestrictionCallback()scripted
private final func UpdateDebugInfo()scripted
protected func UpdateDeviceState(opt isDelayed: Bool) -> Boolscripted