|
SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
|
Dispatched when a buddy updates one or more of his Buddy Variables. More...
#include <SFSEvent.h>
Public Attributes | |
| std::shared_ptr< entities::Buddy > | buddy |
| The buddy who updated his variables. | |
| bool | isItMe |
| True if the current user is the one who updated his variables. | |
| std::vector< std::string > | changedVars |
| The names of the Buddy Variables that were updated, or created for the first time. | |
Dispatched when a buddy updates one or more of his Buddy Variables.
Sent in response to a requests::buddy::SetBuddyVariablesRequest.
As with BuddyOnlineStateChange, nothing is dispatched while the current user is offline in the Buddy List system.
| std::shared_ptr<entities::Buddy> sfs3::event::BuddyVariablesUpdate::buddy |
The buddy who updated his variables.
It is nullptr when isItMe is true: read core::buddy::BuddyManager::getMyVariables instead.
| std::vector<std::string> sfs3::event::BuddyVariablesUpdate::changedVars |
The names of the Buddy Variables that were updated, or created for the first time.
Read their values from the buddy, which is already updated when this event is dispatched.