sc2_datasets.replay_parser.tracker_events.tracker_event

Classes

Module Contents

class TrackerEvent
classmethod __subclasshook__(subclass: type) Literal[True] | types.NotImplementedType
abstract from_dict() TrackerEvent

Abstract method returning some TrackerEvent. This method helps with implementation, with the original JSON parsing.

Parameters:

d (dict) – Specifies a dictionary as available in the JSON file that is a result of pre-processing some .SC2Replay file.

Raises:

NotImplementedError – Raises an error if not implemented, this is only an abstract method.

Returns:

Returns a method sheet which must be implemented.

Return type:

TrackerEvent