tiny-dungeon-online
tiny-dungeon-online copied to clipboard
Optimize common messages
The method "unicastMessage" (server\clientHandler.ts) is used for a couple of things, like dialogs. Another use is for error or warning messages. We could optimize the data transferring of those messages, placing them on the client and just sending their "id" from the server (and not the full message)