Listen for the response from the server for the player list
This commit is contained in:
parent
08c59ef30c
commit
1bd4f55335
1 changed files with 5 additions and 0 deletions
|
|
@ -38,6 +38,11 @@ export default {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
sockets: {
|
sockets: {
|
||||||
|
PlayerListResponse(data) {
|
||||||
|
if (data.success) {} else {
|
||||||
|
this.$emit(`alert`)
|
||||||
|
}
|
||||||
|
},
|
||||||
PlayerJoin() {},
|
PlayerJoin() {},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue