aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/util_commands/mod.conf
diff options
context:
space:
mode:
authorIFRFSX <1079092922@qq.com>2020-11-21 04:55:34 +0000
committersfan5 <sfan5@live.de>2021-01-30 21:06:14 +0100
commit49728d0b01e67cbb69aec394d7af5b81e86e5ebc (patch)
tree2dd5092c701f0e4071f6741f53cf6c4617db455f /games/devtest/mods/util_commands/mod.conf
parentbc69b4d52c1dd7eed09f56f7361b21b2bc570866 (diff)
downloadminetest-49728d0b01e67cbb69aec394d7af5b81e86e5ebc.tar.gz
minetest-49728d0b01e67cbb69aec394d7af5b81e86e5ebc.tar.bz2
minetest-49728d0b01e67cbb69aec394d7af5b81e86e5ebc.zip
Translated using Weblate (Chinese (Simplified))
Currently translated at 92.0% (1243 of 1350 strings)
Diffstat (limited to 'games/devtest/mods/util_commands/mod.conf')
0 files changed, 0 insertions, 0 deletions
/span> /* Detached inventory callbacks */ // Return number of accepted items to be moved int detached_inventory_AllowMove( const std::string &name, 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 detached_inventory_AllowPut( const std::string &name, const std::string &listname, int index, ItemStack &stack, ServerActiveObject *player); // Return number of accepted items to be taken int detached_inventory_AllowTake( const std::string &name, const std::string &listname, int index, ItemStack &stack, ServerActiveObject *player); // Report moved items void detached_inventory_OnMove( const std::string &name, const std::string &from_list, int from_index, const std::string &to_list, int to_index, int count, ServerActiveObject *player); // Report put items void detached_inventory_OnPut( const std::string &name, const std::string &listname, int index, ItemStack &stack, ServerActiveObject *player); // Report taken items void detached_inventory_OnTake( const std::string &name, const std::string &listname, int index, ItemStack &stack, ServerActiveObject *player); private: bool getDetachedInventoryCallback( const std::string &name, const char *callbackname); }; #endif /* S_INVENTORY_H_ */