UNPKG

slp-enforcer

Version:

Finds violations of the Melee Controller Ruleset by inspecting SLP files

27 lines (26 loc) 715 B
/// <reference types="node" /> import type { EventPayloadTypes } from "../types"; import { Command } from "../types"; export declare enum SlpStreamMode { AUTO = "AUTO", MANUAL = "MANUAL" } declare const defaultSettings: { suppressErrors: boolean; mode: SlpStreamMode; }; export declare type SlpStreamSettings = typeof defaultSettings; export declare type MessageSizes = Map<Command, number>; export declare type SlpCommandEventPayload = { command: Command; payload: EventPayloadTypes | MessageSizes; }; export declare type SlpRawEventPayload = { command: Command; payload: Buffer; }; export declare enum SlpStreamEvent { RAW = "slp-raw", COMMAND = "slp-command" } export {};