Boardclass

objectBoard
Namespace
global
Assembly
Sandbox.Engine
Declaration
public class Sandbox.Services.Leaderboards.Board

Constructors1

Showing 1 constructors

public Board(string package, string name)PUBLICCONSTRUCTOR

ParameterTypeDescription
packagestring
namestring

Methods1

Showing 1 methods

public System.Threading.Tasks.Task Refresh(System.Threading.CancellationToken cancellation = null)PUBLIC

ParameterTypeDescription
cancellation = nullCancellationToken
Returns:Task

Properties9

Showing 9 properties

public string Sandbox.Services.Leaderboards.Board.Description { get; set; }PUBLICGETSET

The description of this board, which was set in the backend.

Returns:string

public string Sandbox.Services.Leaderboards.Board.DisplayName { get; set; }PUBLICGETSET

The display name of this board, which was set in the backend.

Returns:string

public Sandbox.Services.Leaderboards.Entry[] Sandbox.Services.Leaderboards.Board.Entries { get; set; }PUBLICGETSET

The group of entries for this board. This is usually the entries that surround the TargetSteamId.

Returns:Entry[]

public string Sandbox.Services.Leaderboards.Board.Group { get; set; }PUBLICGETSET

global, country, friends

Returns:string

public int Sandbox.Services.Leaderboards.Board.MaxEntries { get; set; }PUBLICGETSET

The maximum entries to respond with.

Returns:int

public long Sandbox.Services.Leaderboards.Board.TargetSteamId { get; set; }PUBLICGETSET

The steamid to get information about. If unset then this defaults to the current player.

Returns:long

public string Sandbox.Services.Leaderboards.Board.Title { get; set; }PUBLICGETSET

The group name of this board. For example, "Global" for global, "Friends" for friends.

Returns:string

public long Sandbox.Services.Leaderboards.Board.TotalEntries { get; set; }PUBLICGETSET

The total number of chart entries for this board.

Returns:long

public string Sandbox.Services.Leaderboards.Board.Unit { get; set; }PUBLICGETSET

The unit type chosen for this board

Returns:string

On this page