Skip to content

Runtime API 10 Script Control

LIHACHTETAN edited this page Aug 29, 2026 · 9 revisions

Runtime API — Управление скриптом

Категория Runtime: Керування скриптом · Элементов: 1

Содержимое этой страницы сгенерировано из фактической регистрации InjectionScript Runtime. Пользовательские SUB и FUNCTION сюда не включаются.

← Управление клиентом · Оглавление API · Алфавитный указатель · Команды каста →

Команды раздела

UO.UpdateObject

  • Тип: Command
  • Namespace: Yoko.Runtime
  • Возвращает: Unit
  • Результат: No value; the command performs its registered action.
  • Регистрация: InjectionScript runtime

Точные зарегистрированные сигнатуры

UO.UpdateObject(id: Variant)

Описание

UO.UpdateObject — command, зареєстрований поточним runtime InjectionScript. Параметри: id: Variant. Повертає: Unit. Маршрут runtime: REGISTERED -> InjectionScript.Runtime.InjectionApiUO.UpdateObject; ARGUMENT CONTRACT -> position 1 id; consumed by the registered native delegate in its declared positional order as Variant; SCRIPT API -> InjectionScript.Runtime.InjectionApiUO.UpdateObject(id: InjectionValue).

Параметры

Имя Тип Обязателен во всех перегрузках По умолчанию Допустимые значения Назначение в Runtime
id Variant да — self | backpack | lasttarget | saved object name | 0x40000001 | decimal serial ARGUMENT CONTRACT -> position 1 id; consumed by the registered native delegate in its declared positional order as Variant

Пример Yoko Script

VAR serial = UO.UpdateObject(self)
IF serial <> 0 THEN
    UO.Print('Object found: ' + CStr(serial))
ELSE
    UO.Print('Object not found')
END IF
Технический маршрут Runtime, вызовы и ссылки

Runtime route / dependencies

  • REGISTERED -> InjectionScript.Runtime.InjectionApiUO.UpdateObject
  • ARGUMENT CONTRACT -> position 1 id; consumed by the registered native delegate in its declared positional order as Variant
  • SCRIPT API -> InjectionScript.Runtime.InjectionApiUO.UpdateObject(id: InjectionValue)
  • BRIDGE CONTRACT -> InjectionScript.Runtime.IApiBridge.UpdateObject(id: Int32)
  • CLASSICUO -> ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.UpdateObject(id: Int32)
  • CALL -> ClassicUO.Game.Managers.ClassicUOInjectionApiBridge.UpdateObject(id: Int32)
  • DATA -> ClassicUO World.Items / World.Mobiles / container and object collections

Clone this wiki locally