1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 20:19:56 +00:00
openmw-tes3mp/apps/openmw/mwscript/ref.hpp

33 lines
614 B
C++
Raw Normal View History

#ifndef GAME_MWSCRIPT_REF_H
#define GAME_MWSCRIPT_REF_H
#include <string>
#include "../mwworld/ptr.hpp"
namespace Interpreter
{
class Runtime;
}
namespace MWScript
{
struct ExplicitRef
{
static constexpr bool implicit = false;
2014-10-15 14:27:03 +00:00
MWWorld::Ptr operator() (Interpreter::Runtime& runtime, bool required = true,
bool activeOnly = false) const;
};
struct ImplicitRef
{
static constexpr bool implicit = true;
2014-10-15 14:27:03 +00:00
MWWorld::Ptr operator() (Interpreter::Runtime& runtime, bool required = true,
bool activeOnly = false) const;
};
}
#endif