mirror of
https://github.com/mangosfour/server.git
synced 2025-12-30 01:37:03 +00:00
[10799] Add GetGuidStr() short call for GetObjectGuid().GetString() and use it.
This commit is contained in:
parent
2fa4cf41a7
commit
ce7b98c45e
21 changed files with 122 additions and 121 deletions
|
|
@ -113,6 +113,7 @@ class MANGOS_DLL_SPEC Object
|
|||
const uint64& GetGUID() const { return GetUInt64Value(OBJECT_FIELD_GUID); }
|
||||
uint32 GetGUIDLow() const { return GUID_LOPART(GetUInt64Value(OBJECT_FIELD_GUID)); }
|
||||
PackedGuid const& GetPackGUID() const { return m_PackGUID; }
|
||||
std::string GetGuidStr() const { return GetObjectGuid().GetString(); }
|
||||
|
||||
uint32 GetEntry() const { return GetUInt32Value(OBJECT_FIELD_ENTRY); }
|
||||
void SetEntry(uint32 entry) { SetUInt32Value(OBJECT_FIELD_ENTRY, entry); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue