Back to index...

NameTypeDeprecatedSecureDescription
Event.Achievement.CompleteSignals an achievement completing.
Event.Achievement.UpdateSignals a change in an achievement's information.
Inspect.Achievement.Category.DetailfunctionReturns information about achievement categories.
Inspect.Achievement.Category.ListfunctionReturns a table of valid achievement categories.
Inspect.Achievement.DetailfunctionProvides detailed information about achievements.
Inspect.Achievement.ListfunctionReturns a table of all known achievements.

Event.Achievement.Complete

Signals an achievement completing.

Usage:

Event.Achievement.Complete(achievement)
ParameterTypeDatatypeDescription
achievementparametervariantThe ID of the achievement.

Event.Achievement.Update

Signals a change in an achievement's information.

Usage:

Event.Achievement.Update(achievements)
ParameterTypeDatatypeDescription
achievementsparametervariantA table of the achievements, in {id = true} format.

Inspect.Achievement.Category.Detail

Returns information about achievement categories.

Usage:

detail = Inspect.Achievement.Category.Detail(category)
details = Inspect.Achievement.Category.Detail(categories)
ParameterTypeDatatypeDescription
categoriesparametertableA table of identifiers of achievement categories to retrieve detail for.
categoryparameterachievementcategoryThe identifier of the achievement category to retrieve detail for.
detailresulttableDetail table for a single achievement category.
detailsresulttableDetail tables for all requested achievement categories. The key is the category ID, the value is the category's detail table.
members
id The ID of the requested element.
name The name of the achievement category.
parent The category's parent, if it has one.

Inspect.Achievement.Category.List

Returns a table of valid achievement categories.

Usage:

categories = Inspect.Achievement.Category.List()
ParameterTypeDatatypeDescription
categoriesresulttableValid achievement categories, in {id = true} format.

Inspect.Achievement.Detail

Provides detailed information about achievements.

Usage:

detail = Inspect.Achievement.Detail(achievement)
details = Inspect.Achievement.Detail(achievements)
ParameterTypeDatatypeDescription
achievementparameterachievementThe identifier of the achievement to retrieve detail for.
achievementsparametertableA table of identifiers of achievements to retrieve detail for.
detailresulttableDetail table for a single achievement.
detailsresulttableDetail tables for all requested achievements. The key is the achievement ID, the value is the achievement's detail table.
members
alliance The alliance that this achievement requires, either "guardian", "defiant", or nil.
category ID of the achievement's category.
complete true is the achievement is completed by this character. If the achievement has been completed by another of the player's characters, gives that character's name.
description The achievement's description.
icon Internal name of the achievement's icon.
id The ID of the requested element.
name The achievement's name.
previous The ID of the achievement immediately previous to this in a chain.
requirement Table listing the requirements for this achievement. Each item may include multiple members.
type: The type of the requirement. Valid values include "achievement", "artifactset", "discover", "event", "quest", and "tradeskill".
name: The name of the requirement.
count: The count required for completion.
countDone: The count already completed.
complete: Signals that this requirement is complete.
id: The id of whatever this requires.
score The number of points this achievement awards for completion.
sort A number indicating the order that this achievement should be sorted in.
title The ID of the title this achievement awards.

Inspect.Achievement.List

Returns a table of all known achievements.

Usage:

achievements = Inspect.Achievement.List()
ParameterTypeDatatypeDescription
achievementsresulttableAll known achievements, in {id = true} format.

Back to index...