#include <l_playermeta.h>
|
static void | create (lua_State *L, IMetadata *metadata) |
|
static void | Register (lua_State *L) |
|
static MetaDataRef * | checkAnyMetadata (lua_State *L, int narg) |
|
static ScriptApiBase * | getScriptApiBase (lua_State *L) |
|
static Server * | getServer (lua_State *L) |
|
static ServerInventoryManager * | getServerInventoryMgr (lua_State *L) |
|
static Client * | getClient (lua_State *L) |
|
static GUIEngine * | getGuiEngine (lua_State *L) |
|
static EmergeThread * | getEmergeThread (lua_State *L) |
|
static IGameDef * | getGameDef (lua_State *L) |
|
static Environment * | getEnv (lua_State *L) |
|
static std::string | getCurrentModPath (lua_State *L) |
|
template<typename T > |
static T * | getScriptApi (lua_State *L) |
|
static bool | registerFunction (lua_State *L, const char *name, lua_CFunction func, int top) |
|
static void | registerClass (lua_State *L, const char *name, const luaL_Reg *methods, const luaL_Reg *metamethods) |
|
template<typename T > |
static T * | checkObject (lua_State *L, int narg) |
|
static int | l_deprecated_function (lua_State *L, const char *good, const char *bad, lua_CFunction func) |
| A wrapper for deprecated functions.
|
|
|
static const char | className [] = "PlayerMetaRef" |
|
◆ PlayerMetaRef()
PlayerMetaRef::PlayerMetaRef |
( |
IMetadata * |
metadata | ) |
|
|
inline |
◆ ~PlayerMetaRef()
PlayerMetaRef::~PlayerMetaRef |
( |
| ) |
|
|
default |
◆ clearMeta()
void PlayerMetaRef::clearMeta |
( |
| ) |
|
|
privatevirtual |
◆ create()
void PlayerMetaRef::create |
( |
lua_State * |
L, |
|
|
IMetadata * |
metadata |
|
) |
| |
|
static |
◆ getmeta()
IMetadata * PlayerMetaRef::getmeta |
( |
bool |
auto_create | ) |
|
|
privatevirtual |
◆ Register()
void PlayerMetaRef::Register |
( |
lua_State * |
L | ) |
|
|
static |
◆ reportMetadataChange()
void PlayerMetaRef::reportMetadataChange |
( |
const std::string * |
name = nullptr | ) |
|
|
privatevirtual |
◆ className
const char PlayerMetaRef::className = "PlayerMetaRef" |
|
static |
◆ metadata
◆ methods
const luaL_Reg PlayerMetaRef::methods |
|
staticprivate |
Initial value:= {
{0,0}
}
#define luamethod(class, name)
Definition: l_internal.h:31
Referenced by Register().
The documentation for this class was generated from the following files: