aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/UserProfileData.cs
diff options
context:
space:
mode:
authorSean Dague2008-06-25 19:18:51 +0000
committerSean Dague2008-06-25 19:18:51 +0000
commit5158aad662f3b6af788c729b3e68f76c92b3279b (patch)
tree2264484b03db489cf534f0a7be1fca0a664202c3 /OpenSim/Framework/UserProfileData.cs
parentadd migrations to mysql and sqlite for flags on embedded inventory (diff)
downloadopensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.zip
opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.gz
opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.bz2
opensim-SC_OLD-5158aad662f3b6af788c729b3e68f76c92b3279b.tar.xz
make lots of properties virtual, which lets nhibernate do
some proxy object optimizations.
Diffstat (limited to 'OpenSim/Framework/UserProfileData.cs')
-rw-r--r--OpenSim/Framework/UserProfileData.cs58
1 files changed, 29 insertions, 29 deletions
diff --git a/OpenSim/Framework/UserProfileData.cs b/OpenSim/Framework/UserProfileData.cs
index b704682..17d339e 100644
--- a/OpenSim/Framework/UserProfileData.cs
+++ b/OpenSim/Framework/UserProfileData.cs
@@ -139,7 +139,7 @@ namespace OpenSim.Framework
139 /// <summary> 139 /// <summary>
140 /// The regionhandle of the users preffered home region. If multiple sims occupy the same spot, the grid may decide which region the user logs into 140 /// The regionhandle of the users preffered home region. If multiple sims occupy the same spot, the grid may decide which region the user logs into
141 /// </summary> 141 /// </summary>
142 public ulong HomeRegion 142 public virtual ulong HomeRegion
143 { 143 {
144 get { return Helpers.UIntsToLong((_homeRegionX * (uint) Constants.RegionSize), (_homeRegionY * (uint) Constants.RegionSize)); } 144 get { return Helpers.UIntsToLong((_homeRegionX * (uint) Constants.RegionSize), (_homeRegionY * (uint) Constants.RegionSize)); }
145 set 145 set
@@ -150,172 +150,172 @@ namespace OpenSim.Framework
150 } 150 }
151 151
152 // Property wrappers 152 // Property wrappers
153 public LLUUID ID 153 public virtual LLUUID ID
154 { 154 {
155 get { return _id; } 155 get { return _id; }
156 set { _id = value; } 156 set { _id = value; }
157 } 157 }
158 158
159 public LLUUID WebLoginKey 159 public virtual LLUUID WebLoginKey
160 { 160 {
161 get { return _webLoginKey; } 161 get { return _webLoginKey; }
162 set { _webLoginKey = value; } 162 set { _webLoginKey = value; }
163 } 163 }
164 164
165 public string FirstName 165 public virtual string FirstName
166 { 166 {
167 get { return _firstname; } 167 get { return _firstname; }
168 set { _firstname = value; } 168 set { _firstname = value; }
169 } 169 }
170 170
171 public string SurName 171 public virtual string SurName
172 { 172 {
173 get { return _surname; } 173 get { return _surname; }
174 set { _surname = value; } 174 set { _surname = value; }
175 } 175 }
176 176
177 public string PasswordHash 177 public virtual string PasswordHash
178 { 178 {
179 get { return _passwordHash; } 179 get { return _passwordHash; }
180 set { _passwordHash = value; } 180 set { _passwordHash = value; }
181 } 181 }
182 182
183 public string PasswordSalt 183 public virtual string PasswordSalt
184 { 184 {
185 get { return _passwordSalt; } 185 get { return _passwordSalt; }
186 set { _passwordSalt = value; } 186 set { _passwordSalt = value; }
187 } 187 }
188 188
189 public uint HomeRegionX 189 public virtual uint HomeRegionX
190 { 190 {
191 get { return _homeRegionX; } 191 get { return _homeRegionX; }
192 set { _homeRegionX = value; } 192 set { _homeRegionX = value; }
193 } 193 }
194 194
195 public uint HomeRegionY 195 public virtual uint HomeRegionY
196 { 196 {
197 get { return _homeRegionY; } 197 get { return _homeRegionY; }
198 set { _homeRegionY = value; } 198 set { _homeRegionY = value; }
199 } 199 }
200 200
201 public LLVector3 HomeLocation 201 public virtual LLVector3 HomeLocation
202 { 202 {
203 get { return _homeLocation; } 203 get { return _homeLocation; }
204 set { _homeLocation = value; } 204 set { _homeLocation = value; }
205 } 205 }
206 206
207 // for handy serialization 207 // for handy serialization
208 public float HomeLocationX 208 public virtual float HomeLocationX
209 { 209 {
210 get { return _homeLocation.X; } 210 get { return _homeLocation.X; }
211 set { _homeLocation.X = value; } 211 set { _homeLocation.X = value; }
212 } 212 }
213 213
214 public float HomeLocationY 214 public virtual float HomeLocationY
215 { 215 {
216 get { return _homeLocation.Y; } 216 get { return _homeLocation.Y; }
217 set { _homeLocation.Y = value; } 217 set { _homeLocation.Y = value; }
218 } 218 }
219 219
220 public float HomeLocationZ 220 public virtual float HomeLocationZ
221 { 221 {
222 get { return _homeLocation.Z; } 222 get { return _homeLocation.Z; }
223 set { _homeLocation.Z = value; } 223 set { _homeLocation.Z = value; }
224 } 224 }
225 225
226 226
227 public LLVector3 HomeLookAt 227 public virtual LLVector3 HomeLookAt
228 { 228 {
229 get { return _homeLookAt; } 229 get { return _homeLookAt; }
230 set { _homeLookAt = value; } 230 set { _homeLookAt = value; }
231 } 231 }
232 232
233 // for handy serialization 233 // for handy serialization
234 public float HomeLookAtX 234 public virtual float HomeLookAtX
235 { 235 {
236 get { return _homeLookAt.X; } 236 get { return _homeLookAt.X; }
237 set { _homeLookAt.X = value; } 237 set { _homeLookAt.X = value; }
238 } 238 }
239 239
240 public float HomeLookAtY 240 public virtual float HomeLookAtY
241 { 241 {
242 get { return _homeLookAt.Y; } 242 get { return _homeLookAt.Y; }
243 set { _homeLookAt.Y = value; } 243 set { _homeLookAt.Y = value; }
244 } 244 }
245 245
246 public float HomeLookAtZ 246 public virtual float HomeLookAtZ
247 { 247 {
248 get { return _homeLookAt.Z; } 248 get { return _homeLookAt.Z; }
249 set { _homeLookAt.Z = value; } 249 set { _homeLookAt.Z = value; }
250 } 250 }
251 251
252 public int Created 252 public virtual int Created
253 { 253 {
254 get { return _created; } 254 get { return _created; }
255 set { _created = value; } 255 set { _created = value; }
256 } 256 }
257 257
258 public int LastLogin 258 public virtual int LastLogin
259 { 259 {
260 get { return _lastLogin; } 260 get { return _lastLogin; }
261 set { _lastLogin = value; } 261 set { _lastLogin = value; }
262 } 262 }
263 263
264 public LLUUID RootInventoryFolderID 264 public virtual LLUUID RootInventoryFolderID
265 { 265 {
266 get { return _rootInventoryFolderID; } 266 get { return _rootInventoryFolderID; }
267 set { _rootInventoryFolderID = value; } 267 set { _rootInventoryFolderID = value; }
268 } 268 }
269 269
270 public string UserInventoryURI 270 public virtual string UserInventoryURI
271 { 271 {
272 get { return _userInventoryURI; } 272 get { return _userInventoryURI; }
273 set { _userInventoryURI = value; } 273 set { _userInventoryURI = value; }
274 } 274 }
275 275
276 public string UserAssetURI 276 public virtual string UserAssetURI
277 { 277 {
278 get { return _userAssetURI; } 278 get { return _userAssetURI; }
279 set { _userAssetURI = value; } 279 set { _userAssetURI = value; }
280 } 280 }
281 281
282 public uint CanDoMask 282 public virtual uint CanDoMask
283 { 283 {
284 get { return _profileCanDoMask; } 284 get { return _profileCanDoMask; }
285 set { _profileCanDoMask = value; } 285 set { _profileCanDoMask = value; }
286 } 286 }
287 287
288 public uint WantDoMask 288 public virtual uint WantDoMask
289 { 289 {
290 get { return _profileWantDoMask; } 290 get { return _profileWantDoMask; }
291 set { _profileWantDoMask = value; } 291 set { _profileWantDoMask = value; }
292 } 292 }
293 293
294 public string AboutText 294 public virtual string AboutText
295 { 295 {
296 get { return _profileAboutText; } 296 get { return _profileAboutText; }
297 set { _profileAboutText = value; } 297 set { _profileAboutText = value; }
298 } 298 }
299 299
300 public string FirstLifeAboutText 300 public virtual string FirstLifeAboutText
301 { 301 {
302 get { return _profileFirstText; } 302 get { return _profileFirstText; }
303 set { _profileFirstText = value; } 303 set { _profileFirstText = value; }
304 } 304 }
305 305
306 public LLUUID Image 306 public virtual LLUUID Image
307 { 307 {
308 get { return _profileImage; } 308 get { return _profileImage; }
309 set { _profileImage = value; } 309 set { _profileImage = value; }
310 } 310 }
311 311
312 public LLUUID FirstLifeImage 312 public virtual LLUUID FirstLifeImage
313 { 313 {
314 get { return _profileFirstImage; } 314 get { return _profileFirstImage; }
315 set { _profileFirstImage = value; } 315 set { _profileFirstImage = value; }
316 } 316 }
317 317
318 public UserAgentData CurrentAgent 318 public virtual UserAgentData CurrentAgent
319 { 319 {
320 get { return _currentAgent; } 320 get { return _currentAgent; }
321 set { _currentAgent = value; } 321 set { _currentAgent = value; }