EN Runtime API 23 Client Messages - LIHACHTETAN/ClassicUO-Bad-Newbie-CSharp-Scripts-IDE GitHub Wiki

Українська · Русский · English · Deutsch · Français · Italiano · Español · 繁體中文 · 日本語 · 한국어

Runtime API — Client messages

Home · C# · IDE · UO API · A–Z · Examples · Languages

Each team opens a card with C#-signatures, parameters and several independent examples.

UO.BookClearText

Books

Removes text from all pages of an open editable book, preserving the title and author.

UO.BookGetPageText

Books

Reads the text of one page of the last opened book.

UO.BookSetPageText

Books

Replaces the text of one page of an open editable book.

UO.BookSetText

Books

Writes text from the first page of an open editable book.

UO.ClearContextMenu

Menus & Context Menus

Removes the current local context menu model.

UO.ClientPrintEx

Client UI

Creates an inscription visible only to you above the loaded object: for example, a mark of the selected target or a warning above your character. This is not the character's speech or the message at the bottom of the game window.

UO.GetContextMenu

Menus & Context Menus

Reads the item strings of the current context menu model.

UO.GetFoundedText

Journal

Returns the text of the selected log entry.

UO.GetFoundedTextColor

Journal

Returns the color of the selected log entry.

UO.GetFoundedTextID

Journal

Returns the number of the matched search pattern alternative.

UO.GetFoundedTextIndex

Journal

Returns the current index of the selected entry, if it is still stored in the log.

UO.GetFoundedTextSerial

Journal

Returns serial of the author of the selected log entry.

UO.GetFoundedTextTimer

Journal

Returns the millisecond timestamp of the selected log entry.

UO.GumpAutoTextEntry

Gump windows

Sets the value of the element once in the first suitable server gump; if the element does not exist yet, saves the wait.

UO.NumGumpTextEntry

Gump windows

Sets the text of the input field in the server gump by index.

UO.RequestContextMenu

Menus & Context Menus

Requests the object's context menu.

UO.SetContextMenuHook

Menus & Context Menus

Registers a one-time selection of a context menu item.

UO.TextClear

Client UI

Clears the local text window's buffer.

UO.TextClose

Client UI

Closes the local text window, saving the buffer.

UO.TextOpen

Client UI

Opens a local text window.

UO.WaitTextEntry

Menus & Context Menus

Tries to write text to the textentry of the current gump.