SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
Invitation.h File Reference

Doxygen only documents namespace-scope entities (enums, aliases, constants, free functions) in a header that carries this block. More...

#include "entities/SFSObject.h"
#include "entities/User.h"
#include <cstdint>
#include <memory>
#include <string>
#include <utility>

Classes

class  sfs3::entities::Invitation
 All the details of an invitation received by the current user. More...

Enumerations

enum class  sfs3::entities::InvitationReply : uint8_t { ACCEPT = 0 , REFUSE = 1 , EXPIRED = 2 }
 The possible replies to an invitation, sent back to the inviter with a requests::inv::InvitationReplyRequest. More...

Detailed Description

Doxygen only documents namespace-scope entities (enums, aliases, constants, free functions) in a header that carries this block.

Enumeration Type Documentation

◆ InvitationReply

enum class sfs3::entities::InvitationReply : uint8_t
strong

The possible replies to an invitation, sent back to the inviter with a requests::inv::InvitationReplyRequest.

See also
requests::inv::InvitationReplyRequest
Enumerator
ACCEPT 

The invitee accepts the invitation.

REFUSE 

The invitee turns the invitation down.

EXPIRED 

The invitee let the invitation expire without replying.

This value is never sent by a client: the server produces it on its own when the time given to reply runs out.