Forum ‹ Multiplayer ‹ Will player.send ALWAYS occur AFTER denying AllowUserJoin?
2 posts
• Page 1 of 1
Will player.send ALWAYS occur AFTER denying AllowUserJoin?
Will player.send ALWAYS occur AFTER denying AllowUserJoin?
Since even if I'm not allowed to join into a room, I get a success callback in the client, I created a messageHandler of "RoomFull", and when denied, this handler pops up.
Can I rely on the assumption the handler will never pop before I got the success callback, and by that, miss the "RoomFull" message?
Since even if I'm not allowed to join into a room, I get a success callback in the client, I created a messageHandler of "RoomFull", and when denied, this handler pops up.
Can I rely on the assumption the handler will never pop before I got the success callback, and by that, miss the "RoomFull" message?
- trueicecold
- Posts: 11
- Joined: October 10th, 2011, 1:53 pm
Re: Will player.send ALWAYS occur AFTER denying AllowUserJoi
Anything you .Send() to the user inside the AllowUserJoin method will reach the client before the connection is disconnected if you return false in AllowUserJoin.
- Oliver
- Oliver
-

Oliver - .IO
- Posts: 1136
- Joined: January 12th, 2010, 8:29 am
2 posts
• Page 1 of 1