mirror of
https://github.com/zeldaret/botw
synced 2026-06-10 20:58:31 -04:00
ksys/act: Implement more Query functions
This commit is contained in:
@@ -64,12 +64,14 @@ public:
|
||||
const sead::Buffer<BehaviorDef>& getBehaviors() const { return mBehaviors; }
|
||||
const sead::Buffer<QueryDef>& getQueries() const { return mQueries; }
|
||||
|
||||
bool getSInstParam(const char** value, const Definition& def,
|
||||
const sead::SafeString& param_name) const;
|
||||
bool getSInstParam(sead::SafeString* value, const Definition& def,
|
||||
const sead::SafeString& param_name) const;
|
||||
bool getSInstParam(const f32** value, const Definition& def,
|
||||
const sead::SafeString& param_name) const;
|
||||
bool getSInstParam(const s32** value, const Definition& def,
|
||||
const sead::SafeString& param_name) const;
|
||||
bool getSInstParam(const f32** value, const Definition& def,
|
||||
const sead::SafeString& param_name) const;
|
||||
bool getSInstParam(const sead::Vector3f** value, const Definition& def,
|
||||
const sead::SafeString& param_name) const;
|
||||
bool getSInstParam(const bool** value, const Definition& def,
|
||||
@@ -129,10 +131,4 @@ inline bool AIProgram::getSInstParam_(const T** value, const AIProgram::Definiti
|
||||
return true;
|
||||
}
|
||||
|
||||
inline bool AIProgram::getSInstParam(const f32** value, const AIProgram::Definition& def,
|
||||
const sead::SafeString& param_name) const {
|
||||
static const f32 sDefault{};
|
||||
return getSInstParam_(value, def, param_name, agl::utl::ParameterType::F32, &sDefault);
|
||||
}
|
||||
|
||||
} // namespace ksys::res
|
||||
|
||||
Reference in New Issue
Block a user