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 `frame sample` as part of the gameplay control module.
static GameplayActionSample frame_sample(GameplayAction action,uint32_t port)Performs `frame sample` as part of the gameplay control module.
| Parameter | Type | Meaning |
|---|---|---|
action | GameplayAction | Not documented; consult the linked header. |
port | uint32_t | Not documented; consult the linked header. |
Returns: GameplayActionSample. Consult the linked header for its meaning.
#include "gameplay_control.hpp"
// Assume these named values have been initialized with valid data:
// GameplayAction action
// uint32_t port
auto result = epok::GameplayInputLibrary::frame_sample(action, port);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/gameplay_control.hpp:278
all_actionsPerforms `all actions` as part of the gameplay control module.MethodaxisPerforms `axis` as part of the gameplay control module.Methodaxis_rawPerforms `axis raw` as part of the gameplay control module.Methodaxis_valuePerforms `axis value` 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_frame_pressedPerforms `button frame pressed` as part of the gameplay control module.Methodbutton_heldPerforms `button held` as part of the gameplay control module.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.Method