Revert "Adds support for changing talent by its hash, adds support for loading scripts by their name hash."
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit e3c997af31.
This commit is contained in:
@@ -48,9 +48,4 @@ ArbUt::OptionalUniquePtr<BattleScript> BattleLibrary::LoadScript(const ArbUt::Op
|
||||
ScriptCategory category,
|
||||
const ArbUt::StringView& scriptName) const {
|
||||
return _scriptResolver->LoadScript(owner, category, scriptName).TakeOwnership();
|
||||
}
|
||||
ArbUt::OptionalUniquePtr<BattleScript> BattleLibrary::LoadScriptByHash(const ArbUt::OptionalBorrowedPtr<void>& owner,
|
||||
ScriptCategory category,
|
||||
u32 scriptNameHash) const {
|
||||
return _scriptResolver->LoadScriptByHash(owner, category, scriptNameHash).TakeOwnership();
|
||||
}
|
||||
}
|
||||
@@ -47,9 +47,6 @@ namespace CreatureLib::Battling {
|
||||
[[nodiscard]] ArbUt::OptionalUniquePtr<BattleScript> LoadScript(const ArbUt::OptionalBorrowedPtr<void>& owner,
|
||||
ScriptCategory category,
|
||||
const ArbUt::StringView& scriptName) const;
|
||||
[[nodiscard]] ArbUt::OptionalUniquePtr<BattleScript>
|
||||
LoadScriptByHash(const ArbUt::OptionalBorrowedPtr<void>& owner, ScriptCategory category,
|
||||
u32 scriptNameHash) const;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user