Lua functions

HasPendingLootItem

Registered in this checkout as EQ2Emu_lua_HasPendingLootItem; implementation found at WorldServer/Lua/LuaFunctions.cpp:1001.

Historical signature: HasPendingLootItem(entity, player, item_id)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: HasPendingLootItem(entity, player, item_id)

Description: Identifies if the Player has a specific pending loot of item_id with the targetted Entity (NPC).

Parameters:

  • entity (int32) - Integer value entity.
  • player (Spawn) - Spawn object representing player.
  • item_id (uint32) - Integer value item_id.

Returns: None.

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.