diff --git a/src/Battling/Library/BattleLibrary.hpp b/src/Battling/Library/BattleLibrary.hpp index 86aaab5..81485af 100644 --- a/src/Battling/Library/BattleLibrary.hpp +++ b/src/Battling/Library/BattleLibrary.hpp @@ -10,6 +10,7 @@ namespace CreatureLib::Battling { class BattleLibrary { + protected: const Library::DataLibrary* _staticLib = nullptr; BattleStatCalculator* _statCalculator = nullptr; DamageLibrary* _damageLibrary = nullptr; @@ -22,6 +23,7 @@ namespace CreatureLib::Battling { DamageLibrary* damageLibrary, ExperienceLibrary* experienceLibrary, ScriptResolver* scriptResolver, MiscLibrary* miscLibrary); ~BattleLibrary(); + inline const Library::DataLibrary* GetStaticLib() const { return _staticLib; } [[nodiscard]] const Library::LibrarySettings& GetSettings() const; [[nodiscard]] const Library::SpeciesLibrary* GetSpeciesLibrary() const;