sc2_datasets.replay_parser.game_events.game_events_parser¶
Classes¶
Module Contents¶
- class GameEventsParser¶
- static from_dict(d: dict) sc2_datasets.replay_parser.game_events.game_event.GameEvent¶
Static method returning an initialized GameEvent class obtained from a dictionary. This method assists in parsing the original JSON data derived from pre-processing an .SC2Replay file.
- Parameters:
d (Dict) – A dictionary representing the data available in the JSON file, derived from preprocessing some .SC2Replay file.
- Returns:
An initialized instance of the GameEvent class.
- Return type: