Table of Contents

Class HighScoreManager

Namespace
RUST.Steamworks
Assembly
Assembly-CSharp.dll
public class HighScoreManager : MonoBehaviour
Inheritance
HighScoreManager

Constructors

HighScoreManager()

public HighScoreManager()

Fields

Leaderboards

public static Dictionary<string, SteamLeaderboard_t> Leaderboards

Field Value

Dictionary<string, SteamLeaderboard_t>

Methods

GetLeaderboards(string, int, int, ELeaderboardDataRequest, Action<List<HighScore>>)

public void GetLeaderboards(string boardName, int from, int to, ELeaderboardDataRequest type, Action<List<HighScoreManager.HighScore>> callback)

Parameters

boardName string
from int
to int
type ELeaderboardDataRequest
callback Action<List<HighScoreManager.HighScore>>

GetRank(string, Action<List<HighScore>>)

public void GetRank(string boardName, Action<List<HighScoreManager.HighScore>> callback)

Parameters

boardName string
callback Action<List<HighScoreManager.HighScore>>

UpdateScore(string, int, Action<int, int>)

public void UpdateScore(string boardName, int score, Action<int, int> callback)

Parameters

boardName string
score int
callback Action<int, int>