MetaPlatformSDK_LeaderboardArray

Inherits: RefCounted

An array of leaderboards.

Description

An array of MetaPlatformSDK_Leaderboards.

NOTE: This isn't a Godot Array, but you can loop over it using for x in arr just like a Godot Array.

Properties

String

next_url

""

Methods

MetaPlatformSDK_Leaderboard

get_element ( int index ) const

bool

has_next_page ( ) const

int

size ( ) const


Property Descriptions

String next_url = ""

  • String get_next_url ( )

The URL to request the next paginated list of elements.


Method Descriptions

MetaPlatformSDK_Leaderboard get_element ( int index ) const

Access the indexed element in this list. Note that the index is zero-based, so the first element has an index of 0.


bool has_next_page ( ) const

Indicates whether there is a next page of elements that can be retrieved. If this value is true, you can use the next_url field to request the next page of elements.


int size ( ) const

The number of elements contained within this list. This is not equal to the total number of elements across multiple pages.