Bunch of fixes for Owners of scripts.
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:
@@ -116,7 +116,7 @@ public:
|
||||
inline ArbUt::OptionalBorrowedPtr<AngelscriptDebugger> GetDebugger() const noexcept { return _debugger.GetValue(); }
|
||||
inline void SetDebugger(AngelscriptDebugger* debugger) noexcept { _debugger = debugger; }
|
||||
|
||||
inline asITypeInfo* GetScriptOwnerType(ScriptCategory category) {
|
||||
asITypeInfo* GetScriptOwnerType(ScriptCategory category) {
|
||||
auto tryget = _scriptOwnerTypes.TryGet(category);
|
||||
if (tryget.has_value()) {
|
||||
return tryget.value();
|
||||
@@ -137,5 +137,7 @@ public:
|
||||
_scriptOwnerTypes.Set(category, t);
|
||||
return t;
|
||||
}
|
||||
|
||||
void Reset(CreatureLib::Battling::BattleLibrary* library);
|
||||
};
|
||||
#endif // PKMNLIB_ANGELSCRIPRESOLVER_HPP
|
||||
|
||||
Reference in New Issue
Block a user