From 593127fb7e1befe8f82faa0443d7d364478ab83b Mon Sep 17 00:00:00 2001 From: KimLS Date: Mon, 6 Mar 2023 13:51:00 -0800 Subject: [PATCH] GUID interface. --- common/item_instance.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/item_instance.h b/common/item_instance.h index 89620d0b5..2e466ccec 100644 --- a/common/item_instance.h +++ b/common/item_instance.h @@ -228,6 +228,9 @@ namespace EQ inline int32 GetSerialNumber() const { return m_SerialNumber; } inline void SetSerialNumber(int32 id) { m_SerialNumber = id; } + inline std::string GetGUID() const { return m_guid; } + inline void SetGUID(const std::string &guid) { m_guid = guid; } + std::map& GetTimers() { return m_timers; } void SetTimer(std::string name, uint32 time); void StopTimer(std::string name); @@ -313,6 +316,7 @@ namespace EQ bool m_attuned; int32 m_merchantcount; //number avaliable on the merchant, -1=unlimited int32 m_SerialNumber; // Unique identifier for this instance of an item. Needed for Bazaar. + std::string m_guid; uint32 m_exp; int8 m_evolveLvl; bool m_activated;