Skip to main content

parse_victory_objectives

Function parse_victory_objectives 

Source
pub fn parse_victory_objectives(text: &str) -> Result<Vec<VictoryObjectives>>
Expand description

Parses the victory objectives of a victory_objectives.txt script.

§Errors

Returns an error if the script is malformed, or uses an objective or payload that isn’t supported.