Add method for requesting the player list.

This commit is contained in:
Oliver-Akins 2020-09-28 22:32:26 -06:00
parent 82140af56d
commit 24c5220843

View file

@ -21,7 +21,13 @@ export default {
data() {return {
players: []
}},
methods: {},
methods: {
getPlayerList() {
this.$socket.emit(`GetPlayerList`, {
game_code: this.game_code,
});
},
},
sockets: {
PlayerJoin() {},
},