diff options
Diffstat (limited to 'backend.js')
-rw-r--r-- | backend.js | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/backend.js b/backend.js index b629424..86da76e 100644 --- a/backend.js +++ b/backend.js @@ -690,8 +690,8 @@ export default class Backend extends EventEmitter { } = {}) { super() - this.playerName = playerName; - this.playerOptions = playerOptions; + this.playerName = playerName + this.playerOptions = playerOptions if (playerOptions.length && !playerName) { throw new Error(`Must specify playerName to specify playerOptions`); @@ -888,4 +888,16 @@ export default class Backend extends EventEmitter { showLogMessage(messageInfo) { this.emit('log message', messageInfo) } + + loadPartyGrouplike(partyGrouplike) { + this.emit('got party grouplike', partyGrouplike) + } + + shareWithParty(item) { + this.emit('share with party', item) + } + + partyGrouplikeUpdated(partyGrouplike) { + this.emit('party grouplike updated', partyGrouplike) + } } |