TM::InputEventBuffer Class
InputEventBuffer provides access to the game’s current inputs.
In race mode, the game appends player inputs as they come in, which means that the length of the buffer can grow from step to step. Any input injection through SetInputState will also be reflected in this buffer one tick later.
Methods
void Add(const TM::InputEvent&in event)void Clear()void RemoveAt(uint index, uint count = 1)uint get_Length()TM::InputEvent& opIndex(uint index)const TM::InputEvent& opIndex(uint index)array<uint>@ Find(int inputTime = - 1, InputType type = InputType :: None, int value = Math :: INT_MAX)string ToCommandsText(InputFormatFlags flags = InputFormatFlags :: Default)