summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-20 13:37:01 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-20 13:47:58 +0300
commitca7de6f8ca1277318d0f4a445b50942870df926f (patch)
tree36a7cccd88c281de20bb71080b26590411f30495 /src/net/eathena/beinghandler.h
parent9260ff92edf7f77e254ccdc71c4082005f66d852 (diff)
downloadmanaverse-ca7de6f8ca1277318d0f4a445b50942870df926f.tar.gz
manaverse-ca7de6f8ca1277318d0f4a445b50942870df926f.tar.bz2
manaverse-ca7de6f8ca1277318d0f4a445b50942870df926f.tar.xz
manaverse-ca7de6f8ca1277318d0f4a445b50942870df926f.zip
eathena: create being based on being type and not job.
Diffstat (limited to 'src/net/eathena/beinghandler.h')
-rw-r--r--src/net/eathena/beinghandler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h
index d5a3867ef..9bd811f10 100644
--- a/src/net/eathena/beinghandler.h
+++ b/src/net/eathena/beinghandler.h
@@ -25,6 +25,7 @@
#include "net/ea/beinghandler.h"
+#include "net/eathena/beingtype.h"
#include "net/eathena/messagehandler.h"
namespace EAthena
@@ -46,6 +47,10 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
void requestRanks(const Rank::Rank rank) const override final;
protected:
+ Being *createBeing2(const int id,
+ const int16_t job,
+ const BeingType::BeingType beingType) const;
+
void processBeingChangeLook(Net::MessageIn &msg) const;
void processBeingChangeLook2(Net::MessageIn &msg) const;
@@ -97,7 +102,6 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler
void viewPlayerEquipment(const Being *const being) override final;
- protected:
void processSkillGroundNoDamage(Net::MessageIn &msg) const;
void processSkillEntry(Net::MessageIn &msg) const;