mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
add docs for get_exchange_inventory
This commit is contained in:
parent
39f7f29e88
commit
6a486af6ab
2 changed files with 10 additions and 1 deletions
|
|
@ -57,6 +57,10 @@ hud.get_block_inventory() -> int
|
||||||
-- Gives the ID of the second open inventory (block, virtual inventory...) or 0.
|
-- Gives the ID of the second open inventory (block, virtual inventory...) or 0.
|
||||||
hud.get_second_inventory() -> int
|
hud.get_second_inventory() -> int
|
||||||
|
|
||||||
|
-- Get the inventory ID of exchange item (grabbed item in inventory) or 0.
|
||||||
|
-- It has only one slot - 0
|
||||||
|
hud.get_exchange_inventory() -> int
|
||||||
|
|
||||||
-- Gives the ID of the player that the UI is bound to.
|
-- Gives the ID of the player that the UI is bound to.
|
||||||
hud.get_player() -> int
|
hud.get_player() -> int
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,11 @@ hud.get_block_inventory() -> int
|
||||||
-- Дает ID второго открытого инвентаря (блок, виртуальный инвентарь...) или 0.
|
-- Дает ID второго открытого инвентаря (блок, виртуальный инвентарь...) или 0.
|
||||||
hud.get_second_inventory() -> int
|
hud.get_second_inventory() -> int
|
||||||
|
|
||||||
|
-- Получить ID инвентаря, в котором находится предмет во время
|
||||||
|
-- его перемещения в инвентаре, или 0 если его не существует.
|
||||||
|
-- Имеет единственный слот - 0
|
||||||
|
hud.get_exchange_inventory() -> int
|
||||||
|
|
||||||
-- Дает ID игрока, к которому привязан пользовательский интерфейс.
|
-- Дает ID игрока, к которому привязан пользовательский интерфейс.
|
||||||
hud.get_player() -> int
|
hud.get_player() -> int
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue