diff options
Diffstat (limited to 'src/net/ea/npchandler.h')
-rw-r--r-- | src/net/ea/npchandler.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h index a42b88c5..072c97e3 100644 --- a/src/net/ea/npchandler.h +++ b/src/net/ea/npchandler.h @@ -27,6 +27,10 @@ #include "net/ea/messagehandler.h" +#include <map> + +class NpcDialog; + namespace EAthena { class NpcHandler : public MessageHandler, public Net::NpcHandler @@ -62,6 +66,13 @@ class NpcHandler : public MessageHandler, public Net::NpcHandler void sellItem(int beingId, int itemId, int amount); void endShopping(int beingId); + + private: + typedef struct { + NpcDialog* dialog; + } Wrapper; + typedef std::map<int, Wrapper> NpcDialogs; + NpcDialogs mNpcDialogs; }; } // namespace EAthena |