so i want to ask you a question: How i can get player in client? Because i see in your classes like this:
Emit to client
Method: player.emit(key,value)
Arguments:
{string} key. (Optional: false)
{any} value. (Optional: false)
Return: void
Usage:
Emit data to clients with socket
#Listen to data from the client
Method: player.on(key,cb)
Arguments:
{string} key. (Optional: false)
{function} cb. (Optional: false)
Return: void
Usage:
Listen to the data (socket) sent by the client