Modules§
Structs§
- SKILL_
GROUP_ DEFS - SKILL_
GROUP_ HASHES - SKILL_
GROUP_ LOOKUP - SKILL_
MAX_ LEVEL - SKILL_
PREREQUISITES - Skill
Cost Map - Skill
Group - A group of skills that have been unlocked by a player. Each skill group has independent exp and skill points which are used to unlock skills in that skill group.
- Skill
Group Def - Skill
Level Map - Skill
Prerequisites Map - Contains the prerequisite skills for each skill. It cannot currently detect cyclic dependencies, so if you modify the prerequisite map ensure that there are no cycles of prerequisites.
- Skill
Set - Contains all of a player’s skill groups and skills. Provides methods for manipulating assigned skills and skill groups including unlocking skills, refunding skills etc.
- Skill
Tree Map - BTreeSet is used here to ensure that skills are ordered. This is important to ensure that the hash created from it is consistent so that we don’t needlessly force a respec when loading skills from persistence.