from .base import Packet class Packet100OpenWindow(Packet, packet_id=100): __slots__ = ('window_id', 'inv_type', 'title', 'slots') FIELDS = [ ('window_id', 'ubyte'), ('inv_type', 'ubyte'), ('title', 'str'), ('slots', 'ubyte'), ]