Epok Engine

EPOK RUNTIME

epok::bp::find_class

Function · 1 overload

Function

Finds class as part of compiled Blueprint execution and object interaction.

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

Declaration

Declaration
inline const ClassDescriptor* find_class(ClassId id)

Finds class as part of compiled Blueprint execution and object interaction.

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

Returns: const ClassDescriptor *. 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:
// ClassId id

auto result = epok::bp::find_class(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:6

Related members