EPOK RUNTIME
epok::InteractableComponent
Class
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Class
Class declared by the interaction module for the interaction module.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "interaction.hpp"
epok::InteractableComponent& value = /* obtain a valid instance from your game */;Fields and constants
enabledExposes `enabled` on `epok::InteractableComponent` for the interaction module.Fieldinteraction_linkExposes `interaction_link` on `epok::InteractableComponent` for the interaction module.FieldpriorityExposes `priority` on `epok::InteractableComponent` for the interaction module.Fieldprompt_keyExposes `prompt_key` on `epok::InteractableComponent` for the interaction module.Fieldrange_2dExposes `range_2d` on `epok::InteractableComponent` for the interaction module.Fieldrange_3dExposes `range_3d` on `epok::InteractableComponent` for the interaction module.Fieldselection_orderThe cook assigns the rank of the persistent component UUID unless overridden.Fieldstatic_class_idExposes `static_class_id` on `epok::InteractableComponent` for the interaction module.VariablePublic methods
~InteractableComponentReleases the resources owned by `epok::InteractableComponent`.destructoravailabilityPerforms `availability` as part of the interaction module.Methodcan_interactPerforms `can interact` as part of the interaction module.Methodclass_idPerforms `class id` as part of the interaction module.MethodcompletePerforms `complete` as part of the interaction module.Methodfocus_gainedPerforms `focus gained` as part of the interaction module.Methodfocus_lostPerforms `focus lost` as part of the interaction module.Methodhold_openPerforms `hold open` as part of the interaction module.Methodinteraction_finishedPerforms `interaction finished` as part of the interaction module.Methodinteraction_startedPerforms `interaction started` as part of the interaction module.Methodis_busyReports whether busy as part of the interaction module.Methodlevel_attachedPerforms `level attached` as part of the interaction module.Methodprune_lifetimePerforms `prune lifetime` as part of the interaction module.MethodrequestRequests request as part of the interaction module.Methodset_enabledSets enabled as part of the interaction module.Method