uncategorized replayData - wxyz-abcd/node-haxball GitHub Wiki
ReplayReader
The structure that holds all of the data inside a replay file.
Properties
roomData
: The initialRoomState
of the replay, including all the information about the current stadium, game state, players, etc.events
: Array that contains all events in this replay ordered by their respectiveframeNo
.goalMarkers
: Array that contains all goal markers ordered by their respectiveframeNo
in this format:{ teamId: int, frameNo: int }
.totalFrames
: Total number of frames in this replay.version
: Version number of the replay. Must currently be equal to3
.