Epok Engine

EPOK RUNTIME

epok::gameplay_card_slot_name

Function · 1 overload

Function

Performs `gameplay card slot name` as part of the gameplay api module.

Belongs to
epok
Header
gameplay_api.hpp
Overloads
1

Declaration

Declaration
inline const char* gameplay_card_slot_name(uint32_t slot)

Performs `gameplay card slot name` as part of the gameplay api module.

ParameterTypeMeaning
slotuint32_tValue supplied for slot. Keep referenced or pointed-to data valid for the complete call.

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

Example

C++ example
#include "gameplay_api.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t slot

auto result = epok::gameplay_card_slot_name(slot);

Why use it

It provides direct, allocation-conscious access to the gameplay api module. 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/gameplay_api.hpp:122

Related members