Advertisement
Guest User

Untitled

a guest
Nov 26th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. //handle client connection
  2. socket.on("connection", function(client) {
  3. debug.log("Client connected to socket!");
  4.  
  5. //handle login events
  6. login.handle(client, connection);
  7. register.handle(client, connection);
  8.  
  9. //handle game events
  10. sale.handle(client, socket, connection);
  11. update.handle(client);
  12. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement