the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 17 lines 528 B view raw
1#pragma once 2 3class MerchantRecipeList; 4class MerchantRecipe; 5class Player; 6 7class Merchant 8{ 9public: 10 virtual void setTradingPlayer(shared_ptr<Player> player) = 0; 11 virtual shared_ptr<Player> getTradingPlayer() = 0; 12 virtual MerchantRecipeList *getOffers(shared_ptr<Player> forPlayer) = 0; 13 virtual void overrideOffers(MerchantRecipeList *recipeList) = 0; 14 virtual void notifyTrade(MerchantRecipe *activeRecipe) = 0; 15 virtual void notifyTradeUpdated(shared_ptr<ItemInstance> item) = 0; 16 virtual wstring getDisplayName() = 0; 17};