gpg::ScorePage::Entry

#include <score_page.h>

A class that creates an entry on a score page.

Summary

Constructors and Destructors

Entry()
Entry(std::shared_ptr< const EntryImpl > impl)
Explicit constructor.
Entry(const Entry & copy_from)
Copy constructor for copying an existing entry into a new one.
Entry(Entry && move_from)
Constructor for moving an existing entry into a new one.
~Entry()

Public functions

LastModified() const Deprecated. Prefer LastModifiedTime.
LastModifiedTime() const
Returns time at which the entry was last modified (expressed as milliseconds since the Unix epoch).
PlayerId() const
const std::string &
Returns player ID.
Score() const
const gpg::Score &
Returns player score.
Valid() const
bool
Returns true when the returned entry is populated with data and is accompanied by a successful response status; false for an unpopulated user-created entry or for a populated one accompanied by an unsuccessful response status.
operator=(const Entry & copy_from)
Entry &
Assignment operator for assigning this entry's value from another entry.
operator=(Entry && move_from)
Entry &
Assignment operator for assigning this entry's value from another entry.

Public functions

Entry

 Entry()

Entry

 Entry(
  std::shared_ptr< const EntryImpl > impl
)

Explicit constructor.

Entry

 Entry(
  const Entry & copy_from
)

Copy constructor for copying an existing entry into a new one.

Entry

 Entry(
  Entry && move_from
)

Constructor for moving an existing entry into a new one.

r-value-reference version.

LastModified

Timestamp LastModified() const 

Deprecated. Prefer LastModifiedTime.

LastModifiedTime

Timestamp LastModifiedTime() const 

Returns time at which the entry was last modified (expressed as milliseconds since the Unix epoch).

PlayerId

const std::string & PlayerId() const 

Returns player ID.

Score

const gpg::Score & Score() const 

Returns player score.

Valid

bool Valid() const 

Returns true when the returned entry is populated with data and is accompanied by a successful response status; false for an unpopulated user-created entry or for a populated one accompanied by an unsuccessful response status.

It must be true for the getter functions on this entry (PlayerId, Score, etc.) to be usable.

operator=

Entry & operator=(
  const Entry & copy_from
)

Assignment operator for assigning this entry's value from another entry.

operator=

Entry & operator=(
  Entry && move_from
)

Assignment operator for assigning this entry's value from another entry.

r-value-reference version.

~Entry

 ~Entry()

Send feedback about...

Play Games Services for C++
Play Games Services for C++