/datum/achievement_data
Datum that handles
Vars | |
data | Up to date list of all achievements and their info. |
---|---|
initialized | Have we done our set-up yet? |
original_cached_data | Original status of achievement. |
owner_ckey | Ckey of this achievement data's owner |
Procs | |
get_achievement_status | Getter for the status/score of an achievement |
get_changed_data | Gets list of changed rows in MassInsert format |
get_data | Updates local cache with db data for the given achievement type if it wasn't loaded yet. |
reset | Resets an achievement to default values. |
unlock | Unlocks an achievement of a specific type. |
Var Details
data
Up to date list of all achievements and their info.
initialized
Have we done our set-up yet?
original_cached_data
Original status of achievement.
owner_ckey
Ckey of this achievement data's owner
Proc Details
get_achievement_status
Getter for the status/score of an achievement
get_changed_data
Gets list of changed rows in MassInsert format
get_data
Updates local cache with db data for the given achievement type if it wasn't loaded yet.
reset
Resets an achievement to default values.
unlock
Unlocks an achievement of a specific type.