summaryrefslogtreecommitdiff
path: root/src/net/ea/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-17 23:03:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-17 23:03:03 +0300
commit84b67aacfdedd8d526d246e3d3c0914a899d491c (patch)
treeee24b23538b0e68cf8addb5240fbdc2182247006 /src/net/ea/npchandler.h
parent0567d32aa605e66563abdb34d998cce18cea3cc2 (diff)
downloadmv-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.gz
mv-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.bz2
mv-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.xz
mv-84b67aacfdedd8d526d246e3d3c0914a899d491c.zip
Add static in npchandler.
Diffstat (limited to 'src/net/ea/npchandler.h')
-rw-r--r--src/net/ea/npchandler.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h
index 81e92d84a..901ee9148 100644
--- a/src/net/ea/npchandler.h
+++ b/src/net/ea/npchandler.h
@@ -49,26 +49,24 @@ class NpcHandler notfinal : public Net::NpcHandler
void endShopping(const int beingId) const override final;
- virtual int getNpc(Net::MessageIn &msg) = 0;
+ static void processNpcChoice(Net::MessageIn &msg);
- void processNpcChoice(Net::MessageIn &msg);
+ static void processNpcMessage(Net::MessageIn &msg);
- void processNpcMessage(Net::MessageIn &msg);
+ static void processNpcClose(Net::MessageIn &msg);
- void processNpcClose(Net::MessageIn &msg);
+ static void processNpcNext(Net::MessageIn &msg);
- void processNpcNext(Net::MessageIn &msg);
+ static void processNpcIntInput(Net::MessageIn &msg);
- void processNpcIntInput(Net::MessageIn &msg);
-
- void processNpcStrInput(Net::MessageIn &msg);
+ static void processNpcStrInput(Net::MessageIn &msg);
protected:
NpcHandler();
- NpcDialog *mDialog;
+ static NpcDialog *mDialog;
- bool mRequestLang;
+ static bool mRequestLang;
};
} // namespace Ea