mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
update doc/*/scripting/builtins/libhud.md
This commit is contained in:
parent
db05527fcf
commit
50cd4f98d9
2 changed files with 10 additions and 0 deletions
|
|
@ -20,6 +20,12 @@ hud.open(
|
||||||
[optional] invid: int
|
[optional] invid: int
|
||||||
) -> int
|
) -> int
|
||||||
|
|
||||||
|
-- Returns true if specified layout is open.
|
||||||
|
hud.is_open(
|
||||||
|
layoutid: str
|
||||||
|
) -> bool
|
||||||
|
|
||||||
|
|
||||||
-- Open block UI and inventory.
|
-- Open block UI and inventory.
|
||||||
-- Throws an exception if block has no UI layout.
|
-- Throws an exception if block has no UI layout.
|
||||||
-- Returns block inventory ID (if *"inventory-size"=0* a virtual
|
-- Returns block inventory ID (if *"inventory-size"=0* a virtual
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@ hud.open(
|
||||||
[опционально] invid: int
|
[опционально] invid: int
|
||||||
) -> int
|
) -> int
|
||||||
|
|
||||||
|
-- Возвращает true если указаный макет UI открыт.
|
||||||
|
hud.is_open(
|
||||||
|
layoutid: str
|
||||||
|
) -> bool
|
||||||
|
|
||||||
-- Открывает инвентарь и UI блока.
|
-- Открывает инвентарь и UI блока.
|
||||||
-- Если блок не имеет макета UI - бросается исключение.
|
-- Если блок не имеет макета UI - бросается исключение.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue