EPOK RUNTIME
epok::PickupComponent
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 world-gameplay module for the world gameplay 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 "world_gameplay.hpp"
epok::PickupComponent& value = /* obtain a valid instance from your game */;Fields and constants
accepted_initiatorExposes `accepted_initiator` on `epok::PickupComponent` for the world gameplay module.Fieldauto_collectExposes `auto_collect` on `epok::PickupComponent` for the world gameplay module.Fieldcollected_flagExposes `collected_flag` on `epok::PickupComponent` for the world gameplay module.Fielddeactivate_on_collectExposes `deactivate_on_collect` on `epok::PickupComponent` for the world gameplay module.Fieldinput_portExposes `input_port` on `epok::PickupComponent` for the world gameplay module.Fieldstatic_class_idExposes `static_class_id` on `epok::PickupComponent` for the world gameplay module.VariablePublic methods
begin_playBegins play as part of the world gameplay module.Methodcan_collectPerforms `can collect` as part of the world gameplay module.Methodcan_interactPerforms `can interact` as part of the world gameplay module.Methodclass_idPerforms `class id` as part of the world gameplay module.MethodcollectPerforms `collect` as part of the world gameplay module.MethodcollectedPerforms `collected` as part of the world gameplay module.Methodinteraction_startedKeep the once-only state transition native.Methodis_collectedReports whether collected as part of the world gameplay module.Methodreset_collectionResets collection as part of the world gameplay module.Methodtrigger_eventPerforms `trigger event` as part of the world gameplay module.Method