|
SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
|
Initializes the Buddy List system on the current client. More...
#include <InitBuddyListRequest.h>
Public Member Functions | |
| InitBuddyListRequest () | |
| Creates a new InitBuddyListRequest. | |
Initializes the Buddy List system on the current client.
Buddy List system initialization involves loading any previously stored buddy-specific data from the server, such as the current user's buddies list, his previous state and the persistent Buddy Variables. The initialization request is the first operation to be executed in order to be able to use the Buddy List system features.
Once the initialization is completed, the event::SFSEvent::BUDDY_LIST_INIT event is fired and the user has access to all his previously set data and can start to interact with his buddies; if the initialization failed, a event::SFSEvent::BUDDY_ERROR event is fired.
|
inline |
Creates a new InitBuddyListRequest.
Pass it to SmartFox::send for the request to be performed.