SmartFoxServer 2X C++ API
|
Send one or more generic invitations to a list of Users. More...
#include <InviteUsersRequest.h>
Inherits Sfs2X::Requests::BaseRequest.
Public Member Functions | |
InviteUsersRequest (boost::shared_ptr< list< boost::shared_ptr< User > > > invitedUsers, long int secondsForReply, boost::shared_ptr< ISFSObject > parameters) | |
Constructor More... | |
Send one or more generic invitations to a list of Users.
Invitations can be used for different purposes such as playing games, visiting a specific Room, Buddy requests etc...
Sfs2X::Requests::Game::InviteUsersRequest::InviteUsersRequest | ( | boost::shared_ptr< list< boost::shared_ptr< User > > > | invitedUsers, |
long int | secondsForReply, | ||
boost::shared_ptr< ISFSObject > | parameters | ||
) |
Constructor
invitedUsers | a list of invited Users |
secondsForReply | the amount of seconds allowed to the invited User to reply (recommended range 15-40 seconds) |
parameters | optional custom invitation parameters |