OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
trading.hpp
Go to the documentation of this file.
1 #ifndef OPENMW_MECHANICS_TRADING_H
2 #define OPENMW_MECHANICS_TRADING_H
3 
4 #include "../mwworld/ptr.hpp"
5 
6 namespace MWMechanics
7 {
8  class Trading
9  {
10  public:
11  Trading();
12 
13  bool haggle(const MWWorld::Ptr& player, const MWWorld::Ptr& merchant, int playerOffer, int merchantOffer);
14  };
15 }
16 
17 #endif
bool haggle(const MWWorld::Ptr &player, const MWWorld::Ptr &merchant, int playerOffer, int merchantOffer)
Definition: trading.cpp:18
Trading()
Definition: trading.cpp:16
Pointer to a LiveCellRef.
Definition: ptr.hpp:19
Definition: trading.hpp:8