Code format

This commit is contained in:
2025-05-04 14:32:03 +02:00
parent c0337ef97f
commit 93b45ac12e
3012 changed files with 8372 additions and 9301 deletions

View File

@@ -1,4 +1,4 @@
---@diagnostic disable: missing-return, lowercase-global
---Attempts to log out and return to the character selection screen. Results vary based on current conditions: If the player is in combat or under other temporary restrictions (e.g. falling), fires the UI_ERROR_MESSAGE event with a message indicating the player cannot log out at the moment. If the player is not in an inn, major city, or other "rest" area (i.e. IsResting() returns nil), fires the PLAYER_CAMPING event, causing the default UI to show a countdown, logging the player out after a period of time if not canceled. If the player is in a "rest" area, logs out immediately.
function Logout() end
function Logout() end