diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-23 18:26:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-23 18:26:41 +0300 |
commit | 7d60bf1c04fce4ed16144aece76e594e0e217960 (patch) | |
tree | d2831dcbbdf6b7bd3ad89a9e0571b25afa5caad0 /src/net/tmwa/npchandler.h | |
parent | 20ffb556085e519f98a96f00257ee6b837116a8e (diff) | |
download | mv-7d60bf1c04fce4ed16144aece76e594e0e217960.tar.gz mv-7d60bf1c04fce4ed16144aece76e594e0e217960.tar.bz2 mv-7d60bf1c04fce4ed16144aece76e594e0e217960.tar.xz mv-7d60bf1c04fce4ed16144aece76e594e0e217960.zip |
Add support for request client language from server.
Diffstat (limited to 'src/net/tmwa/npchandler.h')
-rw-r--r-- | src/net/tmwa/npchandler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/npchandler.h b/src/net/tmwa/npchandler.h index 967829ddc..648b1e5d9 100644 --- a/src/net/tmwa/npchandler.h +++ b/src/net/tmwa/npchandler.h @@ -65,6 +65,13 @@ class NpcHandler : public MessageHandler, public Ea::NpcHandler void sellItem(int beingId, int itemId, int amount); int getNpc(Net::MessageIn &msg, bool haveLength); + + void processNpcCommand(Net::MessageIn &msg); + + void processLangReuqest(Net::MessageIn &msg, int npcId); + + private: + bool mRequestLang; }; } // namespace TmwAthena |