sc2_datasets.replay_parser.message_events.message_event

Classes

Module Contents

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

Abstract method returning a MessageEvent. This method assists in the implementation for original JSON parsing.

Parameters:

d (dict) – Specifies a dictionary holding translations of a phrase or sentence.

Raises:

NotImplementedError – If not implemented, this abstract method raises an error.

Returns:

A method sheet that must be implemented.

Return type:

MessageEvent