Runtime API 04 Gumps and Menus - LIHACHTETAN/ClassicUO-BadNewbie-BasicIDE GitHub Wiki
Runtime API — Гампы и меню
Символов: 43
Новые тематические разделы · Алфавитный указатель · Правила и сценарии
Для каждой команды доступна отдельная карточка: актуальные перегрузки, параметры, ограничения и несколько примеров.
UO.AutoMenu
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.CancelAllMenuHooks
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.CancelGump
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.CancelMenu
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.CloseClientGump
Закрывает гамп с указанным ID на подключённом клиенте.
UO.CloseMenu
Отменяет все активные MenuGump клиента через CancelForYoko. Это старые серверные меню, а не любые окна интерфейса.
UO.CloseSimpleGump
Разрешает селектор серверного окна через ResolveGumpUnsafe и закрывает его локально, только если разрешено закрытие правой кнопкой (CanCloseWithRightClick). Не отправляет произвольный ButtonID; для ответа на серверную кнопку используйте SendGumpSelect.
UO.GetGump
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetGumpButtonsDescription
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetGumpCount
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetGumpFullLines
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetGumpID
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetGumpInfo
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetGumpsCount
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetGumpSerial
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetGumpShortLines
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GetLastMenuItems
Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.
UO.GetMenuItems
Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.
UO.GetMenuItemsEx
Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.
UO.GumpAutoCheckBox
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GumpAutoRadiobutton
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GumpExists
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.GumpObject
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.InfoGump
Открывает подробный инспектор серверного окна: GumpID, Serial, положение, размеры, страницы, кнопки и ButtonID, текст, поля ввода и переключатели. Без аргумента выбирается ранее выбранный или последний активный серверный gump. Аргумент разрешается по GumpID/serial, затем по индексу списка. Только -1 означает выбранное/последнее окно; другие отрицательные Integer сохраняют 32-битный ID, например 0x87654321. Инспектируемое окно становится выбранным для SendGumpSelect(buttonId). При отсутствии подходящего окна клиент сообщает об этом; команда ничего не возвращает.
UO.InfoGumps
Без аргумента открывает список активных серверных окон, их индексов, GumpID, serial и размеров. Внутренние окна клиента в этот список не входят. Форма InfoGumps(gump) открывает подробный инспектор указанного окна, как InfoGump(gump). Список отражает состояние на момент открытия.
UO.IsGump
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.IsGumpCanBeClosed
Возвращает True , если гамп с указанным индексом может быть закрыт пользователем, False — если он помечен как незакрываемый.
UO.LastGump
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.MenuHookPresent
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.MenuPresent
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.NumGumpButton
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.NumGumpCheckBox
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.NumGumpRadiobutton
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.ReqVirtuesGump
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.SelectGump
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.SendGumpSelect
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.SetGump
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.WaitGump
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.WaitGumpCheck
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.WaitGumpEntry
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.WaitingForMenu
Waits for a server menu and returns 1 only when the requested occurrence/name is satisfied. menuCount selects the ordinal distinct menu appearance; menuName is matched case-sensitively. blockMenu=TRUE sends the menu cancel/right-click response and closes the matched menu. skillOrSerial optionally uses a skill or object before the wait starts.
UO.WaitingMenu
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.
UO.WaitMenu
Reads or updates the current client UI/Gump state through the registered Basic/ClassicUO UI route.