Files
node-metaverse/dist/classes/commands/CommunicationsCommands.d.ts
Casper Warden 9eee7f9716 - Implement 3D space rtree-based indexing in the Full ObjectStore
- Implement ScriptDialogReply thanks to Hintswen
- Add a rudimentary object search - doesn't work fully yet because of the missing messages
2018-10-12 17:31:14 +01:00

21 lines
1.2 KiB
TypeScript

import { CommandsBase } from './CommandsBase';
import { UUID } from '../UUID';
import { ChatType } from '../../enums/ChatType';
import { ScriptDialogEvent } from '../..';
export declare class CommunicationsCommands extends CommandsBase {
sendInstantMessage(to: UUID | string, message: string): Promise<void>;
nearbyChat(message: string, type: ChatType, channel?: number): Promise<void>;
say(message: string, channel?: number): Promise<void>;
whisper(message: string, channel?: number): Promise<void>;
shout(message: string, channel?: number): Promise<void>;
startTypingLocal(): Promise<void>;
stopTypingLocal(): Promise<void>;
startTypingIM(to: UUID | string): Promise<void>;
stopTypingIM(to: UUID | string): Promise<void>;
typeInstantMessage(to: UUID | string, message: string, thinkingTime?: number, charactersPerSecond?: number): Promise<void>;
typeLocalMessage(message: string, thinkingTime?: number, charactersPerSecond?: number): Promise<void>;
startGroupChatSession(sessionID: UUID | string, message: string): Promise<void>;
sendGroupMessage(groupID: UUID | string, message: string): Promise<number>;
respondToScriptDialog(event: ScriptDialogEvent, buttonIndex: number): Promise<void>;
}