diff options
Diffstat (limited to 'backend.js')
-rw-r--r-- | backend.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/backend.js b/backend.js index 817ce1d..dea4429 100644 --- a/backend.js +++ b/backend.js @@ -701,6 +701,8 @@ export default class Backend extends EventEmitter { this.alwaysStartPaused = false this.waitWhenDonePlaying = false + this.hasAnnouncedJoin = false + this.recordStore = new RecordStore() this.throttleMetadata = throttlePromise(10) this.metadataDictionary = {} @@ -889,6 +891,14 @@ export default class Backend extends EventEmitter { this.emit('log message', messageInfo) } + announceJoinParty() { + this.emit('announce join party') + } + + setHasAnnouncedJoin(hasAnnouncedJoin) { + this.hasAnnouncedJoin = hasAnnouncedJoin + } + loadPartyGrouplike(socketId, partyGrouplike) { this.emit('got party grouplike', socketId, partyGrouplike) } |