MR::isValidInfo()

This commit is contained in:
shibbo 2019-08-02 20:43:55 -04:00
parent 2795a911ce
commit bf51c80d37
2 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,7 @@ bool getJMapInfoArgNoInit(const JMapInfoIter &, const char *, bool *);
namespace MR
{
bool isValidInfo(const JMapInfoIter &);
bool getJMapInfoArg0NoInit(const JMapInfoIter &, s32 *);
bool getJMapInfoArg0NoInit(const JMapInfoIter &, f32 *);
bool getJMapInfoArg0NoInit(const JMapInfoIter &, bool *);

View File

@ -32,6 +32,11 @@ bool getJMapInfoArgNoInit(const JMapInfoIter &iter, const char *name, s32 *out)
namespace MR
{
bool isValidInfo(const JMapInfoIter &iter)
{
return iter.isValid();
}
bool getJMapInfoArg0NoInit(const JMapInfoIter &iter, s32 *out)
{
return getJMapInfoArgNoInit(iter, "Obj_arg0", out);