This commit is contained in:
MihailRis 2024-12-21 13:11:23 +03:00
parent 17161e5981
commit c3f22c6854
7 changed files with 30 additions and 30 deletions

View file

@ -21,9 +21,9 @@ class Player;
struct ItemDef;
class Inventory;
class UiDocument;
struct block_funcs_set;
struct item_funcs_set;
struct world_funcs_set;
struct BlockFuncsSet;
struct ItemFuncsSet;
struct WorldFuncsSet;
struct UserComponent;
struct uidocscript;
class BlocksController;
@ -141,7 +141,7 @@ namespace scripting {
const std::string& prefix,
const std::filesystem::path& file,
const std::string& fileName,
block_funcs_set& funcsset
BlockFuncsSet& funcsset
);
/// @brief Load script associated with an Item
@ -155,7 +155,7 @@ namespace scripting {
const std::string& prefix,
const std::filesystem::path& file,
const std::string& fileName,
item_funcs_set& funcsset
ItemFuncsSet& funcsset
);
/// @brief Load component script
@ -184,7 +184,7 @@ namespace scripting {
const std::string& packid,
const std::filesystem::path& file,
const std::string& fileName,
world_funcs_set& funcsset
WorldFuncsSet& funcsset
);
/// @brief Load script associated with an UiDocument