Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 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.
Performs `mask` as part of the gameplay control module.
static constexpr uint32_t mask(GameplayAction action)Performs `mask` as part of the gameplay control module.
| Parameter | Type | Meaning |
|---|---|---|
action | GameplayAction | Not documented; consult the linked header. |
Returns: uint32_t. Consult the linked header for its meaning.
#include "gameplay_control.hpp"
// Assume these named values have been initialized with valid data:
// GameplayAction action
auto result = epok::GameplayControls::mask(action);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/gameplay_control.hpp:164
all_actionsPerforms `all actions` as part of the gameplay control module.Methodaxis_rawPerforms `axis raw` as part of the gameplay control module.Methodbegin_frameBegins frame as part of the gameplay control module.Methodbegin_tickBegins tick as part of the gameplay control module.Methodbind_axisPerforms `bind axis` as part of the gameplay control module.Methodbind_buttonPerforms `bind button` as part of the gameplay control module.Methodbutton_heldTemporary physical-source adapters for the existing controller templates.Methodbutton_pressedPerforms `button pressed` as part of the gameplay control module.MethodcapturePerforms `capture` as part of the gameplay control module.MethodcapturedPerforms `captured` as part of the gameplay control module.Methodcontext_samplePerforms `context sample` as part of the gameplay control module.Methodcontext_take_pressedPerforms `context take pressed` as part of the gameplay control module.Method