SmartFoxServer 2X C++ API
Sfs2X::Requests::Buddylist::GoOnlineRequest Class Reference

Toggles the Buddy ONLINE status of the User. More...

#include <GoOnlineRequest.h>

Inherits Sfs2X::Requests::BaseRequest.

Public Member Functions

 GoOnlineRequest (bool online)
 Constructor More...
 

Detailed Description

Toggles the Buddy ONLINE status of the User.

All clients who have the current User as their Buddy in the BuddyList, will see his status change accordingly. Going online/offline as Buddy doesn't affect the User connection,the currently joined Zone/Rooms etc...

The ONLINE status is maintained by a reserved and persistent BuddyVariable.

See also
Entities.Variables.SFSBuddyVariable, Entities.Variables.ReservedBuddyVariables

Constructor & Destructor Documentation

◆ GoOnlineRequest()

Sfs2X::Requests::Buddylist::GoOnlineRequest::GoOnlineRequest ( bool  online)

Constructor

Parameters
onlinethe Buddy Online status
See also
Core.SFSBuddyEvent.BUDDY_ONLINE_STATE_UPDATE, Core.SFSBuddyEvent.BUDDY_ERROR