Historical signature: SendNewAdventureSpells(player)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SendNewAdventureSpells(player)
Description:
Sends adventure spells by their level.
Parameters:
player (Spawn) - Spawn object representing player.
Returns: None.
Connection lifetime:
Each player or group-member connection resolved by this function is retained through the native call. A disconnect or reconnect during a callback cannot destroy that retained connection or switch the ongoing call to a replacement. A later Lua call resolves the current connection. This does not extend the lifetime of unrelated spawn or item userdata.
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.
SendNewAdventureSpells(Player)
Evidence: server/PlayerScripts/global.lua:56; binding EQ2Emu_lua_SendNewAdventureSpells.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.