aboutsummaryrefslogtreecommitdiff
path: root/src/unittest/test_socket.cpp
diff options
context:
space:
mode:
authorLiu Tao <lyuutau@outlook.com>2021-03-21 13:41:20 +0000
committersfan5 <sfan5@live.de>2021-04-10 17:51:39 +0200
commit1a433e3185440dffeb9682cfa775fcee1926ce89 (patch)
tree5227d9b060234f8434c136e8d6a7fec40d3e82e0 /src/unittest/test_socket.cpp
parentfa98a00916ba2191ba759f3042aac1199f74ac27 (diff)
downloadminetest-1a433e3185440dffeb9682cfa775fcee1926ce89.tar.gz
minetest-1a433e3185440dffeb9682cfa775fcee1926ce89.tar.bz2
minetest-1a433e3185440dffeb9682cfa775fcee1926ce89.zip
Translated using Weblate (Chinese (Simplified))
Currently translated at 94.7% (1285 of 1356 strings)
Diffstat (limited to 'src/unittest/test_socket.cpp')
0 files changed, 0 insertions, 0 deletions
l opt">; struct ItemDefinition; class LuaItemStack; class ModApiItemMod; class InventoryList; struct InventoryLocation; class ScriptApiItem : virtual public ScriptApiBase { public: bool item_OnDrop(ItemStack &item, ServerActiveObject *dropper, v3f pos); bool item_OnPlace(ItemStack &item, ServerActiveObject *placer, const PointedThing &pointed); bool item_OnUse(ItemStack &item, ServerActiveObject *user, const PointedThing &pointed); bool item_OnCraft(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv); bool item_CraftPredict(ItemStack &item, ServerActiveObject *user, const InventoryList *old_craft_grid, const InventoryLocation &craft_inv); protected: friend class LuaItemStack; friend class ModApiItemMod; bool getItemCallback(const char *name, const char *callbackname); void pushPointedThing(const PointedThing& pointed); }; #endif /* S_ITEM_H_ */