Historical signature: SetAdventureClass(spawn, value)
Parameter and behavior details in the historical explanation are under review against the current implementation.
Function: SetAdventureClass(spawn, value)
Description:
Changes the Spawn(Player) class to the new value. Class list is available at https://eq2emu.com/index.php/developers/references/classes
Parameters:
spawn (Spawn) - Spawn object representing spawn.
value (int32) - Integer value value.
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.
SetAdventureClass(Spawn,0)
Evidence: server/SpawnScripts/FarJourneyFreeport/HelmsmanNyles.lua:166; binding EQ2Emu_lua_SetAdventureClass.
Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.