summaryrefslogtreecommitdiff
path: root/src/mmo
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-04-29 22:40:55 -0500
committerWushin <pasekei@gmail.com>2015-04-29 22:40:55 -0500
commitc7f0a0dbb9fe0cb42b0516ae1d4d60f72bd4ebb5 (patch)
tree804da9630fafbd0a0321fd6ea586a576ce07c431 /src/mmo
parenta75608ef2f62a07879e7ef6d73c0ebe5b23908b2 (diff)
parent950bc8a1a239829864600b82e40d801514fca709 (diff)
downloadtmwa-c7f0a0dbb9fe0cb42b0516ae1d4d60f72bd4ebb5.tar.gz
tmwa-c7f0a0dbb9fe0cb42b0516ae1d4d60f72bd4ebb5.tar.bz2
tmwa-c7f0a0dbb9fe0cb42b0516ae1d4d60f72bd4ebb5.tar.xz
tmwa-c7f0a0dbb9fe0cb42b0516ae1d4d60f72bd4ebb5.zip
Merge pull request #65 from wushin/quest-log
Quest log
Diffstat (limited to 'src/mmo')
-rw-r--r--src/mmo/fwd.hpp1
-rw-r--r--src/mmo/ids.hpp1
-rw-r--r--src/mmo/ids.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/mmo/fwd.hpp b/src/mmo/fwd.hpp
index f51767d..434885e 100644
--- a/src/mmo/fwd.hpp
+++ b/src/mmo/fwd.hpp
@@ -51,6 +51,7 @@ class AccountCrypt;
class AccountEmail;
class ServerName;
class PartyName;
+class QuestId;
class VarName;
class MapName;
class CharName;
diff --git a/src/mmo/ids.hpp b/src/mmo/ids.hpp
index c1482ef..28b146a 100644
--- a/src/mmo/ids.hpp
+++ b/src/mmo/ids.hpp
@@ -40,6 +40,7 @@ class PartyId : public Wrapped<uint32_t> { public: constexpr PartyId() : Wrapped
class ItemNameId : public Wrapped<uint16_t> { public: constexpr ItemNameId() : Wrapped<uint16_t>() {} protected: constexpr explicit ItemNameId(uint16_t a) : Wrapped<uint16_t>(a) {} };
class BlockId : public Wrapped<uint32_t> { public: constexpr BlockId() : Wrapped<uint32_t>() {} protected: constexpr explicit BlockId(uint32_t a) : Wrapped<uint32_t>(a) {} };
+class QuestId : public Wrapped<uint16_t> { public: constexpr QuestId() : Wrapped<uint16_t>() {} protected: constexpr explicit QuestId(uint16_t a) : Wrapped<uint16_t>(a) {} };
bool impl_extract(XString str, GmLevel *lvl);
class GmLevel
diff --git a/src/mmo/ids.py b/src/mmo/ids.py
index 89392b1..a98920f 100644
--- a/src/mmo/ids.py
+++ b/src/mmo/ids.py
@@ -5,6 +5,7 @@ for s in [
'PartyId',
'ItemNameId',
'BlockId',
+ 'QuestId',
]:
class OtherId(object):
__slots__ = ('_value')