swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

LeaderboardScoreUploaded_t

Struct
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public struct LeaderboardScoreUploaded_t

call result indicating scores has been uploaded, returned as a result of UploadLeaderboardScore() use CCallResult<> to map this async result to a member function

View source

Fields

k_iCallback

public const int k_iCallback = 1106
Field Value

m_bScoreChanged

true if the score in the leaderboard change, false if the existing score was better

public byte m_bScoreChanged
Field Value

m_bSuccess

1 if the call was successful

public byte m_bSuccess
Field Value

m_hSteamLeaderboard

the leaderboard handle that was

public SteamLeaderboard_t m_hSteamLeaderboard

m_nGlobalRankNew

the new global rank of the user in this leaderboard

public int m_nGlobalRankNew
Field Value

m_nGlobalRankPrevious

the previous global rank of the user in this leaderboard; 0 if the user had no existing entry in the leaderboard

public int m_nGlobalRankPrevious
Field Value

m_nScore

the score that was attempted to set

public int m_nScore
Field Value