-
Notifications
You must be signed in to change notification settings - Fork 0
Socket Event Tags
Emol edited this page Feb 24, 2017
·
1 revision
Format: Tag Name [emitted By Server or Client] [parameters example] description
-
JOIN_ROOM [C] [..]
a user joins a room -
JOIN_ROOM_SUCCESS [S] [room object]
the user joined room successfully -
MAP_CONFIG [C] [{'scenario':'Heading For New Shores'}]
the room owner set the scenario when creating the room, server replies with JOIN_ROOM_SUCCESS -
NEW_PLAYER_JOINED [S] [room object]
a new player just joined the room -
GAME_START [S] [room object]
enough players in the room, the game starts