SparkAchievement

Contains configuration information for the achievement

The methods in this class respect the segments of the current player when being executed

getName

signature getName()

returns string

validity All Scripts

Returns the name of the achievement

getDescription

signature getDescription()

returns string

validity All Scripts

Returns the description of the achievement

getShortCode

signature getShortCode()

returns string

validity All Scripts

Returns the shortCode of the achievement

getCurrency1Award

signature getCurrency1Award()

returns number

validity All Scripts

Returns the currency1Award of the achievement

getCurrency2Award

signature getCurrency2Award()

returns number

validity All Scripts

Returns the currency2Award of the achievement

getCurrency3Award

signature getCurrency3Award()

returns number

validity All Scripts

Returns the currency3Award of the achievement

getCurrency4Award

signature getCurrency4Award()

returns number

validity All Scripts

Returns the currency4Award of the achievement

getCurrency5Award

signature getCurrency5Award()

returns number

validity All Scripts

Returns the currency5Award of the achievement

getCurrency6Award

signature getCurrency6Award()

returns number

validity All Scripts

Returns the currency5Award of the achievement

getPropertySet

signature getPropertySet()

returns JSON

validity All Scripts

Returns the property set associated with the achievement

getVirtualGoodAward

signature getVirtualGoodAward()

returns SparkVirtualGood

validity All Scripts

Returns the virtual good award of the achievement

getCurrencyAwards

signature getCurrencyAwards()

returns JSON

validity All Scripts

Returns the currency awards map associated with this achievement

Did this page help you? Please enter your feedback below. For questions about using this part of the platform, please contact support here