mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Support achievements that are triggered automatically with stats.
The achievements config MUST be generated with the achievements_gen.py script.
This commit is contained in:
parent
3f8ce69b6d
commit
8695ea2dce
5 changed files with 151 additions and 76 deletions
|
|
@ -131,7 +131,7 @@ public:
|
|||
|
||||
//stats
|
||||
std::map<std::string, Stat_config> getStats() { return stats; }
|
||||
void setStatDefiniton(std::string name, struct Stat_config stat_config) {stats[name] = stat_config; }
|
||||
void setStatDefiniton(std::string name, struct Stat_config stat_config) {stats[ascii_to_lowercase(name)] = stat_config; }
|
||||
|
||||
//subscribed lobby/group ids
|
||||
std::set<uint64> subscribed_groups;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue