TM::InputEvent Class

The TM::InputEvent class exposes the native format in which the game stores a single input event.

The Time property contains the race time at which the event occurred. The events are additionally offset from the original value, by the base time of RaceRunning event which typically will have the value of 100000. This means that every event following the RaceRunning event will have its Time member offset by 100000. The earliest player made event (that is if the player holds the accelerate button from the start) will have a Time value of 100010. TMInterface input time is therefore offset by one tick back, so this input would be serialized to 0 press up.

The Value property describes the event type and its value. See TM::InputEventValue for more information.


Behaviors

~TM::InputEvent()
TM::InputEvent()

Methods

Properties

uint Time
TM::InputEventValue Value