1 #ifndef CORE_EVVENTS_STORE_HPP
2 #define CORE_EVVENTS_STORE_HPP
25 const std::vector<std::pair<item::Id, int>>&
sellPrices)
29 const std::vector<std::pair<item::Id, int>>&
items;
Id
Represents an item in its simplist form.
Core classes and functionality for both the editor and game.
Event that is fired by the Core module to signal to the game to open a store.
const std::vector< std::pair< item::Id, int > > & items
const std::vector< std::pair< item::Id, int > > & sellPrices
StoreOpened(const std::vector< std::pair< item::Id, int >> &items, const std::vector< std::pair< item::Id, int >> &sellPrices)
Construct a new Store Opened event.
Event that is fired when an item is purchased in a store.
ItemPurchased(item::Id item, int qty)
Construct a new Item Purchased event.
Event that is fired when a store is closed.