SmartFoxServer 2X C++ API
|
BuddyMessage(s) are similar to private chat messages but are specifically designed for the Buddy List system. More...
#include <BuddyMessageRequest.h>
Inherits Sfs2X::Requests::GenericMessageRequest.
Public Member Functions | |
BuddyMessageRequest (string message, boost::shared_ptr< Buddy > targetBuddy, boost::shared_ptr< ISFSObject > parameters) | |
Constructor More... | |
BuddyMessage(s) are similar to private chat messages but are specifically designed for the Buddy List system.
They don't require any Room parameter, nor they require that Users are joined into any particular Room. Additionally the Buddy Message performs specific validation such as making sure that the recipient is in the User's BuddyList and verifies the Buddy block status.
Sfs2X::Requests::Buddylist::BuddyMessageRequest::BuddyMessageRequest | ( | string | message, |
boost::shared_ptr< Buddy > | targetBuddy, | ||
boost::shared_ptr< ISFSObject > | parameters | ||
) |
Constructor
message | the message |
targetBuddy | the recipient of the message |
parameters | custom parameters (e.g. the textfield font and color, a sender avatar id, or any other data...) |