MetaPlatformSDK_AchievementProgress

Inherits: RefCounted

Represents progress on an achievement.

Description

Represents progress on an achievement.

Properties

String

bitfield

""

int

count

0

bool

is_unlocked

false

String

name

""

int

unlock_time

0


Property Descriptions

String bitfield = ""

  • String get_bitfield ( )

For bitfield achievements, the current bitfield state.


int count = 0

  • int get_count ( )

For count achievements, the current counter state.


bool is_unlocked = false

  • bool get_is_unlocked ( )

If the user has already unlocked this achievement.


String name = ""

  • String get_name ( )

The unique string that you use to reference the achievement in your app, as specified in the developer dashboard.


int unlock_time = 0

  • int get_unlock_time ( )

If the achievement is unlocked, the time when it was unlocked.