Skip to content

McpLeaderboardsV3

Class in IpDrv · IpDrv.McpLeaderboardsV3

Object › McpServiceBase › McpLeaderboardsBase › McpLeaderboardsV3

Using it from Lua
h7.find_all("McpLeaderboardsV3")            -- live instances
h7.find_class("IpDrv.McpLeaderboardsV3")   -- the class
h7.hook("IpDrv.McpLeaderboardsV3.ClearAllLeaderboardEntries", fn)

Structs

LeaderboardRequest

FieldType
RequestHttpRequestInterface
LeaderboardNameString

LeaderboardTimeframeRequest

Struct extends LeaderboardRequest

FieldType
TimeframeMcpLeaderboardTimeframe

UserLeaderboardRequest

Struct extends LeaderboardRequest

FieldType
McpIdString

Properties

NameTypeNotes
BaseLeaderboardPathStringconfig
Entriesarray<McpLeaderboardEntry>
LeaderboardEntriesByColumnRangePathStringconfig
LeaderboardEntriesPathStringconfig
LeaderboardEntryPathStringconfig
Leaderboardsarray<McpLeaderboard>
LeaderboardTimeframeRequestsarray<LeaderboardTimeframeRequest>
UserLeaderboardRequestsarray<UserLeaderboardRequest>

Functions

NameDeclaration
ClearAllLeaderboardEntriesfunction ClearAllLeaderboardEntries()
ClearLeaderboardEntriesForLeaderboardfunction ClearLeaderboardEntriesForLeaderboard(String LeaderboardName)
ClearLeaderboardEntriesForMcpIdfunction ClearLeaderboardEntriesForMcpId(String McpId)
GetEntriesForLeaderboardfunction GetEntriesForLeaderboard(String LeaderboardName, out array<McpLeaderboardEntry> OutEntries)
GetLeaderboardByColumnByRangefunction GetLeaderboardByColumnByRange(String LeaderboardName, McpLeaderboardTimeframe Timeframe, String ColumnName, int Min, int Max, out array<McpLeaderboardEntry> OutEntries)
GetLeaderboardEntriesfunction GetLeaderboardEntries(String McpId, out array<McpLeaderboardEntry> OutEntries, optional String LeaderboardName)
GetLeaderboardEntriesForUsersfunction GetLeaderboardEntriesForUsers(const out array McpIds, out array<McpLeaderboardEntry> OutEntries, optional String LeaderboardName)
GetLeaderboardsfunction GetLeaderboards(out array<McpLeaderboard> OutLeaderboards)
OnReadLeaderboardEntriesRequestCompletefunction OnReadLeaderboardEntriesRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnReadLeaderboardsRequestCompletefunction OnReadLeaderboardsRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnWriteLeaderboardEntryRequestCompletefunction OnWriteLeaderboardEntryRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
ParseLeaderboardprivate function ParseLeaderboard(JsonObject LeaderboardObject)
ParseLeaderboardEntriesprivate function ParseLeaderboardEntries(String Json)
ParseLeaderboardEntryprivate function ParseLeaderboardEntry(JsonObject LeaderboardObject)
ParseLeaderboardEntryValuesprivate function array<McpLeaderboardColumnEntry> ParseLeaderboardEntryValues(String LeaderboardName, JsonObject LeaderboardEntry)
ParseLeaderboardsprivate function ParseLeaderboards(String Json)
ReadLeaderboardColumnByRangefunction ReadLeaderboardColumnByRange(String LeaderboardName, McpLeaderboardTimeframe Timeframe, String ColumnName, int Min, int Max, int NumToRead)
ReadLeaderboardEntriesfunction ReadLeaderboardEntries(const out array McpIds, String LeaderboardName, McpLeaderboardTimeframe Timeframe, optional bool bSkipRankAndPercentile)
ReadLeaderboardsfunction ReadLeaderboards()
StringToTimeframeprivate function McpLeaderboardTimeframe StringToTimeframe(String Timeframe)
TimeframeToStringprivate function String TimeframeToString(McpLeaderboardTimeframe Timeframe)
WriteLeaderboardEntryfunction WriteLeaderboardEntry(String McpId, String LeaderboardName, const out array<McpLeaderboardColumnEntry> Columns)

Inherited

FromMembers
McpLeaderboardsBase1 properties, 16 functions
McpServiceBase2 properties, 16 functions
Object13 properties, 308 functions