Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Public Attributes | List of all members
cMojangAPI::sProfile Struct Reference

Holds data for a single player profile. More...

#include <MojangAPI.h>

Collaboration diagram for cMojangAPI::sProfile:
Collaboration graph
[legend]

Public Member Functions

 sProfile (const AString &a_PlayerName, const cUUID &a_UUID, const AString &a_Textures, const AString &a_TexturesSignature, Int64 a_DateTime)
 Constructor for the storage creation. More...
 
 sProfile (const AString &a_PlayerName, const cUUID &a_UUID, const Json::Value &a_Properties, Int64 a_DateTime)
 Constructor that parses the values from the Json profile. More...
 
 sProfile (void)
 Default constructor for the container's sake. More...
 

Public Attributes

Int64 m_DateTime
 
AString m_PlayerName
 
AString m_Textures
 
AString m_TexturesSignature
 
cUUID m_UUID
 

Detailed Description

Holds data for a single player profile.

Definition at line 87 of file MojangAPI.h.

Constructor & Destructor Documentation

◆ sProfile() [1/3]

cMojangAPI::sProfile::sProfile ( void  )
inline

Default constructor for the container's sake.

Definition at line 96 of file MojangAPI.h.

◆ sProfile() [2/3]

cMojangAPI::sProfile::sProfile ( const AString a_PlayerName,
const cUUID a_UUID,
const AString a_Textures,
const AString a_TexturesSignature,
Int64  a_DateTime 
)
inline

Constructor for the storage creation.

Definition at line 106 of file MojangAPI.h.

◆ sProfile() [3/3]

cMojangAPI::sProfile::sProfile ( const AString a_PlayerName,
const cUUID a_UUID,
const Json::Value &  a_Properties,
Int64  a_DateTime 
)

Constructor that parses the values from the Json profile.

Definition at line 116 of file MojangAPI.cpp.

Member Data Documentation

◆ m_DateTime

Int64 cMojangAPI::sProfile::m_DateTime

Definition at line 93 of file MojangAPI.h.

◆ m_PlayerName

AString cMojangAPI::sProfile::m_PlayerName

Definition at line 89 of file MojangAPI.h.

◆ m_Textures

AString cMojangAPI::sProfile::m_Textures

Definition at line 91 of file MojangAPI.h.

◆ m_TexturesSignature

AString cMojangAPI::sProfile::m_TexturesSignature

Definition at line 92 of file MojangAPI.h.

◆ m_UUID

cUUID cMojangAPI::sProfile::m_UUID

Definition at line 90 of file MojangAPI.h.


The documentation for this struct was generated from the following files: