SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::event::BuddyAdd Struct Reference

Dispatched when a buddy is added successfully to the current user's buddies list. More...

#include <SFSEvent.h>

Public Attributes

std::shared_ptr< entities::Buddybuddy
 The buddy that was added.

Detailed Description

Dispatched when a buddy is added successfully to the current user's buddies list.

Sent in response to a requests::buddy::AddBuddyRequest.

See also
requests::buddy::AddBuddyRequest
entities::Buddy
SFSEvent::BUDDY_REMOVE
SFSEvent::BUDDY_ERROR

Member Data Documentation

◆ buddy

std::shared_ptr<entities::Buddy> sfs3::event::BuddyAdd::buddy

The buddy that was added.

It is the live instance the BuddyManager now holds, not a snapshot.


The documentation for this struct was generated from the following file: