1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-08 09:37:53 +00:00
OpenMW/apps/openmw/mwscript/ref.hpp

33 lines
606 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
{
2014-10-15 14:27:03 +00:00
static const bool implicit = false;
MWWorld::Ptr operator() (Interpreter::Runtime& runtime, bool required = true,
bool activeOnly = false) const;
};
struct ImplicitRef
{
2014-10-15 14:27:03 +00:00
static const bool implicit = true;
MWWorld::Ptr operator() (Interpreter::Runtime& runtime, bool required = true,
bool activeOnly = false) const;
};
}
#endif