Ping / circuit latency, break out commands, add typing function for IM, add thinkingTime and charactersPerSecond parameters to typing functions

This commit is contained in:
Casper Warden
2017-12-13 19:55:08 +00:00
parent af71aa597e
commit 4e8feb181f
96 changed files with 2151 additions and 935 deletions

View File

@@ -1,20 +1,10 @@
import { Circuit } from './Circuit';
import { Agent } from './Agent';
import { ChatType } from '../enums/ChatType';
import { UUID } from './UUID';
import { ClientEvents } from './ClientEvents';
export declare class Comms {
private circuit;
private agent;
private clientEvents;
constructor(circuit: Circuit, agent: Agent, clientEvents: ClientEvents);
nearbyChat(message: string, type: ChatType, channel?: number): void;
say(message: string, channel?: number): void;
whisper(message: string, channel?: number): void;
shout(message: string, channel?: number): void;
startTypingLocal(): void;
stopTypingLocal(): void;
typeMessage(message: string): void;
shutdown(): void;
sendInstantMessage(to: UUID | string, message: string): Promise<void>;
}