mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-26 05:15:27 +01:00
Unification of new API functions
This commit is contained in:
@@ -51,19 +51,16 @@ public:
|
||||
const std::string &formname, const StringMap &fields);
|
||||
void on_player_inventory_remove_item(
|
||||
ServerActiveObject *player_sao,
|
||||
Player *player,
|
||||
const std::string &inventory_list_name,
|
||||
const ItemStack &deleted_item);
|
||||
void on_player_inventory_change_item(
|
||||
ServerActiveObject *player_sao,
|
||||
Player *player,
|
||||
const std::string &inventory_list_name,
|
||||
u32 query_slot,
|
||||
const ItemStack &old_item,
|
||||
const ItemStack &new_item);
|
||||
void on_player_inventory_add_item(
|
||||
ServerActiveObject *player_sao,
|
||||
Player *player,
|
||||
const std::string &inventory_list_name,
|
||||
u32 query_slot,
|
||||
const ItemStack &added_item);
|
||||
|
||||
Reference in New Issue
Block a user