summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-17 15:49:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-17 15:49:46 +0300
commit1b69396d5f19bf0fa09eadc3962b6bc97958da5c (patch)
treeb791640c3f6ed5161b6543396dfca26b5654b3ff /src/net
parent8314f36b8b941ddc0fbe0014ea8bea7ecbdc43fe (diff)
downloadManaVerse-1b69396d5f19bf0fa09eadc3962b6bc97958da5c.tar.gz
ManaVerse-1b69396d5f19bf0fa09eadc3962b6bc97958da5c.tar.bz2
ManaVerse-1b69396d5f19bf0fa09eadc3962b6bc97958da5c.tar.xz
ManaVerse-1b69396d5f19bf0fa09eadc3962b6bc97958da5c.zip
Add eathena defines into rank enum.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/beinghandler.h2
-rw-r--r--src/net/tmwa/beinghandler.cpp2
-rw-r--r--src/net/tmwa/beinghandler.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/net/beinghandler.h b/src/net/beinghandler.h
index ffbe31176..af6b05b8b 100644
--- a/src/net/beinghandler.h
+++ b/src/net/beinghandler.h
@@ -43,7 +43,9 @@ class BeingHandler notfinal
virtual void undress(Being *const being) const = 0;
+#ifdef EATHENA_SUPPORT
virtual void requestRanks(const Rank::Rank rank) const = 0;
+#endif
};
} // namespace Net
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 5b91c4839..7ef97647e 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -252,9 +252,11 @@ void BeingHandler::undress(Being *const being) const
// being->setSprite(SPRITE_BODY, 0, "", true);
}
+#ifdef EATHENA_SUPPORT
void BeingHandler::requestRanks(const Rank::Rank rank A_UNUSED) const
{
}
+#endif
void BeingHandler::processBeingChangeLook(Net::MessageIn &msg)
{
diff --git a/src/net/tmwa/beinghandler.h b/src/net/tmwa/beinghandler.h
index 0fcb62872..64678939b 100644
--- a/src/net/tmwa/beinghandler.h
+++ b/src/net/tmwa/beinghandler.h
@@ -43,7 +43,9 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
void undress(Being *const being) const override final;
+#ifdef EATHENA_SUPPORT
void requestRanks(const Rank::Rank rank A_UNUSED) const override final;
+#endif
protected:
void viewPlayerEquipment(const Being *const being);