Epok Engine

EPOK RUNTIME

epok::load_actor_bank

Function · 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.

Function

Loads actor bank as part of the actor tables module.

Belongs to
epok
Header
actor_tables.hpp
Overloads
1

Declaration

Declaration
inline size_t load_actor_bank(const ActorTable& table,ActorData* slots,size_t count)

Loads actor bank as part of the actor tables module.

ParameterTypeMeaning
tableconst ActorTable &Not documented; consult the linked header.
slotsActorData *Not documented; consult the linked header.
countsize_tNot documented; consult the linked header.

Returns: size_t. Consult the linked header for its meaning.

Example sketch

C++ example
#include "actor_tables.hpp"

// Assume these named values have been initialized with valid data:
// const ActorTable & table
// ActorData * slots
// size_t count

auto result = epok::load_actor_bank(table, slots, count);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/actor_tables.hpp:169

Related members