From ecdaf186ebdf797755622c188fbb5901268e03b0 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Wed, 10 Dec 2025 22:00:09 +0300 Subject: [PATCH] update doc/*/scripting/ui.md --- doc/en/scripting/ui.md | 7 ++++--- doc/ru/scripting/ui.md | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/en/scripting/ui.md b/doc/en/scripting/ui.md index 02cebe709..22a878944 100644 --- a/doc/en/scripting/ui.md +++ b/doc/en/scripting/ui.md @@ -241,6 +241,7 @@ Properties: Properties: -| Name | Type | Read | Write | Description | -| --------- | ---- | ---- | ----- | ------------------------------------------------- | -| inventory | int | yes | no | id of the inventory to which the element is bound | +| Name | Type | Read | Write | Description | +| --------- | ---- | ---- | ----- | -------------------------------------------------- | +| inventory | int | yes | no | id of the inventory to which the element is bound | +| slotIndex | int | yes | no | index of the slot to which the element is attached | diff --git a/doc/ru/scripting/ui.md b/doc/ru/scripting/ui.md index 4d1fee695..05b448a43 100644 --- a/doc/ru/scripting/ui.md +++ b/doc/ru/scripting/ui.md @@ -244,4 +244,5 @@ Canvas.decode(data: Bytearray, format: str) -> Canvas | Название | Тип | Чтение | Запись | Описание | |-----------|-----|--------|--------|-------------------------------------------| | inventory | int | да | нет | id инвентаря, к которому привязан элемент | +| slotIndex | int | да | нет | индекс слота, к которому примязан элемент |