Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //handle client connection
- socket.on("connection", function(client) {
- debug.log("Client connected to socket!");
- //handle login events
- login.handle(client, connection);
- register.handle(client, connection);
- //handle game events
- sale.handle(client, socket, connection);
- update.handle(client);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement