Engage Engine API
1.246.9086
|
#include <ConfigurationObjects.h>
Inherits AppConfigurationObjects::ConfigurationObjectBase.
Public Member Functions | |
void | clear () |
virtual void | initForDocumenting () |
Public Member Functions inherited from AppConfigurationObjects::ConfigurationObjectBase | |
virtual std::string | toString () |
virtual bool | isDocumenting () const |
Public Attributes | |
std::string | nodeId |
[Optional, Default: Auto Generated] This is the Node ID to use to represent instance on the network. | |
std::string | userId |
[Optional, Default: empty string] The user ID to be used to represent the user. | |
std::string | displayName |
[Optional, Default: empty string] The display name to be used for the user. | |
std::string | avatar |
[Optional, Default: empty string] This is a application defined field used to indicate a users avatar. The Engine doesn't not process this data and is a pass through. | |
Public Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
nlohmann::json | _attached |
Additional Inherited Members | |
Protected Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase | |
bool | _documenting |
Users Identity.
Helper C++ class to serialize and de-serialize Identity JSON
This configuration will be used by the Engine when transmitting presence data on behalf of the application.
Example JSON:
Definition at line 1443 of file ConfigurationObjects.h.
|
inline |
Definition at line 1467 of file ConfigurationObjects.h.
|
inline |
Definition at line 1472 of file ConfigurationObjects.h.
|
inlinevirtual |
Reimplemented from AppConfigurationObjects::ConfigurationObjectBase.
Definition at line 1480 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Identity::avatar |
[Optional, Default: empty string] This is a application defined field used to indicate a users avatar. The Engine doesn't not process this data and is a pass through.
Definition at line 1465 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Identity::displayName |
[Optional, Default: empty string] The display name to be used for the user.
Definition at line 1462 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Identity::nodeId |
[Optional, Default: Auto Generated] This is the Node ID to use to represent instance on the network.
The application can generate and persist this Id or if an Id is not provided, the Engage Engine will generate a random Id and will be advertised in the PresenceDescriptor JSON with the self attribute set to true in the PFN_ENGAGE_GROUP_NODE_DISCOVERED event
Definition at line 1456 of file ConfigurationObjects.h.
std::string AppConfigurationObjects::Identity::userId |
[Optional, Default: empty string] The user ID to be used to represent the user.
Definition at line 1459 of file ConfigurationObjects.h.