Lua functions

SetWorldTime

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

Historical signature: SetWorldTime(newYear, newMonth, newHour, newMinute)

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

Function: SetWorldTime(newYear, newMonth, newHour, newMinute)

Description: Set's the world time on the world server.

Parameters:

  • newYear (uint16) - Integer value newYear.
  • newMonth (uint16) - Integer value newMonth.
  • newHour (uint16) - Integer value newHour.
  • newMinute (uint16) - Integer value newMinute.

Returns: None.

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. Historical explanation: EQ2Emu Lua documentation.