summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-12 08:11:35 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-12 08:12:31 -0600
commit657afb7b642d5b02289c6bb5bc883c2987cdf5d1 (patch)
tree26816e7e3f3acfd521844be85423a8b18d2443c5 /src/localplayer.h
parentb4d5e2a9c92fe5b0f53c3d08b87c324960c3215c (diff)
downloadmana-client-657afb7b642d5b02289c6bb5bc883c2987cdf5d1.tar.gz
mana-client-657afb7b642d5b02289c6bb5bc883c2987cdf5d1.tar.bz2
mana-client-657afb7b642d5b02289c6bb5bc883c2987cdf5d1.tar.xz
mana-client-657afb7b642d5b02289c6bb5bc883c2987cdf5d1.zip
Remove methods from LocalPlayer that just call Net
And make a few others like that, and remove them too.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h42
1 files changed, 2 insertions, 40 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index acf2ee63..52e2b74b 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -187,32 +187,6 @@ class LocalPlayer : public Player
void setInvItem(int index, int id, int amount);
#endif
- /**
- * Invite a player to join their party
- */
- void inviteToParty(const std::string &name);
-
- /**
- * Invite a player to join their party
- */
- void inviteToParty(Player *player);
-
- /**
- * Equips an item.
- */
- void equipItem(Item *item);
-
- /**
- * Unequips an item.
- */
- void unequipItem(Item *item);
-
- void useItem(Item *item);
-
- void dropItem(Item *item, int quantity);
-
- void splitItem(Item *item, int quantity);
-
void pickUp(FloorItem *item);
#ifdef EATHENA_SUPPORT
@@ -228,20 +202,10 @@ class LocalPlayer : public Player
int getAttackRange();
/**
- * Sents a trade request to the given being.
- */
- void trade(Being *being) const;
-
- /**
- * Accept or decline a trade offer
- */
- void tradeReply(bool accept);
-
- /**
* Returns true when the player is ready to accept a trade offer.
* Returns false otherwise.
*/
- bool tradeRequestOk() const;
+ bool tradeRequestOk() const { return !mTrading; }
/**
* Sets the trading state of the player, i.e. whether or not he is
@@ -317,7 +281,7 @@ class LocalPlayer : public Player
bool withinAttackRange(Being *target);
#ifdef EATHENA_SUPPORT
- void raiseSkill(Uint16 skillId);
+ //void raiseSkill(Uint16 skillId);
#else
/**
@@ -339,8 +303,6 @@ class LocalPlayer : public Player
void toggleSit();
void emote(Uint8 emotion);
- void revive();
-
/**
* Shows item pickup effect if the player is on a map.
*/