Epok Engine

EPOK RUNTIME

epok::bp::data_handle

Function · 1 overload

Function

Performs `data handle` as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp
Header
actor_blueprint.hpp
Overloads
1

Declaration

Declaration
inline DataHandle data_handle(ObjectId id)

Performs `data handle` as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
idObjectIdValue supplied for id. Keep referenced or pointed-to data valid for the complete call.

Returns: DataHandle. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "actor_blueprint.hpp"

// Assume these named values have been initialized with valid data:
// ObjectId id

auto result = epok::bp::data_handle(id);

Why use it

It provides direct, allocation-conscious access to compiled Blueprint execution and object interaction. No exception-based error path is implied by the signature.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in runtime/actor_blueprint.hpp:24

Related members