Leaderboard
 
Loading...
Searching...
No Matches
Noble.Leaderboard.ReceivedEntry Class Reference

Defines the structure of a leaderboard entry: a username, score, level name, and any optional metadata. More...

Public Attributes

string username
 The username associated with a given Leaderboard entry.
 
string levelName
 The level name associated with a given Leaderboard entry.
 
int rank
 The rank associated with a given Leaderboard entry's score.
 
int score
 The score associated with a given Leaderboard entry.
 
byte[] metadata
 Any optional additional information attached to an entry. More...
 

Detailed Description

Defines the structure of a leaderboard entry: a username, score, level name, and any optional metadata.

Member Data Documentation

◆ metadata

byte [] Noble.Leaderboard.ReceivedEntry.metadata

Any optional additional information attached to an entry.

Data must be converted to bytes before sending to the server, and converted back from bytes after being sent from the server.