diff options
author | onefang | 2019-05-19 21:24:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:24:15 +1000 |
commit | 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch) | |
tree | a9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/Framework/UserProfiles.cs | |
parent | Add a build script. (diff) | |
download | opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2 opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz |
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to 'OpenSim/Framework/UserProfiles.cs')
-rw-r--r-- | OpenSim/Framework/UserProfiles.cs | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/OpenSim/Framework/UserProfiles.cs b/OpenSim/Framework/UserProfiles.cs index 98ab651..7c6a6fe 100644 --- a/OpenSim/Framework/UserProfiles.cs +++ b/OpenSim/Framework/UserProfiles.cs | |||
@@ -27,6 +27,8 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using System.Collections.Generic; | ||
31 | |||
30 | 32 | ||
31 | namespace OpenSim.Framework | 33 | namespace OpenSim.Framework |
32 | { | 34 | { |
@@ -48,7 +50,7 @@ namespace OpenSim.Framework | |||
48 | public byte Flags = 0; | 50 | public byte Flags = 0; |
49 | public int Price = 0; | 51 | public int Price = 0; |
50 | } | 52 | } |
51 | 53 | ||
52 | public class UserProfileProperties | 54 | public class UserProfileProperties |
53 | { | 55 | { |
54 | public UUID UserId = UUID.Zero; | 56 | public UUID UserId = UUID.Zero; |
@@ -66,7 +68,7 @@ namespace OpenSim.Framework | |||
66 | public UUID FirstLifeImageId = UUID.Zero; | 68 | public UUID FirstLifeImageId = UUID.Zero; |
67 | public string FirstLifeText = string.Empty; | 69 | public string FirstLifeText = string.Empty; |
68 | } | 70 | } |
69 | 71 | ||
70 | public class UserProfilePick | 72 | public class UserProfilePick |
71 | { | 73 | { |
72 | public UUID PickId = UUID.Zero; | 74 | public UUID PickId = UUID.Zero; |
@@ -84,7 +86,7 @@ namespace OpenSim.Framework | |||
84 | public int SortOrder = 0; | 86 | public int SortOrder = 0; |
85 | public bool Enabled = false; | 87 | public bool Enabled = false; |
86 | } | 88 | } |
87 | 89 | ||
88 | public class UserProfileNotes | 90 | public class UserProfileNotes |
89 | { | 91 | { |
90 | public UUID UserId; | 92 | public UUID UserId; |
@@ -99,7 +101,7 @@ namespace OpenSim.Framework | |||
99 | public bool Visible = false; | 101 | public bool Visible = false; |
100 | public string EMail = string.Empty; | 102 | public string EMail = string.Empty; |
101 | } | 103 | } |
102 | 104 | ||
103 | public class UserAccountProperties | 105 | public class UserAccountProperties |
104 | { | 106 | { |
105 | public string EmailAddress = string.Empty; | 107 | public string EmailAddress = string.Empty; |
@@ -108,13 +110,13 @@ namespace OpenSim.Framework | |||
108 | public string Password = string.Empty; | 110 | public string Password = string.Empty; |
109 | public string UserId = string.Empty; | 111 | public string UserId = string.Empty; |
110 | } | 112 | } |
111 | 113 | ||
112 | public class UserAccountAuth | 114 | public class UserAccountAuth |
113 | { | 115 | { |
114 | public string UserId = UUID.Zero.ToString(); | 116 | public string UserId = UUID.Zero.ToString(); |
115 | public string Password = string.Empty; | 117 | public string Password = string.Empty; |
116 | } | 118 | } |
117 | 119 | ||
118 | public class UserAppData | 120 | public class UserAppData |
119 | { | 121 | { |
120 | public string TagId = string.Empty; | 122 | public string TagId = string.Empty; |
@@ -122,5 +124,18 @@ namespace OpenSim.Framework | |||
122 | public string UserId = UUID.Zero.ToString(); | 124 | public string UserId = UUID.Zero.ToString(); |
123 | public string DataVal = string.Empty; | 125 | public string DataVal = string.Empty; |
124 | } | 126 | } |
127 | |||
128 | public class UserProfileCacheEntry | ||
129 | { | ||
130 | public Dictionary<UUID, string> picksList; | ||
131 | public Dictionary<UUID, UserProfilePick> picks; | ||
132 | public Dictionary<UUID, string> classifiedsLists; | ||
133 | public Dictionary<UUID, UserClassifiedAdd> classifieds; | ||
134 | public UserProfileProperties props; | ||
135 | public string born; | ||
136 | public byte[] membershipType; | ||
137 | public uint flags; | ||
138 | public HashSet<IClientAPI> ClientsWaitingProps; | ||
139 | } | ||
125 | } | 140 | } |
126 | 141 | ||