Runtime API 23 Client Messages - LIHACHTETAN/ClassicUO-BadNewbie-BasicIDE GitHub Wiki

Runtime API — Сообщения клиента

Символов: 21

Новые тематические разделы · Алфавитный указатель · Правила и сценарии

Для каждой команды доступна отдельная карточка: актуальные перегрузки, параметры, ограничения и несколько примеров.

UO.BookClearText

Books

Clears all pages of the currently open editable ClassicUO book through the same real page-update packet path used by BookSetPageText.

UO.BookGetPageText

Books

Reads page text from the currently open ModernBookGump first. If no live page text is available, the Basic compatibility buffer is used as a fallback.

UO.BookSetPageText

Books

Writes a page into the currently open editable ModernBookGump, updates the page buffer/UI and sends Send_BookPageData for that page.

UO.BookSetText

Books

Updates the currently open editable book rather than only storing a Basic-side string. Without explicit form-feed separators, lines are divided automatically into groups of up to ten lines per page. Each affected page is updated locally and sent to the server.

UO.ClearContextMenu

Menus & Context Menus

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.ClientPrintEx

Client UI

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.GetContextMenu

Menus & Context Menus

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.GetFoundedText

Journal

Возвращает текст последней найденной поиском строки журнала. Если найденный индекс отсутствует, возвращает пустую строку. Это не то же самое, что GetJournal(0), который читает самую новую строку.

UO.GetFoundedTextColor

Journal

Возвращает цвет последней найденной строки журнала как hex-строку. Если найденной строки нет, возвращает "0x0000".

UO.GetFoundedTextID

Journal

Reads the pattern ID saved by the last successful journal search. For the search text 'first|second|third', a match on second returns 1.

UO.GetFoundedTextIndex

Journal

Reads or changes the requested mobile/player stat/state through the current ClassicUO world model and registered API bridge.

UO.GetFoundedTextSerial

Journal

Возвращает serial источника последней найденной строки журнала как hex-строку. Если найденной строки нет, возвращает "0x00000000".

UO.GetFoundedTextTimer

Journal

Returns the same timestamp contract as UO.JournalTimer(index), but for the line stored by the most recent successful journal search/wait operation.

UO.GumpAutoTextEntry

Gumps

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.NumGumpTextEntry

Gumps

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.RequestContextMenu

Menus & Context Menus

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.SetContextMenuHook

Menus & Context Menus

Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.

UO.TextClear

Client UI

Очищает текстовое окно, открытое иcпользованием Injection или командой TextOpen.

UO.TextClose

Client UI

Закрывает текстовое окно, открытое использованием Injection или командой TextOpen.

UO.TextOpen

Client UI

Открывает текстовое окно.

UO.WaitTextEntry

Menus & Context Menus

Ищет текущий ожидающий диалог ввода текста и отвечает на него; если такого нет, устанавливает ловушку на следующий входящий.