diff options
Diffstat (limited to 'src/net/manaserv/npchandler.h')
-rw-r--r-- | src/net/manaserv/npchandler.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/net/manaserv/npchandler.h b/src/net/manaserv/npchandler.h index 8f353e5d..4b18487c 100644 --- a/src/net/manaserv/npchandler.h +++ b/src/net/manaserv/npchandler.h @@ -26,7 +26,9 @@ #include "net/manaserv/messagehandler.h" -#include <list> +#include <map> + +class NpcDialog; namespace ManaServ { @@ -63,6 +65,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 ManaServ |