sc2_datasets.replay_parser.game_events.game_event¶
Classes¶
Module Contents¶
- class GameEvent¶
- classmethod __subclasshook__(subclass: type) Literal[True] | types.NotImplementedType¶
- abstract from_dict() GameEvent¶
Abstract method that returns a GameEvent object. This method aids in implementation, specifically in the context of parsing original JSON data.
- Parameters:
d (Dict) – A dictionary obtained from pre-processing an .SC2Replay file, available in the JSON format.
- Raises:
NotImplementedError – If the method remains unimplemented, this error is raised.
- Returns:
A method sheet that must be implemented.
- Return type: