diff options
author | wushin <pasekei@gmail.com> | 2015-04-05 23:11:16 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2015-04-25 12:26:55 -0500 |
commit | 950bc8a1a239829864600b82e40d801514fca709 (patch) | |
tree | 3252c51e196bec00a441f3cade55d03a8dd75eec /src/mmo | |
parent | e6ee7b3f99935a594e6462472fdc9d075408da0f (diff) | |
download | tmwa-950bc8a1a239829864600b82e40d801514fca709.tar.gz tmwa-950bc8a1a239829864600b82e40d801514fca709.tar.bz2 tmwa-950bc8a1a239829864600b82e40d801514fca709.tar.xz tmwa-950bc8a1a239829864600b82e40d801514fca709.zip |
Add Bitmasked Quest Log
Diffstat (limited to 'src/mmo')
-rw-r--r-- | src/mmo/fwd.hpp | 1 | ||||
-rw-r--r-- | src/mmo/ids.hpp | 1 | ||||
-rw-r--r-- | src/mmo/ids.py | 1 |
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') |