Lua functions

ShowLootWindow

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

Historical signature: ShowLootWindow(player, spawn)

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

Function: ShowLootWindow(player, spawn)

Description: Shows the Player the Spawn's loot window.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • spawn (Spawn) - Spawn object representing spawn.

Returns: None.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

ShowLootWindow(Player, NPC)

Evidence: server/SpawnScripts/FarJourneyFreeport/atreasurechest.lua:27; binding EQ2Emu_lua_ShowLootWindow.

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