diff options
author | Led Mitz <smoothshifter@tuta.io> | 2023-04-03 01:58:15 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-04-03 01:58:15 +0000 |
commit | 4887981f15cdae7f19d06471c54e6754e74e6567 (patch) | |
tree | 520bcb4e917054af845d79c070cd775ce48a6150 /src/mmo/extract_enums.hpp | |
parent | 74ad8e7c214e6ba60fbbeb0f316373e0420460be (diff) | |
parent | 7980f4d21956314e284448f7dcedd58f9c23b355 (diff) | |
download | tmwa-4887981f15cdae7f19d06471c54e6754e74e6567.tar.gz tmwa-4887981f15cdae7f19d06471c54e6754e74e6567.tar.bz2 tmwa-4887981f15cdae7f19d06471c54e6754e74e6567.tar.xz tmwa-4887981f15cdae7f19d06471c54e6754e74e6567.zip |
Merge branch 'item_mode' into 'master'
Item mode
See merge request legacy/tmwa!246
Diffstat (limited to 'src/mmo/extract_enums.hpp')
-rw-r--r-- | src/mmo/extract_enums.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mmo/extract_enums.hpp b/src/mmo/extract_enums.hpp index 0e8ac4c..14e7b17 100644 --- a/src/mmo/extract_enums.hpp +++ b/src/mmo/extract_enums.hpp @@ -35,6 +35,7 @@ enum class EPOS : uint16_t; enum class Opt1 : uint16_t; enum class Opt2 : uint16_t; enum class Opt0 : uint16_t; +enum class ItemMode : uint8_t; inline bool impl_extract(XString str, EPOS *iv) { return extract_as_int(str, iv); } @@ -44,6 +45,8 @@ inline bool impl_extract(XString str, Opt2 *iv) { return extract_as_int(str, iv); } inline bool impl_extract(XString str, Opt0 *iv) { return extract_as_int(str, iv); } +inline +bool impl_extract(XString str, ItemMode *iv) { return extract_as_int(str, iv); } } // namespace e enum class ItemLook : uint16_t; |