12 lines
389 B
TypeScript
12 lines
389 B
TypeScript
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;
|