summaryrefslogtreecommitdiff
path: root/src/game-server/buysell.h
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-06 21:36:50 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-04-11 13:43:00 +0200
commitaa04597c5f8bb806996d604699fc8ebff6d53bdd (patch)
tree20e6a79a873605b62c80011fd5c80351f60df6fb /src/game-server/buysell.h
parentd95fccfca8575d8fb06988e558a338e37776961a (diff)
downloadmanaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.gz
manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.bz2
manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.tar.xz
manaserv-aa04597c5f8bb806996d604699fc8ebff6d53bdd.zip
Converted the Character class into a component
A CharacterData was created as a proxy class in order to allow using the old serialization method.
Diffstat (limited to 'src/game-server/buysell.h')
-rw-r--r--src/game-server/buysell.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game-server/buysell.h b/src/game-server/buysell.h
index 72da2ce6..8450aff1 100644
--- a/src/game-server/buysell.h
+++ b/src/game-server/buysell.h
@@ -23,7 +23,7 @@
#include <vector>
-class Character;
+class Being;
class Actor;
class BuySell
@@ -33,7 +33,7 @@ class BuySell
/**
* Sets up a trade between a character and an NPC.
*/
- BuySell(Character *, bool sell);
+ BuySell(Being *, bool sell);
/**
* Cancels the trade.
@@ -80,7 +80,7 @@ class BuySell
/** The attribute ID of the currency to use. Hardcoded for now (FIXME) */
unsigned mCurrencyId;
- Character *mChar; /**< Character involved. */
+ Being *mChar; /**< Character involved. */
TradedItems mItems; /**< Traded items. */
bool mSell; /**< Are items sold? */
};