|
styyx-util 1.0
Utility Header for SKSE Plugin development
|
#include <st-perks.h>
Static Public Member Functions | |
| static void | TraversePerkNode (RE::BGSSkillPerkTreeNode *node, std::unordered_set< RE::BGSPerk * > &set_out, std::unordered_set< RE::BGSSkillPerkTreeNode * > &visited) |
| recursively look through the perk tree nodes in an AVIF | |
| static std::unordered_set< RE::BGSPerk * > | GetPerksForSkill (RE::ActorValue av) |
| Gets an unordered_set of all the perks from a given skill early return if skill is not part of StyyxUtil::PerkUtil::kPlayableSkills. | |
| static std::unordered_set< RE::BGSPerk * > | GetAllPlayablePerks () |
| static std::unordered_set< RE::BGSPerk * > | GetAllMagicPerks () |
| Gets all perks belonging to magic skills (Alteration, Conjuration, Destruction, Illusion, Enchanting, Restoration). | |
| static std::unordered_set< RE::BGSPerk * > | GetAllThiefPerks () |
| Gets all perks belonging to thief skills (Pickpocket, Lockpicking, Light Armor, Alchemy, Speech, Sneak). | |
| static std::unordered_set< RE::BGSPerk * > | GetAllWarriorPerks () |
| Gets all perks belonging to warrior skills (One-Handed, Two-Handed, Archery, Block, Smithing, Heavy Armor). | |
Static Public Attributes | |
| static constexpr std::array< RE::ActorValue, 18 > | kPlayableSkills |
| array of all skill relevant for the stats menu. Does not take any custom skill or the likes into account | |
Static Private Member Functions | |
| static std::unordered_set< RE::BGSPerk * > | GetPerksForSkills (std::span< const RE::ActorValue > skills) |
Static Private Attributes | |
| static constexpr std::array< RE::ActorValue, 6 > | kWarriorSkills |
| static constexpr std::array< RE::ActorValue, 6 > | kThiefSkills |
| static constexpr std::array< RE::ActorValue, 6 > | kMageSkills |
|
inlinestatic |
Gets all perks belonging to magic skills (Alteration, Conjuration, Destruction, Illusion, Enchanting, Restoration).

|
inlinestatic |

|
inlinestatic |
Gets all perks belonging to thief skills (Pickpocket, Lockpicking, Light Armor, Alchemy, Speech, Sneak).

|
inlinestatic |
Gets all perks belonging to warrior skills (One-Handed, Two-Handed, Archery, Block, Smithing, Heavy Armor).

|
inlinestatic |
Gets an unordered_set of all the perks from a given skill
early return if skill is not part of StyyxUtil::PerkUtil::kPlayableSkills.
| av | the skill to get perks to. |

|
inlinestaticprivate |


|
inlinestatic |
recursively look through the perk tree nodes in an AVIF
| node | the perk tree node you want to start with |
| set_out | unordered set reference to write the perks to |
| visited | unordered set to add the visited nodes to |


|
staticconstexprprivate |
|
staticconstexpr |
array of all skill relevant for the stats menu. Does not take any custom skill or the likes into account
|
staticconstexprprivate |
|
staticconstexprprivate |