Function: GetID(spawn)
Description: Gets the current ID of the Spawn for the Zone.
Parameters:
spawn(Spawn) - Spawn object representingspawn.
Returns: UInt32 ID of the Spawn for it's current instance in the zone.
GetIDRegistered in this checkout as EQ2Emu_lua_GetID; implementation found at WorldServer/Lua/LuaFunctions.cpp:732.
Historical signature: GetID(spawn)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Description: Gets the current ID of the Spawn for the Zone.
Parameters:
spawn (Spawn) - Spawn object representing spawn.Returns: UInt32 ID of the Spawn for it's current instance in the zone.
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.
if GetID(Target) == GetID(v) then
Evidence: server/Spells/Commoner/Blessing.lua:20; binding EQ2Emu_lua_GetID.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.