implemented the admin websocket

now send data
This commit is contained in:
arp 2020-10-16 14:36:43 +02:00
parent 84566f08f3
commit 75d9ed8dfa
8 changed files with 124 additions and 28 deletions

View file

@ -85,7 +85,7 @@ export class GameRoom {
}
public join(socket : ExSocketInterface, userPosition: PointInterface): void {
const user = new User(socket.userId, userPosition, false, this.positionNotifier, socket);
const user = new User(socket.userId, socket.userUuid, userPosition, false, this.positionNotifier, socket);
this.users.set(socket.userId, user);
// Let's call update position to trigger the join / leave room
//this.updatePosition(socket, userPosition);