Runtime API 20 Equipment Operations - LIHACHTETAN/ClassicUO-BadNewbie-BasicIDE GitHub Wiki

Runtime API — Операции экипировки

Символов: 22

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

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

UO.Dress

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.DressSavedSet

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.DressSpeed

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.Equip

Character

Слой проверяется до перемещения предмета и должен совпадать с реальным слоем экипировки предмета. Неподходящий предмет не поднимается.

UO.EquipDressSet

Character

Applies the saved compatibility dress set using the current Basic equip route and configured dress speed. The command no longer returns unconditional True when no dress set exists.

UO.EquipItems

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.EquipLastWeapon

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.EquipT

Character

Finds the first matching item type in the backpack and equips it. With a named/string layer the general Basic overload performs the action and returns Unit. With two exact Integer arguments the legacy Equipt compatibility overload returns 1 on successful equip and 0 when no item is found or equip fails.

UO.GetEquipment

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.GetLayer

Items

Возвращает слой экипировки, на котором находится объект с ObjID .

UO.GetLayerCount

World & Geometry

Возвращает количество статических слоёв в указанной позиции карты ( X , Y ) в мире WorldNum .

UO.GetPlayerStatusText

Character

Возвращает строку статуса мобайла с ObjID .

UO.GetTileLayer

World & Geometry

Reads the currently loaded ClassicUO map/tile/art asset data using the active client asset loaders.

UO.ObjAtLayer

Character

Looks up the item occupying the requested equipment layer. The direct Basic compatibility return is deliberately dynamic: 0 when empty, otherwise a hex serial string.

UO.ObjAtLayerEx

Читает предмет/контейнер в заданном слое у указанного загруженного персонажа.

Возвращает серийный номер (ID) предмета, экипированного в указанном слое заданного мобайла.

UO.SetDress

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.SetDressSpeed

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.Undress

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.Unequip

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.UnequipItems

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.UnsetDress

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.

UO.WearItem

Character

Reads or mutates the current ClassicUO item/equipment state through the registered runtime route and client action queue.