aboutsummaryrefslogtreecommitdiff
path: root/old/Makefile.bak
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-08-22 22:55:17 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-08-22 22:55:17 +0300
commitd4df20a913c6663a4f42294e06e8c482fc947259 (patch)
treeefda0fa401100670c85649c53692b641c208c4d8 /old/Makefile.bak
parentdb495668aeed333c881d8c2ef62b72b3cd1bf1ce (diff)
downloadminetest-d4df20a913c6663a4f42294e06e8c482fc947259.tar.gz
minetest-d4df20a913c6663a4f42294e06e8c482fc947259.tar.bz2
minetest-d4df20a913c6663a4f42294e06e8c482fc947259.zip
if creative mode and player has no build privileges, cannot drop items.
Diffstat (limited to 'old/Makefile.bak')
0 files changed, 0 insertions, 0 deletions
Floor, Boston, MA 02110-1301 USA. */ #ifndef S_INVENTORY_H_ #define S_INVENTORY_H_ #include "cpp_api/s_base.h" struct ItemStack; class ScriptApiDetached : virtual public ScriptApiBase { public: /* 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);