From 8a44b3c4088a1d3a6720f1d9c47627d50d5ef39c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 23 Apr 2021 11:59:59 -0300 Subject: announce joining party --- backend.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'backend.js') 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) } -- cgit 1.3.0-6-gf8a5