UNPKG

moomooio-client

Version:

MooMooIO-Client is a client-side wrapper API designed for the game MooMoo.io. This package aims to provide a simple yet powerful API for creating clones, mods, or plugins for MooMoo.io.

17 lines (14 loc) 511 B
/** * @packet-id "*" * @description **Unknown** is a signal for a raw packet that hasn't been `processed` or `dealt` with __correctly__. * @member `content` is just the raw structure of that packet. */ export default class Unknown { public static readonly PACKET_ID = "*"; public static readonly PACKET_NAME = "Unknown"; public readonly PACKET_NAME = "Unknown"; constructor(readonly content: unknown) {} static parse(data: unknown): Unknown { return new Unknown(data); } }