Event that is fired when an item is purchased in a store.
More...
#include <Store.hpp>
Event that is fired when an item is purchased in a store.
Definition at line 39 of file Store.hpp.
◆ ItemPurchased()
core::event::ItemPurchased::ItemPurchased |
( |
item::Id |
item, |
|
|
int |
qty |
|
) |
| |
|
inline |
Construct a new Item Purchased event.
- Parameters
-
item | The item that was purchased |
qty | The amount that was purchased |
Definition at line 46 of file Store.hpp.
◆ item
const item::Id core::event::ItemPurchased::item |
◆ qty
const int core::event::ItemPurchased::qty |
The documentation for this struct was generated from the following file: