Epok Engine

EPOK RUNTIME

epok::bp::api::destroy

Function · 1 overload

Function

Destroys destroy as part of compiled Blueprint execution and object interaction.

Belongs to
epok::bp::api
Header
blueprint_api.hpp
Overloads
1

Declaration

Declaration
inline void destroy(ObjectId target)

Destroys destroy as part of compiled Blueprint execution and object interaction.

ParameterTypeMeaning
targetObjectIdValue supplied for target. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "blueprint_api.hpp"

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

epok::bp::api::destroy(target);

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_api.hpp:68

Related members