Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
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.
Performs `on trigger` as part of the object model module.
virtual void on_trigger(DataHandle other, TriggerPhase phase)Performs `on trigger` as part of the object model module.
| Parameter | Type | Meaning |
|---|---|---|
other | DataHandle | Not documented; consult the linked header. |
phase | TriggerPhase | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "object_model.hpp"
// Assume these named values have been initialized with valid data:
// DataHandle other
// TriggerPhase phase
epok::ActorComponent& object = /* obtain a valid instance */;
object.on_trigger(other, phase);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/object_model.hpp:593
attach_slotPerforms `attach slot` as part of the object model module.Methodbegin_playBegins play as part of the object model module.Methodblueprint_observePerforms `blueprint observe` as part of the object model module.Methodclass_idPerforms `class id` as part of the object model module.Methodend_playEnds play as part of the object model module.Methodframe_updatePerforms `frame update` as part of the object model module.Methodget_ownerReturns owner as part of the object model module.Methodlevel_attachedRuntime hook, not reflected: the Level just bound this component to its owner.MethodnamePerforms `name` as part of the object model module.Methodon_disablePerforms `on disable` as part of the object model module.Methodon_enablePerforms `on enable` as part of the object model module.Methodon_framePerforms `on frame` as part of the object model module.Method