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 `publish actor` as part of the gameplay api module.
bool publish_actor(ObjectId actor)Performs `publish actor` as part of the gameplay api module.
| Parameter | Type | Meaning |
|---|---|---|
actor | ObjectId | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "gameplay_api.hpp"
// Assume these named values have been initialized with valid data:
// ObjectId actor
epok::SpatialQueryContextComponent& object = /* obtain a valid instance */;
auto result = object.publish_actor(actor);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/gameplay_api.hpp:415
batchNative consumers can share the same kernel without copying a snapshot.Methodbegin_playBegins play as part of the gameplay api module.Methodclass_idPerforms `class id` as part of the gameplay api module.Methodend_playEnds play as part of the gameplay api module.Methodlive_batchPerforms `live batch` as part of the gameplay api module.MethodmovePerforms `move` as part of the gameplay api module.Methodon_disablePerforms `on disable` as part of the gameplay api module.Methodon_enablePerforms `on enable` as part of the gameplay api module.Methodraycast_pairPerforms `raycast pair` as part of the gameplay api module.Methodraycast_segmentPerforms `raycast segment` as part of the gameplay api module.Methodreset_queriesResets queries as part of the gameplay api module.MethodtickPerforms `tick` as part of the gameplay api module.Method