You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3mp/apps/openmw/mwscript/ref.hpp

33 lines
606 B
C++

#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 const bool implicit = false;
MWWorld::Ptr operator() (Interpreter::Runtime& runtime, bool required = true,
bool activeOnly = false) const;
};
struct ImplicitRef
{
static const bool implicit = true;
MWWorld::Ptr operator() (Interpreter::Runtime& runtime, bool required = true,
bool activeOnly = false) const;
};
}
#endif