39 const std::string &formname,
const StringMap &fields);
40 void on_authplayer(
const std::string &name,
const std::string &ip,
bool is_success);
70 const std::string &listname,
int index,
const ItemStack &stack,
static v2f dir(const v2f &pos_dist)
Definition camera.cpp:191
void on_joinplayer(ServerActiveObject *player, s64 last_login)
Definition s_player.cpp:151
void player_inventory_OnPut(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player)
Definition s_player.cpp:347
s32 on_player_hpchange(ServerActiveObject *player, s32 hp_change, const PlayerHPChangeReason &reason)
Definition s_player.cpp:81
virtual ~ScriptApiPlayer()=default
void player_inventory_OnMove(const MoveAction &ma, int count, ServerActiveObject *player)
Definition s_player.cpp:334
int player_inventory_AllowMove(const MoveAction &ma, int count, ServerActiveObject *player)
Definition s_player.cpp:289
bool on_prejoinplayer(const std::string &name, const std::string &ip, std::string *reason)
Definition s_player.cpp:118
void on_dieplayer(ServerActiveObject *player, const PlayerHPChangeReason &reason)
Definition s_player.cpp:27
bool on_punchplayer(ServerActiveObject *player, ServerActiveObject *hitter, float time_from_last_punch, const ToolCapabilities *toolcap, v3f dir, s32 damage)
Definition s_player.cpp:43
bool can_bypass_userlimit(const std::string &name, const std::string &ip)
Definition s_player.cpp:138
void pushPutTakeArguments(const char *method, const InventoryLocation &loc, const std::string &listname, int index, const ItemStack &stack, ServerActiveObject *player)
Definition s_player.cpp:265
void on_leaveplayer(ServerActiveObject *player, bool timeout)
Definition s_player.cpp:167
void on_newplayer(ServerActiveObject *player)
Definition s_player.cpp:15
void on_playerReceiveFields(ServerActiveObject *player, const std::string &formname, const StringMap &fields)
Definition s_player.cpp:197
int player_inventory_AllowPut(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player)
Definition s_player.cpp:304
void on_cheat(ServerActiveObject *player, const std::string &cheat_type)
Definition s_player.cpp:181
void on_rightclickplayer(ServerActiveObject *player, ServerActiveObject *clicker)
Definition s_player.cpp:68
void on_authplayer(const std::string &name, const std::string &ip, bool is_success)
Definition s_player.cpp:224
void pushMoveArguments(const MoveAction &ma, int count, ServerActiveObject *player)
Definition s_player.cpp:239
int player_inventory_AllowTake(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player)
Definition s_player.cpp:319
bool on_respawnplayer(ServerActiveObject *player)
Definition s_player.cpp:105
void player_inventory_OnTake(const MoveAction &ma, const ItemStack &stack, ServerActiveObject *player)
Definition s_player.cpp:360
Definition serveractiveobject.h:41
core::vector3df v3f
Definition irr_v3d.h:11
std::unordered_map< std::string, std::string > StringMap
Definition string.h:65
Definition inventorymanager.h:18
Definition inventory.h:19
Definition inventorymanager.h:128
Definition player_sao.h:227