diff options
author | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:59 -0500 |
commit | a408bac29378072fbf36864164149458c978cfcc (patch) | |
tree | 67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/llinventory | |
parent | Second Life viewer sources 1.17.0.12 (diff) | |
download | meta-impy-a408bac29378072fbf36864164149458c978cfcc.zip meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2 meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz |
Second Life viewer sources 1.17.1.0
Diffstat (limited to 'linden/indra/llinventory')
-rw-r--r-- | linden/indra/llinventory/llparcel.cpp | 18 | ||||
-rw-r--r-- | linden/indra/llinventory/llparcel.h | 1 | ||||
-rw-r--r-- | linden/indra/llinventory/llpermissions.h | 2 | ||||
-rw-r--r-- | linden/indra/llinventory/lluserrelations.cpp | 2 | ||||
-rw-r--r-- | linden/indra/llinventory/lluserrelations.h | 4 |
5 files changed, 4 insertions, 23 deletions
diff --git a/linden/indra/llinventory/llparcel.cpp b/linden/indra/llinventory/llparcel.cpp index 990e77d..5902acd 100644 --- a/linden/indra/llinventory/llparcel.cpp +++ b/linden/indra/llinventory/llparcel.cpp | |||
@@ -1231,24 +1231,6 @@ BOOL LLParcel::exportStream(std::ostream& output_stream) | |||
1231 | return TRUE; | 1231 | return TRUE; |
1232 | } | 1232 | } |
1233 | 1233 | ||
1234 | // virtual | ||
1235 | LLSD LLParcel::asLLSD() const | ||
1236 | { | ||
1237 | LLSD p; | ||
1238 | p["parcel-id"] = getID(); | ||
1239 | p["name"] = getName(); | ||
1240 | p["desc"] = getDesc(); | ||
1241 | p["owner-id"] = getOwnerID(); | ||
1242 | p["group-id"] = getGroupID(); | ||
1243 | p["group-owned"] = (bool)getIsGroupOwned(); | ||
1244 | p["auction-id"] = (S32)getAuctionID(); | ||
1245 | p["snapshot-id"] = getSnapshotID(); | ||
1246 | p["authorized-buyer-id"] = getAuthorizedBuyerID(); | ||
1247 | p["sale-price"] = getSalePrice(); | ||
1248 | p["parcel-flags"] = (S32)getParcelFlags(); | ||
1249 | // NOTE: This list is incomplete, as this is used only for search. JC | ||
1250 | return p; | ||
1251 | } | ||
1252 | 1234 | ||
1253 | // Assumes we are in a block "ParcelData" | 1235 | // Assumes we are in a block "ParcelData" |
1254 | void LLParcel::packMessage(LLMessageSystem* msg) | 1236 | void LLParcel::packMessage(LLMessageSystem* msg) |
diff --git a/linden/indra/llinventory/llparcel.h b/linden/indra/llinventory/llparcel.h index 371b802..a33ffad 100644 --- a/linden/indra/llinventory/llparcel.h +++ b/linden/indra/llinventory/llparcel.h | |||
@@ -264,7 +264,6 @@ public: | |||
264 | BOOL importStream(std::istream& input_stream); | 264 | BOOL importStream(std::istream& input_stream); |
265 | BOOL importAccessEntry(std::istream& input_stream, LLAccessEntry* entry); | 265 | BOOL importAccessEntry(std::istream& input_stream, LLAccessEntry* entry); |
266 | BOOL exportStream(std::ostream& output_stream); | 266 | BOOL exportStream(std::ostream& output_stream); |
267 | virtual LLSD asLLSD() const; | ||
268 | 267 | ||
269 | void packMessage(LLMessageSystem* msg); | 268 | void packMessage(LLMessageSystem* msg); |
270 | void unpackMessage(LLMessageSystem* msg); | 269 | void unpackMessage(LLMessageSystem* msg); |
diff --git a/linden/indra/llinventory/llpermissions.h b/linden/indra/llinventory/llpermissions.h index 608f4b2..9607a9b 100644 --- a/linden/indra/llinventory/llpermissions.h +++ b/linden/indra/llinventory/llpermissions.h | |||
@@ -140,7 +140,7 @@ public: | |||
140 | const LLUUID& getOwner() const { return mOwner; } | 140 | const LLUUID& getOwner() const { return mOwner; } |
141 | 141 | ||
142 | // return the group_id of the group associated with the | 142 | // return the group_id of the group associated with the |
143 | // object. group_id == owner_id if the object is group owned. | 143 | // object. |
144 | const LLUUID& getGroup() const { return mGroup; } | 144 | const LLUUID& getGroup() const { return mGroup; } |
145 | 145 | ||
146 | // return the agent_id of the last agent owner. Only returns | 146 | // return the agent_id of the last agent owner. Only returns |
diff --git a/linden/indra/llinventory/lluserrelations.cpp b/linden/indra/llinventory/lluserrelations.cpp index fc8e510..5f01e51 100644 --- a/linden/indra/llinventory/lluserrelations.cpp +++ b/linden/indra/llinventory/lluserrelations.cpp | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @file lluserrealations.cpp | 2 | * @file lluserrelations.cpp |
3 | * @author Phoenix | 3 | * @author Phoenix |
4 | * @date 2006-10-12 | 4 | * @date 2006-10-12 |
5 | * @brief Implementation of a simple cache of user relations. | 5 | * @brief Implementation of a simple cache of user relations. |
diff --git a/linden/indra/llinventory/lluserrelations.h b/linden/indra/llinventory/lluserrelations.h index 3895533..69f5966 100644 --- a/linden/indra/llinventory/lluserrelations.h +++ b/linden/indra/llinventory/lluserrelations.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * @file llluserrelations.h | 2 | * @file lluserrelations.h |
3 | * @author Phoenix | 3 | * @author Phoenix |
4 | * @date 2006-10-12 | 4 | * @date 2006-10-12 |
5 | * @brief Declaration of a class for handling granted rights. | 5 | * @brief Declaration of a class for handling granted rights. |
@@ -38,7 +38,7 @@ | |||
38 | * @class LLRelationship | 38 | * @class LLRelationship |
39 | * | 39 | * |
40 | * This class represents a relationship between two agents, where the | 40 | * This class represents a relationship between two agents, where the |
41 | * related agent is stored and the other agent in the relationship is | 41 | * related agent is stored and the other agent is the relationship is |
42 | * implicit by container ownership. | 42 | * implicit by container ownership. |
43 | * This is merely a cache of this information used by the sim | 43 | * This is merely a cache of this information used by the sim |
44 | * and viewer. | 44 | * and viewer. |