2021-07-05 14:41:10 +02:00
|
|
|
WA.onInit().then(() => {
|
|
|
|
console.log('id: ', WA.room.id);
|
|
|
|
console.log('Map URL: ', WA.room.mapURL);
|
|
|
|
console.log('Player name: ', WA.player.name);
|
|
|
|
console.log('Player id: ', WA.player.id);
|
|
|
|
console.log('Player tags: ', WA.player.tags);
|
2021-12-01 16:38:34 +01:00
|
|
|
console.log('Player token: ', WA.player.userRoomToken);
|
2021-07-05 14:41:10 +02:00
|
|
|
});
|
|
|
|
|
2021-07-21 16:40:53 +02:00
|
|
|
WA.room.getTiledMap().then((data) => {
|
2021-07-05 14:41:10 +02:00
|
|
|
console.log('Map data', data);
|
|
|
|
})
|