Argentum Online - Servidor
action_drop.h
1 #ifndef ACTION_DROP_H
2 #define ACTION_DROP_H
3 
4 #include "action.h"
5 
6 class ActionDrop : public Action {
7  private:
8  const SlotId slot;
9  const uint32_t amount;
10 
11  public:
12  ActionDrop(SlotId slot, uint32_t amount = 1);
13 
14  void execute(Map& map, EntityId entity_id) const override;
15 };
16 
17 #endif // ACTION_DROP_H
Action
Definition: action.h:9
ActionDrop
Definition: action_drop.h:6
Map
Definition: map.h:47