Lua functions

ResetCharacterTitleSuffix

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

Historical signature: ResetCharacterTitleSuffix(…) via current binding

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

Function: ResetCharacterTitleSuffix(player)

Description: Persists suffix index -1 and refreshes the title when a connection can be resolved. A valid disconnected player can still have the database selection reset.

Parameters: player: player spawn.

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

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.