"""
This module holds dynamically generated classes.
For more info see protocol.py and protocol.json.
"""
# =============================================================================
# >> IMPORTS
# =============================================================================
# obs-ws-rc
from .struct import Struct, StructField, StructMeta
# =============================================================================
# >> GLOBAL VARIABLES
# =============================================================================
# All classes that inherit from BaseEvent will be available by their names
# in this dictionary
events = {}
# =============================================================================
# >> BASE CLASSES
# =============================================================================
[docs]class BaseEvent(Struct, metaclass=BaseEventMeta):
@property
def type_name(self):
raise NotImplementedError