Class Leaderboards.RecordScoreRequest
Records scores
Namespace: Unity.PSN.PS5.Leaderboard
Syntax
public class RecordScoreRequest : Request
Properties
BoardId
Leaderboard ID
Declaration
public int BoardId { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Comment
Text-format comment information
Declaration
public string Comment { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
ComparedDateTime
Date and time information used for determining whether scores can be updated
Declaration
public DateTime ComparedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
LargeData
Large data, if required
Declaration
public byte[] LargeData { get; set; }
Property Value
| Type | Description |
|---|---|
| Byte[] |
NeedsTmpRank
Specifies true when a temporary ranking is required
Declaration
public bool NeedsTmpRank { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
PlayerCharacterID
Player character ID
Declaration
public int PlayerCharacterID { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Score
Score value
Declaration
public long Score { get; set; }
Property Value
| Type | Description |
|---|---|
| Int64 |
ServiceLabel
NP service label
Declaration
public uint ServiceLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| UInt32 |
SmallData
Small-volume attachment data
Declaration
public byte[] SmallData { get; set; }
Property Value
| Type | Description |
|---|---|
| Byte[] |
TmpRank
Temporary ranking calculated with players with the same number of points tied
Declaration
public int TmpRank { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
TmpSerialRank
Temporary ranking with higher rankings for players with the same number of points as others but who scored first, calculated in a simplified manner
Declaration
public int TmpSerialRank { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
UserId
User ID
Declaration
public int UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Methods
Run()
Declaration
protected override void Run()