|
SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
|
Dispatched when a buddy is blocked or unblocked by the current user. More...
#include <SFSEvent.h>
Public Attributes | |
| std::shared_ptr< entities::Buddy > | buddy |
| The buddy that was blocked or unblocked. | |
Dispatched when a buddy is blocked or unblocked by the current user.
Sent in response to a requests::buddy::BlockBuddyRequest.
| std::shared_ptr<entities::Buddy> sfs3::event::BuddyBlock::buddy |
The buddy that was blocked or unblocked.
On an unblock the server ships the buddy's full data back (his Buddy Variables were hidden while he was blocked), so this is a new instance that replaced the previous one in the manager. On a block it is the existing instance, with its blocked flag changed.