From a3db4ef1e13415e8b80d75e3919d98f54bb6a537 Mon Sep 17 00:00:00 2001 From: CHatingPython Date: Sun, 28 Jun 2026 12:35:46 +0200 Subject: [PATCH] feat(furvm): add type function to thing --- furvm/include/furvm/thing.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/furvm/include/furvm/thing.hpp b/furvm/include/furvm/thing.hpp index 16dfb98..62cecea 100644 --- a/furvm/include/furvm/thing.hpp +++ b/furvm/include/furvm/thing.hpp @@ -94,6 +94,13 @@ public: } return std::move(res); } +public: + /** + * @brief Returns the thing's type. + * + * @return The type. + */ + constexpr auto type() const { return m_type; } public: /** * @brief Returns the thing's int32 value.