diff options
author | (quasar) nebula <towerofnix@gmail.com> | 2021-04-23 11:59:59 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-16 22:00:46 -0300 |
commit | 8a44b3c4088a1d3a6720f1d9c47627d50d5ef39c (patch) | |
tree | cbb6ff07575b7d65390e817e53118718f01c6b0a /backend.js | |
parent | b64d923daa2aad9ca848dd8ff57c016a51ac5383 (diff) |
announce joining party
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) } |