Disconnect and leaveRoom
Posted: 01 Nov 2011, 18:54
Hi Guys!
I am not really sure about something.
Lets say I have a room extension.
Will the USER_LEAVE_ROOM always be fired before USER_DISCONNECT?
In my game room, I have to make sure when a host leaves to make someone else the host.
However, I get this feeling USER_LEAVE_ROOM will not always be fired.
By example, when someone just closes his window.
Will that only fire USER_DISCONNECT, or USER_LEAVE_ROOM too?
Please answer this simple question fast, I am close to release lol
I am not really sure about something.
Lets say I have a room extension.
Will the USER_LEAVE_ROOM always be fired before USER_DISCONNECT?
In my game room, I have to make sure when a host leaves to make someone else the host.
However, I get this feeling USER_LEAVE_ROOM will not always be fired.
By example, when someone just closes his window.
Will that only fire USER_DISCONNECT, or USER_LEAVE_ROOM too?
Please answer this simple question fast, I am close to release lol