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 `context sample` as part of the gameplay control module.
GameplayActionSample context_sample(InputCapture token,GameplayAction action,bool frame)Performs `context sample` as part of the gameplay control module.
| Parameter | Type | Meaning |
|---|---|---|
token | InputCapture | Not documented; consult the linked header. |
action | GameplayAction | Not documented; consult the linked header. |
frame | bool | 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:
// InputCapture token
// GameplayAction action
// bool frame
epok::GameplayControls& object = /* obtain a valid instance */;
auto result = object.context_sample(token, action, frame);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/gameplay_control.hpp:239
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_take_pressedPerforms `context take pressed` as part of the gameplay control module.Methoddiscard_tick_edgesPerforms `discard tick edges` as part of the gameplay control module.Method