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 commit is contained in:
@@ -48,4 +48,9 @@ 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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user