Skip to content

McpLeaderboardsBase

Class in IpDrv · IpDrv.McpLeaderboardsBase · abstract, config

Object › McpServiceBase › McpLeaderboardsBase

Subclasses: McpLeaderboardsV3

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

Enums

McpLeaderboardColumnType

MLCT_SUM = 0, MLCT_MAX_VAL = 1, MLCT_MIN_VAL = 2, MLCT_LAST = 3

McpLeaderboardTimeframe

MLT_ALL_TIME = 0, MLT_DAILY = 1, MLT_WEEKLY = 2, MLT_MONTHLY = 3

Structs

McpLeaderboard

FieldType
LeaderboardNameString
RatingColumnString

McpLeaderboardColumn

FieldType
NameString
TypeMcpLeaderboardColumnType

McpLeaderboardColumnEntry

FieldType
NameString
Valueint

McpLeaderboardEntry

FieldType
McpIdString
LeaderboardNameString
TimeframeMcpLeaderboardTimeframe
RatingValueint
Rankingint
Percentileint

Properties

NameTypeNotes
McpLeaderboardsClassNamestringconfig

Functions

NameDeclaration
ClearAllLeaderboardEntriesfunction ClearAllLeaderboardEntries()
ClearLeaderboardEntriesForLeaderboardfunction ClearLeaderboardEntriesForLeaderboard(String LeaderboardName)
ClearLeaderboardEntriesForMcpIdfunction ClearLeaderboardEntriesForMcpId(String McpId)
CreateInstancestatic final function McpLeaderboardsBase CreateInstance()
GetEntriesForLeaderboardfunction GetEntriesForLeaderboard(String LeaderboardName, out array<McpLeaderboardEntry> Entries)
GetLeaderboardByColumnByRangefunction GetLeaderboardByColumnByRange(String LeaderboardName, McpLeaderboardTimeframe Timeframe, String ColumnName, int Min, int Max, out array<McpLeaderboardEntry> Entries)
GetLeaderboardEntriesfunction GetLeaderboardEntries(String McpId, out array<McpLeaderboardEntry> Entries, optional String LeaderboardName)
GetLeaderboardEntriesForUsersfunction GetLeaderboardEntriesForUsers(const out array McpIds, out array<McpLeaderboardEntry> Entries, optional String LeaderboardName)
GetLeaderboardsfunction GetLeaderboards(out array<McpLeaderboard> Leaderboards)
OnReadLeaderboardEntriesCompletedelegate OnReadLeaderboardEntriesComplete(bool bWasSuccessful, String Error, String LeaderboardName, McpLeaderboardTimeframe Timeframe)
OnReadLeaderboardsCompletedelegate OnReadLeaderboardsComplete(bool bWasSuccessful, String Error)
OnWriteLeaderboardEntryCompletedelegate OnWriteLeaderboardEntryComplete(bool bWasSuccessful, String Error, String McpId, String LeaderboardName)
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()
WriteLeaderboardEntryfunction WriteLeaderboardEntry(String McpId, String LeaderboardName, const out array<McpLeaderboardColumnEntry> Columns)

Inherited

FromMembers
McpServiceBase2 properties, 16 functions
Object13 properties, 308 functions