aboutsummaryrefslogtreecommitdiff
path: root/builtin/common/tests
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2021-04-28 08:38:18 +0200
committerGitHub <noreply@github.com>2021-04-28 08:38:18 +0200
commit734fb2c811cdb0c26153c2bd5b62e458343963e7 (patch)
treed00e7bb51f165c11d8fa31def5cbd722f3448ae9 /builtin/common/tests
parent9660ae288a4e520907a29f34ea7ed20acdcbc212 (diff)
downloadminetest-734fb2c811cdb0c26153c2bd5b62e458343963e7.tar.gz
minetest-734fb2c811cdb0c26153c2bd5b62e458343963e7.tar.bz2
minetest-734fb2c811cdb0c26153c2bd5b62e458343963e7.zip
Add helpful error messages if Irrlicht library / include dir are set incorrectly (#11232)
Diffstat (limited to 'builtin/common/tests')
0 files changed, 0 insertions, 0 deletions
DEMETA_H_ #include "cpp_api/s_base.h" #include "cpp_api/s_item.h" #include "irr_v3d.h" struct ItemStack; class ScriptApiNodemeta : virtual public ScriptApiBase, public ScriptApiItem { public: ScriptApiNodemeta(); virtual ~ScriptApiNodemeta(); // Return number of accepted items to be moved int nodemeta_inventory_AllowMove(v3s16 p, const std::string &from_list, int from_index, const std::string &to_list, int to_index, int count, ServerActiveObject *player); // Return number of accepted items to be put int nodemeta_inventory_AllowPut(v3s16 p, const std::string &listname, int index, ItemStack &stack, ServerActiveObject *player); // Return number of accepted items to be taken int nodemeta_inventory_AllowTake(v3s16 p, const std::string &listname, int index, ItemStack &stack, ServerActiveObject *player); // Report moved items void nodemeta_inventory_OnMove(v3s16 p, const std::string &from_list, int from_index, const std::string &to_list, int to_index, int count, ServerActiveObject *player); // Report put items void nodemeta_inventory_OnPut(v3s16 p, const std::string &listname, int index, ItemStack &stack, ServerActiveObject *player); // Report taken items void nodemeta_inventory_OnTake(v3s16 p, const std::string &listname, int index, ItemStack &stack, ServerActiveObject *player); private: }; #endif /* S_NODEMETA_H_ */