games
v1
|
#include <player.h>
Public Member Functions | |
PlayerName (const Json::Value &storage) | |
PlayerName (Json::Value *storage) | |
virtual | ~PlayerName () |
const StringPiece | GetTypeName () const |
bool | has_family_name () const |
void | clear_family_name () |
const StringPiece | get_family_name () const |
void | set_family_name (const StringPiece &value) |
bool | has_given_name () const |
void | clear_given_name () |
const StringPiece | get_given_name () const |
void | set_given_name (const StringPiece &value) |
Static Public Member Functions | |
static PlayerName * | New () |
An object representation of the individual components of the player's name. For some players, these fields may not be present.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'familyName
' attribute.
|
inline |
Clears the 'givenName
' attribute.
|
inline |
Get the value of the 'familyName
' attribute.
|
inline |
Get the value of the 'givenName
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_games_api::PlayerName
|
inline |
Determine if the 'familyName
' attribute was set.
familyName
' attribute was set.
|
inline |
Determine if the 'givenName
' attribute was set.
givenName
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'familyName
' attribute.
The family name of this player. In some places, this is known as the last name.
[in] | value | The new value. |
|
inline |
Change the 'givenName
' attribute.
The given name of this player. In some places, this is known as the first name.
[in] | value | The new value. |