update doc/*/scripting/ui.md

This commit is contained in:
MihailRis 2025-12-10 22:00:09 +03:00
parent dfa9656871
commit ecdaf186eb
2 changed files with 5 additions and 3 deletions

View file

@ -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 |

View file

@ -244,4 +244,5 @@ Canvas.decode(data: Bytearray, format: str) -> Canvas
| Название | Тип | Чтение | Запись | Описание |
|-----------|-----|--------|--------|-------------------------------------------|
| inventory | int | да | нет | id инвентаря, к которому привязан элемент |
| slotIndex | int | да | нет | индекс слота, к которому примязан элемент |