Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ScriptApiItem Member List

This is the complete list of members for ScriptApiItem, including all inherited members.

addObjectReference(ServerActiveObject *cobj)ScriptApiBase
checkSetByBuiltin()ScriptApiBase
clientOpenLibs(lua_State *L)ScriptApiBaseinline
DISABLE_CLASS_COPY(ScriptApiBase)ScriptApiBase
getCurrentModNameInsecure(lua_State *L)ScriptApiBasestatic
getEmergeThread()ScriptApiBaseinlineprotected
getEnv()ScriptApiBaseinlineprotected
getGameDef()ScriptApiBaseinline
getItemCallback(const char *name, const char *callbackname, const v3s16 *p=nullptr)ScriptApiItemprotected
getOrigin()ScriptApiBaseinline
getServer()ScriptApiBase
getStack()ScriptApiBaseinlineprotected
getType()ScriptApiBaseinline
item_CraftPredict(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv)ScriptApiItem
item_OnCraft(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv)ScriptApiItem
item_OnDrop(ItemStack &item, ServerActiveObject *dropper, v3f pos)ScriptApiItem
item_OnPlace(std::optional< ItemStack > &item, ServerActiveObject *placer, const PointedThing &pointed)ScriptApiItem
item_OnSecondaryUse(std::optional< ItemStack > &item, ServerActiveObject *user, const PointedThing &pointed)ScriptApiItem
item_OnUse(std::optional< ItemStack > &item, ServerActiveObject *user, const PointedThing &pointed)ScriptApiItem
loadMod(const std::string &script_path, const std::string &mod_name)ScriptApiBase
loadScript(const std::string &script_path)ScriptApiBase
LuaItemStack classScriptApiItemfriend
luaPanic(lua_State *L)ScriptApiBaseprivatestatic
m_emergeScriptApiBaseprivate
m_environmentScriptApiBaseprivate
m_gamedefScriptApiBaseprivate
m_last_run_modScriptApiBaseprotected
m_lock_recursion_countScriptApiBaseprotected
m_luastackScriptApiBaseprivate
m_luastackmutexScriptApiBaseprotected
m_owning_threadScriptApiBaseprotected
m_typeScriptApiBaseprivate
ModApiItem classScriptApiItemfriend
objectrefGetOrCreate(lua_State *L, ServerActiveObject *cobj)ScriptApiBaseprotected
pushPlayerHPChangeReason(lua_State *L, const PlayerHPChangeReason &reason)ScriptApiBaseprotected
pushPointedThing(const PointedThing &pointed, bool hitpoint=false)ScriptApiItemprotected
readParam(lua_State *L, int index)LuaHelperprotectedstatic
readParam(lua_State *L, int index, const T &default_value)LuaHelperinlineprotectedstatic
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
readParam(lua_State *L, int index)LuaHelperprotected
realityCheck()ScriptApiBaseprotected
removeObjectReference(ServerActiveObject *cobj)ScriptApiBase
runCallbacksRaw(int nargs, RunCallbacksMode mode, const char *fxn)ScriptApiBase
ScriptApiBase(ScriptingType type)ScriptApiBase
ScriptApiBase()ScriptApiBaseinline
scriptError(int result, const char *fxn)ScriptApiBaseprotected
setEmergeThread(EmergeThread *emerge)ScriptApiBaseinlineprotected
setEnv(Environment *env)ScriptApiBaseinlineprotected
setGameDef(IGameDef *gamedef)ScriptApiBaseinlineprotected
setOriginDirect(const char *origin)ScriptApiBase
setOriginFromTableRaw(int index, const char *fxn)ScriptApiBase
stackDump(std::ostream &o)ScriptApiBaseprotected
~ScriptApiBase()ScriptApiBasevirtual