diff options
Diffstat (limited to 'src/script/cpp_api/s_player.h')
-rw-r--r-- | src/script/cpp_api/s_player.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_player.h b/src/script/cpp_api/s_player.h index e866aee46..8f3834c59 100644 --- a/src/script/cpp_api/s_player.h +++ b/src/script/cpp_api/s_player.h @@ -23,6 +23,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "irr_v3d.h" #include "util/string.h" +#include "remoteplayer.h" + struct MoveAction; struct InventoryLocation; struct ItemStack; @@ -79,7 +81,12 @@ public: void player_inventory_OnTake( const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player); -private: + + void on_player_change_wield(ServerActiveObject *player, u16 item); + + void on_player_change_keys(ServerActiveObject *player, PlayerControl &control); + +//private: void pushPutTakeArguments( const char *method, const InventoryLocation &loc, const std::string &listname, int index, const ItemStack &stack, |