mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
Update events.md
This commit is contained in:
parent
9ad21460a2
commit
09a1985cfb
1 changed files with 7 additions and 0 deletions
|
|
@ -189,6 +189,13 @@ function on_inventory_closed(invid: int, playerid: int)
|
|||
|
||||
Вызывается при закрытии инвентаря.
|
||||
|
||||
```lua
|
||||
function on_inventory_interact(invid: int, slot: int, action: int)
|
||||
```
|
||||
|
||||
Вызывается при взаимодействии со слотом игрока.
|
||||
action отвечает за тип взаимодействия (0 - левый клик, 1 - правый клик, 2 - левый клик + шифт)
|
||||
|
||||
|
||||
## События макета
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue