summaryrefslogtreecommitdiff
path: root/src/mmo/extract_enums.hpp
diff options
context:
space:
mode:
authorHello TMW <hello@themanaworld.org>2024-04-06 01:14:30 +0000
committerHello TMW <hello@themanaworld.org>2024-04-06 01:14:30 +0000
commit90754fd121ffaec886c415689031f9ef01ae4972 (patch)
tree047f645931fdb0715afe784b8bc445743a78a371 /src/mmo/extract_enums.hpp
parente42f76d0b0f4d2ec3a9008979267311f5246fb22 (diff)
parentebf078b9fa81142834dc45e22ea661a61c50d17b (diff)
downloadtmwa-master.tar.gz
tmwa-master.tar.bz2
tmwa-master.tar.xz
tmwa-master.zip
Merge branch tmwa:master into masterHEADmaster
Diffstat (limited to 'src/mmo/extract_enums.hpp')
-rw-r--r--src/mmo/extract_enums.hpp3
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;