Refactor and fix error hydration message socket io
authorgparant <g.parant@thecodingmachine.com>
Sat, 4 Apr 2020 14:25:03 +0000 (16:25 +0200)
committergparant <g.parant@thecodingmachine.com>
Sat, 4 Apr 2020 14:25:03 +0000 (16:25 +0200)
commite8da727cae4037ec9b13326ae2f2bf754f52cfbc
treec5d4c0ad751248031c6c14a2c5aa101731879670
parentba47d8b1d483ffd65879ece10859f4e06fc5a8db
Refactor and fix error hydration message socket io

 - Position message send will be on format :
message :
                    userId : user identification
                    roomId: room identification
                    position: position of user in map
                        x: user x position on map
                        y: user y position on map
 - Create Point object and interface to have position x and y of user in map.
back/src/Controller/IoSocketController.ts
back/src/Model/Websocket/ExSocketInterface.ts
back/src/Model/Websocket/MessageUserPosition.ts
back/src/Model/Websocket/PointInterface.ts [new file with mode: 0644]
back/tsconfig.json