12 lines
389 B
TypeScript
Raw Normal View History

2021-02-07 20:01:37 +01:00
import { ConnectionHandler } from "../../ConnectionHandler";
export interface ServerEntry {
source: ConnectionHandler;
add_message(invoker: PokeInvoker, message: string): any;
}
export declare type PokeInvoker = {
name: string;
id: number;
unique_id: string;
};
export declare function spawnPoke(source: ConnectionHandler, invoker: PokeInvoker, message: string): void;