diff options
author | Cho <cho@lindenlab.com> | 2014-05-02 01:09:29 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2014-05-02 01:09:29 +0100 |
commit | e925bb8fc4376fa289d7759db00cdf695761af07 (patch) | |
tree | 4c2eb8a89b5c74cbb9391d3a7e19faea724fac17 /indra/llinventory/llparcel.h | |
parent | cc5d14b431adb5ff7bee057b9f72cb5b1ba022b9 (diff) | |
parent | 4b9053b56a4e7417a63c633a74cedfd1d954a359 (diff) |
merge
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; + }; |