mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
block coords passing to on_open
This commit is contained in:
parent
98a96a9c1b
commit
60902e69ba
3 changed files with 15 additions and 5 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include <string>
|
||||
#include <filesystem>
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#include "../../delegates.h"
|
||||
|
||||
|
|
@ -65,7 +66,7 @@ namespace scripting {
|
|||
bool on_item_break_block(Player* player, const ItemDef* item, int x, int y, int z);
|
||||
|
||||
/** Called on UI view show */
|
||||
void on_ui_open(UiDocument* layout, Inventory* inventory);
|
||||
void on_ui_open(UiDocument* layout, Inventory* inventory, glm::ivec3 blockcoord);
|
||||
/** Called on UI view close*/
|
||||
void on_ui_close(UiDocument* layout, Inventory* inventory);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue