octane-0.20.3: Parse Rocket League replays.

Octane.Type.Replay

Synopsis

# Documentation

data Replay Source #

A fully-processed, optimized replay.

Constructors

 Replay FieldsreplayVersion :: Version replayMetadata :: Map Text PropertyHigh-level metadata about the replay. Only one key is actually required to be able to view the replay in Rocket League:MapName: This is a NameProperty. It is a case-insensitive map identifier, like Stadium_P.There are many other properties that affect how the replay looks in the list of replays in Rocket League:Date: A StrProperty with the format YYYY-mm-dd:HH-MM. Dates are not validated, but the month must be between 1 and 12 to show up. The hour is shown modulo 12 with AM or PM.MatchType: A NameProperty. If this is not one of the expected values, nothing will be shown next to the replay's map. The expected values are: Online, Offline, Private, and Season.NumFrames: This IntProperty is used to calculate the length of the match. There are 30 frames per second, meaning 9000 frames is a 5-minute match.PrimaryPlayerTeam: This is an IntProperty. It is either 0 (blue) or 1 (orange). Any other value is ignored. If this would be 0, you don't have to set it at all.ReplayName: An optional StrProperty with a user-supplied name for the replay.Team0Score: The blue team's score as an IntProperty. Can be omitted if the score is 0.Team1Score: The orange team's score as an IntProperty. Can also be omitted if the score is 0.TeamSize: An IntProperty with the number of players per team. This value is not validated, so you can put absurd values like 99. To get an "unfair" team size like 1v4, you must set the "bUnfairBots" BoolProperty to True.replayLevels :: [Text] replayMessages :: Map Text Text replayTickMarks :: Map Text Text replayPackages :: [Text] replayFrames :: [Frame]

Instances