diff options
author | dolphin <dolphin@lindenlab.com> | 2014-05-01 13:56:45 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2014-05-01 13:56:45 -0700 |
commit | 155399cb710b8b7db0e8126baa9a664475c7b916 (patch) | |
tree | 9bba516f467e56c4d834930cc1c0bc6157de588d /indra/llinventory/llparcel.h | |
parent | 80fcd6d9d42377fc09928eb99f26e6287c4b544d (diff) |
parcel experience lists can be manipulated through the ParcelAccessListUpdate
message
Diffstat (limited to 'indra/llinventory/llparcel.h')
-rwxr-xr-x | indra/llinventory/llparcel.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/indra/llinventory/llparcel.h b/indra/llinventory/llparcel.h index c4363a48df..fe76531317 100755 --- a/indra/llinventory/llparcel.h +++ b/indra/llinventory/llparcel.h @@ -130,9 +130,11 @@ class LLSD; class LLAccessEntry { public: + + typedef std::map<LLUUID,LLAccessEntry> map; + LLAccessEntry() - : mID(), - mTime(0), + : mTime(0), mFlags(0) {} @@ -141,8 +143,6 @@ public: U32 mFlags; // Not used - currently should always be zero }; -typedef std::map<LLUUID,LLAccessEntry>::iterator access_map_iterator; -typedef std::map<LLUUID,LLAccessEntry>::const_iterator access_map_const_iterator; class LLParcel { @@ -320,6 +320,9 @@ public: void unpackAccessEntries(LLMessageSystem* msg, std::map<LLUUID,LLAccessEntry>* list); + void unpackExperienceEntries(LLMessageSystem* msg, U32 type); + + void setAABBMin(const LLVector3& min) { mAABBMin = min; } void setAABBMax(const LLVector3& max) { mAABBMax = max; } @@ -665,6 +668,16 @@ public: std::map<LLUUID,LLAccessEntry> mTempBanList; std::map<LLUUID,LLAccessEntry> mTempAccessList; + typedef std::map<LLUUID, U32> xp_type_map_t; + + void setExperienceKeyType(const LLUUID& experience_key, U32 type); + U32 getExperienceKeyType(const LLUUID& experience_key)const; + LLAccessEntry::map getExperienceKeysByType(U32 type)const; + void clearExperienceKeysByType(U32 type); + +private: + xp_type_map_t mExperienceKeys; + }; |