Adds support for setting define hooks.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2021-08-22 12:51:00 +02:00
parent 592552cb72
commit b3d0e8b0cf
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ public:
void FinalizeModule(); void FinalizeModule();
void DefineWord(const std::string& word) { _builder.DefineWord(word.c_str()); }
CreatureLib::Battling::BattleScript* LoadScript(ScriptCategory category, CreatureLib::Battling::BattleScript* LoadScript(ScriptCategory category,
const ArbUt::StringView& scriptName) override; const ArbUt::StringView& scriptName) override;
CreatureLib::Battling::ItemUseScript* LoadItemScript(const CreatureLib::Library::Item* item) override; CreatureLib::Battling::ItemUseScript* LoadItemScript(const CreatureLib::Library::Item* item) override;