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-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);
|
|
|
|
})
|