Epok Engine

EPOK RUNTIME

epok::bp::object

Function · 2 overloads

Function

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

Belongs to
epok::bp
Header
blueprint_spawn.hpp
Overloads
2

Declaration 1 of 2

Declaration
inline Object* object(DataHandle value)

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

ParameterTypeMeaning
valueDataHandleValue supplied for value. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "blueprint_spawn.hpp"

// Assume these named values have been initialized with valid data:
// DataHandle value

auto result = epok::bp::object(value);

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/blueprint_spawn.hpp:9

Declaration 2 of 2

Declaration
inline Object* object(ObjectId id)

Performs `object` 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: Object *. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "blueprint_spawn.hpp"

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

auto result = epok::bp::object(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/blueprint_spawn.hpp:8

Related members