Files
node-metaverse/dist/classes/ClientEvents.js
Casper Warden 960f024ea4 More refactoring stuff
- Add a waitForEventQueue promise, to get rid of the 5 second fudge from testBot.js
- Async'ify testBot.js
- Complete plumbing for Hint's ScriptDialog support (see changes to ScriptDialogEvent.ts and Comms.ts
- Fix: The EventQueue was pausing for 5 seconds every 30 seconds
2018-10-07 17:06:54 +01:00

24 lines
1.1 KiB
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Subject_1 = require("rxjs/Subject");
class ClientEvents {
constructor() {
this.onNearbyChat = new Subject_1.Subject();
this.onInstantMessage = new Subject_1.Subject();
this.onGroupInvite = new Subject_1.Subject();
this.onFriendRequest = new Subject_1.Subject();
this.onInventoryOffered = new Subject_1.Subject();
this.onLure = new Subject_1.Subject();
this.onTeleportEvent = new Subject_1.Subject();
this.onDisconnected = new Subject_1.Subject();
this.onCircuitLatency = new Subject_1.Subject();
this.onGroupChat = new Subject_1.Subject();
this.onGroupChatSessionJoin = new Subject_1.Subject();
this.onGroupChatAgentListUpdate = new Subject_1.Subject();
this.onFriendResponse = new Subject_1.Subject();
this.onScriptDialog = new Subject_1.Subject();
this.onEventQueueStateChange = new Subject_1.Subject();
}
}
exports.ClientEvents = ClientEvents;
//# sourceMappingURL=ClientEvents.js.map