1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-04 13:56:39 +00:00
openmw/apps/openmw/mwscript/ref.hpp
2022-09-22 21:35:26 +03:00

28 lines
569 B
C++

#ifndef GAME_MWSCRIPT_REF_H
#define GAME_MWSCRIPT_REF_H
#include "../mwworld/ptr.hpp"
namespace Interpreter
{
class Runtime;
}
namespace MWScript
{
struct ExplicitRef
{
static constexpr bool implicit = false;
MWWorld::Ptr operator()(Interpreter::Runtime& runtime, bool required = true, bool activeOnly = false) const;
};
struct ImplicitRef
{
static constexpr bool implicit = true;
MWWorld::Ptr operator()(Interpreter::Runtime& runtime, bool required = true, bool activeOnly = false) const;
};
}
#endif