summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp75
1 files changed, 0 insertions, 75 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index b571c4b0..059ccd31 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -336,48 +336,6 @@ void LocalPlayer::setInvItem(int index, int id, int amount)
#endif
-void LocalPlayer::inviteToParty(const std::string &name)
-{
- Net::getPartyHandler()->invite(name);
-}
-
-void LocalPlayer::inviteToParty(Player *player)
-{
- Net::getPartyHandler()->invite(player);
-}
-
-void LocalPlayer::equipItem(Item *item)
-{
- Net::getInventoryHandler()->equipItem(item);
-}
-
-void LocalPlayer::unequipItem(Item *item)
-{
- Net::getInventoryHandler()->unequipItem(item);
-
- // Tidy equipment directly to avoid weapon still shown bug, for instance
-#ifdef TMWSERV_SUPPORT
- mEquipment->setEquipment(item->getInvIndex(), 0);
-#else
- mEquipment->removeEquipment(item->getInvIndex());
-#endif
-}
-
-void LocalPlayer::useItem(Item *item)
-{
- Net::getInventoryHandler()->useItem(item);
-}
-
-void LocalPlayer::dropItem(Item *item, int quantity)
-{
- Net::getInventoryHandler()->dropItem(item, quantity);
-}
-
-void LocalPlayer::splitItem(Item *item, int quantity)
-{
- Net::getInventoryHandler()->splitItem(item, quantity);
-}
-
void LocalPlayer::pickUp(FloorItem *item)
{
#ifdef TMWSERV_SUPPORT
@@ -618,16 +576,6 @@ void LocalPlayer::stopWalking(bool sendToServer)
}
#endif
-#ifdef EATHENA_SUPPORT
-void LocalPlayer::raiseSkill(Uint16 skillId)
-{
- if (mSkillPoint <= 0)
- return;
-
- Net::getSkillHandler()->up(skillId);
-}
-#endif
-
void LocalPlayer::toggleSit()
{
if (mLastAction != -1)
@@ -654,24 +602,6 @@ void LocalPlayer::emote(Uint8 emotion)
Net::getPlayerHandler()->emote(emotion);
}
-void LocalPlayer::tradeReply(bool accept)
-{
- if (!accept)
- mTrading = false;
-
- Net::getTradeHandler()->respond(accept);
-}
-
-void LocalPlayer::trade(Being *being) const
-{
- Net::getTradeHandler()->request(being);
-}
-
-bool LocalPlayer::tradeRequestOk() const
-{
- return !mTrading;
-}
-
#ifdef TMWSERV_SUPPORT
void LocalPlayer::attack()
@@ -801,11 +731,6 @@ void LocalPlayer::stopAttack()
mLastTarget = -1;
}
-void LocalPlayer::revive()
-{
- Net::getPlayerHandler()->respawn();
-}
-
#ifdef TMWSERV_SUPPORT
void LocalPlayer::raiseAttribute(size_t attr)