EPOK RUNTIME
epok::LocalPlayer2DInputComponent
Class
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.
Class
Class declared by the character-input module for routed local-player command sources and derivable player presets.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "character_input.hpp"
epok::LocalPlayer2DInputComponent& value = /* obtain a valid instance from your game */;Fields and constants
allow_jumpExposes `allow_jump` on `epok::LocalPlayer2DInputComponent` for routed local-player command sources and derivable player presets.Fieldmax_speedExposes `max_speed` on `epok::LocalPlayer2DInputComponent` for routed local-player command sources and derivable player presets.FieldportExposes `port` on `epok::LocalPlayer2DInputComponent` for routed local-player command sources and derivable player presets.Fieldstatic_class_idExposes `static_class_id` on `epok::LocalPlayer2DInputComponent` for routed local-player command sources and derivable player presets.VariablePublic methods
calculate_commandPerforms `calculate command` as part of routed local-player command sources and derivable player presets.Methodclass_idPerforms `class id` as part of routed local-player command sources and derivable player presets.Methodcommand_submittedPerforms `command submitted` as part of routed local-player command sources and derivable player presets.Method