mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
doc update
This commit is contained in:
parent
b035621249
commit
b707c18931
2 changed files with 32 additions and 1 deletions
|
|
@ -180,6 +180,22 @@ function on_inventory_closed(invid: int, playerid: int)
|
|||
|
||||
Called when the inventory is closed.
|
||||
|
||||
### CONTENT events
|
||||
|
||||
Callbacks specified in *content.lua* script.
|
||||
|
||||
```lua
|
||||
function on_scripts_loading()
|
||||
```
|
||||
|
||||
Called before the content pack scripts are loaded
|
||||
|
||||
```lua
|
||||
function on_content_loaded()
|
||||
```
|
||||
|
||||
Called after the content pack has been fully loaded
|
||||
|
||||
## Layout events
|
||||
|
||||
Script *layouts/layout_name.xml.lua* events.
|
||||
|
|
@ -202,7 +218,6 @@ Called on element removed from the screen.
|
|||
|
||||
Callbacks specified in *hud.lua* script.
|
||||
|
||||
|
||||
```lua
|
||||
function on_hud_open(playerid: int)
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue