Skip to content

newgroundsiodotnet.components.requests.scoreboard.scoreboardgetscoresrequest

GlitchyPSIX edited this page Mar 30, 2025 · 4 revisions

ScoreBoardGetScoresRequest

Namespace: NewgroundsIODotNet.Components.Requests.ScoreBoard

Request to get the Scores from a Scoreboard

public class ScoreBoardGetScoresRequest : NewgroundsIODotNet.Components.Interfaces.INgioComponentRequest

Inheritance ObjectScoreBoardGetScoresRequest
Implements INgioComponentRequest

Properties

Component

public string Component { get; }

Property Value

String

Parameters

public Dictionary<string, object> Parameters { get; }

Property Value

Dictionary<String, Object>

Echo

public object Echo { get; set; }

Property Value

Object

RequiresSecureCall

public bool RequiresSecureCall { get; }

Property Value

Boolean

AppId

App ID of another game to get the scores from. Set to null to use the current game

public string AppId { get; set; }

Property Value

String

Id

ID of the ScoreBoard to get scores from.

public int Id { get; set; }

Property Value

Int32

Limit

How many score entries to fetch

public int Limit { get; set; }

Property Value

Int32

Period

Period of time to get the scores from

public ScoreBoardPeriod Period { get; set; }

Property Value

ScoreBoardPeriod

Skip

How many scores to skip before fetching

public int Skip { get; set; }

Property Value

Int32

Social

Whether the scores will only include the logged in user and their friends

public bool Social { get; set; }

Property Value

Boolean

Remarks:

Useless if there's no Session with a specified User.

FilterTag

Tag to filter scores by.

public string FilterTag { get; set; }

Property Value

String

User

ID or Username of the User to get local stores in relation to.

public string User { get; set; }

Property Value

String

Constructors

ScoreBoardGetScoresRequest(Dictionary<String, Object>, Object)

Use this constructor only if you know what you're doing.

public ScoreBoardGetScoresRequest(Dictionary<string, object> parameters, object echo)

Parameters

parameters Dictionary<String, Object>
Manually provided component parameters

echo Object
NGIO Echo response

ScoreBoardGetScoresRequest(Int32, String, Int32, ScoreBoardPeriod, Int32, Boolean, String, Nullable<User>)

public ScoreBoardGetScoresRequest(int id, string appId, int limit, ScoreBoardPeriod period, int skip, bool social, string tag, Nullable<User> user)

Parameters

id Int32

appId String

limit Int32

period ScoreBoardPeriod

skip Int32

social Boolean

tag String

user Nullable<User>

ScoreBoardGetScoresRequest(ScoreBoard, String, Int32, ScoreBoardPeriod, Int32, Boolean, String, Nullable<User>)

public ScoreBoardGetScoresRequest(ScoreBoard board, string appId, int limit, ScoreBoardPeriod period, int skip, bool social, string tag, Nullable<User> user)

Parameters

board ScoreBoard

appId String

limit Int32

period ScoreBoardPeriod

skip Int32

social Boolean

tag String

user Nullable<User>

Clone this wiki locally