|
SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
|
Dispatched when one of the Rooms joined by the current user is left by another user, or by the current user himself. More...
#include <SFSEvent.h>
Public Attributes | |
| std::shared_ptr< entities::User > | user |
| The user who left the Room. | |
| std::shared_ptr< entities::Room > | room |
| The Room that was left. | |
| bool | wasLastJoined |
| True if I left the Room returned by SmartFox::getLastJoinedRoom at the time the event was raised; always false when the exiting user is not myself. | |
Dispatched when one of the Rooms joined by the current user is left by another user, or by the current user himself.
It is caused by a requests::LeaveRoomRequest. The Room must be configured to fire this event, with the events setting passed at creation time.