| Argentum Online - Servidor
    |  | 
 
 
 
    4 #include "../items/item_container.h" 
    8 #define MERCH_SLOTS_INV 10 
   15     Merchant(EntityId entity_id, nlohmann::json npc_info, 
Map& map);
 
   30     void sell(SlotId slot, uint32_t stack, 
Player* player);
 
   42     void buy(SlotId slot, uint32_t stack, 
Player* player);
 
  
 
Definition: item_container.h:32
const std::string list_sale() const
Devuelve un string que representa la lista de los items que tiene el comerciante para vender,...
Definition: merchant.cpp:24
Definition: item_container.h:50
Definition: merchant.h:10
void sell(SlotId slot, uint32_t stack, Player *player)
Vende el item del inventario del player que se encuentra en el SlotId slot, en caso de no haber,...
Definition: merchant.cpp:52
void buy(SlotId slot, uint32_t stack, Player *player)
Compra del item del inventario del npc que se encuentra en el SlotID slot, en caso de no haber,...
Definition: merchant.cpp:86