EN Runtime API 39 Time and Waiting - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki
Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어
Runtime API - Time and wait
Home · C# · IDE · UO API · A–Z · Examples · Languages
Each team opens a card with C#-signatures, parameters and several independent examples.
UO.AddRecall
UO.CallSub
Launches the C# delegate previously registered in the current execution via RegisterRoutine(name, handler). The call returns control before the helper completes; One registered task cannot be imposed on itself.
UO.ConnectedTime
Returns the calendar stamp of the character's last successful entry into the world. Helps you understand if the connection has changed while waiting or pausing before continuing the same task.
UO.Date
Reads the local calendar date of the computer with the number YYMMDD. Useful for naming a daily series of activities or detecting date changes.
UO.DisconnectedTime
Returns the calendar stamp of the last time the game connection was lost. It is needed to diagnose a break and estimate the duration of a completed connection, and not to determine the number of login attempts.
UO.Exec
Executes a text game command or runs a registered C# delegate or a loaded C# file.
UO.GetPing
Reads the game server response delay. Without argument, uses the last dimension; with a timeout requests a fresh response.
UO.GetRunMountTimer
Shows the configured interval of one horse running step in milliseconds. Useful for checking the mode, estimating the timing and saving the setting before slowing down temporarily.
UO.GetRunUnMountTimer
Shows the configured interval of one walking step in milliseconds. Useful for checking the mode, estimating the timing and saving the setting before slowing down temporarily.
UO.GetScriptName
Reads the display name of the active run.
UO.GetScriptsCount
Counts active runs in this client.
UO.GetScriptsList
Returns the current numeric script indexes.
UO.GetScriptState
Reads the execution status by index.
UO.Hide
Without an argument, enables a crosshair to locally hide an item or character. Hide(serial) hides the specified loaded object on the client side. You can't hide yourself. The server object is not deleted, the Hiding skill is not applied; server updates may make the object visible again.
UO.LineTime
Returns the calendar timestamp of the selected log entry.
UO.OpenIDE
UO.PauseResumeScript
Toggles manual pause of one active run. Use to temporarily stop mining or another procedure without losing its current progress.
UO.SetRunMountTimer
Sets the step interval for running on horseback. Use to intentionally slow down or return to standard speed. You cannot speed up movement beyond the standard tempo with this command.
UO.SetRunUnmountTimer
Sets the walking stride interval. Use to intentionally slow down or return to standard speed. You cannot speed up movement beyond the standard tempo with this command.
UO.SetScriptName
Changes the display name of one active run. Helps distinguish between running tasks in the list and through GetScriptName.
UO.StartScript
UO.StopAllScripts
UO.StopScript
Requests the cancellation of one active launch, including one that is paused. Use when this run needs to be completed rather than continued later.
UO.SubExists
Checks whether the C# delegate with the specified name is registered with the current execution. This is a registry of callback functions for a given session, without automatically searching for arbitrary methods through reflection; explicitly loaded file inputs are also accessible by key.
UO.Terminate
UO.Time
Reads the computer's local time of day using the number HHMMSS. Convenient for selecting the allowed operating time, not for measuring duration.
UO.Timer
Reads the running time of the current runtime in tenths of a second. Suitable for your own delays and action marks.
UO.UpdateFigure
Replaces the description of an existing local map figure.
UO.Wait
Pauses script execution for the specified time.
UO.Waiting
Checks whether prepared responses remain in the target queue.