Name | Type | Deprecated | Secure | Description |
---|---|---|---|---|
Event.Achievement.Complete | Signals an achievement completing. | |||
Event.Achievement.Update | Signals a change in an achievement's information. | |||
Inspect.Achievement.Category.Detail | function | Returns information about achievement categories. | ||
Inspect.Achievement.Category.List | function | Returns a table of valid achievement categories. | ||
Inspect.Achievement.Detail | function | Provides detailed information about achievements. | ||
Inspect.Achievement.List | function | Returns a table of all known achievements. |
Signals an achievement completing.
Event.Achievement.Complete(achievement) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
achievement | parameter | variant | The ID of the achievement. |
Signals a change in an achievement's information.
Event.Achievement.Update(achievements) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
achievements | parameter | variant | A table of the achievements, in {id = true} format. |
Returns information about achievement categories.
detail = Inspect.Achievement.Category.Detail(category) | |||
details = Inspect.Achievement.Category.Detail(categories) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
categories | parameter | table | A table of identifiers of achievement categories to retrieve detail for. |
category | parameter | achievementcategory | The identifier of the achievement category to retrieve detail for. |
detail | result | table | Detail table for a single achievement category. |
details | result | table | Detail tables for all requested achievement categories. The key is the category ID, the value is the category's detail table. |
id | The ID of the requested element. |
---|---|
name | The name of the achievement category. |
parent | The category's parent, if it has one. |
Returns a table of valid achievement categories.
categories = Inspect.Achievement.Category.List() | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
categories | result | table | Valid achievement categories, in {id = true} format. |
Provides detailed information about achievements.
detail = Inspect.Achievement.Detail(achievement) | |||
details = Inspect.Achievement.Detail(achievements) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
achievement | parameter | achievement | The identifier of the achievement to retrieve detail for. |
achievements | parameter | table | A table of identifiers of achievements to retrieve detail for. |
detail | result | table | Detail table for a single achievement. |
details | result | table | Detail tables for all requested achievements. The key is the achievement ID, the value is the achievement's detail table. |
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. |
Returns a table of all known achievements.
achievements = Inspect.Achievement.List() | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
achievements | result | table | All known achievements, in {id = true} format. |