summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarpropertiesprocessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llavatarpropertiesprocessor.h')
-rw-r--r--indra/newview/llavatarpropertiesprocessor.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/indra/newview/llavatarpropertiesprocessor.h b/indra/newview/llavatarpropertiesprocessor.h
index 1592629fca..a490f3da10 100644
--- a/indra/newview/llavatarpropertiesprocessor.h
+++ b/indra/newview/llavatarpropertiesprocessor.h
@@ -52,6 +52,9 @@ enum EAvatarProcessorType
{
APT_PROPERTIES_LEGACY, // APT_PROPERTIES via udp request (Truncates data!!!)
APT_PROPERTIES, // APT_PROPERTIES via http request
+ APT_NOTES,
+ APT_GROUPS,
+ APT_PICKS,
APT_PICK_INFO,
APT_TEXTURES,
APT_CLASSIFIEDS,
@@ -105,6 +108,24 @@ struct LLAvatarData
typedef std::pair<LLUUID, std::string> pick_data_t;
typedef std::list< pick_data_t> picks_list_t;
picks_list_t picks_list;
+ BOOL allow_publish;
+ LLAvatarData() = default;
+ LLAvatarData(const LLAvatarLegacyData& legacy_data)
+ {
+ agent_id = legacy_data.agent_id;
+ avatar_id = legacy_data.avatar_id;
+ image_id = legacy_data.image_id;
+ fl_image_id = legacy_data.fl_image_id;
+ partner_id = legacy_data.partner_id;
+ about_text = legacy_data.about_text;
+ fl_about_text = legacy_data.fl_about_text;
+ born_on = legacy_data.born_on;
+ profile_url = legacy_data.profile_url;
+ caption_index = legacy_data.caption_index;
+ caption_text = legacy_data.caption_text;
+ customer_type = legacy_data.customer_type;
+ flags = legacy_data.flags;
+ }
};
struct LLAvatarData::LLGroupData
@@ -140,6 +161,45 @@ struct LLPickData
LLUUID session_id;
};
+struct LLAvatarPicks
+{
+ LLUUID agent_id;
+ LLUUID target_id; //target id
+
+ typedef std::pair<LLUUID,std::string> pick_data_t;
+ typedef std::list< pick_data_t> picks_list_t;
+ picks_list_t picks_list;
+};
+
+struct LLAvatarNotes
+{
+ LLUUID agent_id;
+ LLUUID target_id; //target id
+ std::string notes;
+};
+
+struct LLAvatarGroups
+{
+ LLUUID agent_id;
+ LLUUID avatar_id; //target id
+ BOOL list_in_profile;
+
+ struct LLGroupData;
+ typedef std::list<LLGroupData> group_list_t;
+
+ group_list_t group_list;
+
+ struct LLGroupData
+ {
+ U64 group_powers;
+ BOOL accept_notices;
+ std::string group_title;
+ LLUUID group_id;
+ std::string group_name;
+ LLUUID group_insignia_id;
+ };
+};
+
struct LLAvatarClassifieds
{
LLUUID agent_id;