OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
UserProfiles.cs
Go to the documentation of this file.
1 /*
2  * Copyright (c) Contributors, http://opensimulator.org/
3  * See CONTRIBUTORS.TXT for a full list of copyright holders.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions are met:
7  * * Redistributions of source code must retain the above copyright
8  * notice, this list of conditions and the following disclaimer.
9  * * Redistributions in binary form must reproduce the above copyright
10  * notice, this list of conditions and the following disclaimer in the
11  * documentation and/or other materials provided with the distribution.
12  * * Neither the name of the OpenSimulator Project nor the
13  * names of its contributors may be used to endorse or promote products
14  * derived from this software without specific prior written permission.
15  *
16  * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17  * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19  * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20  * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26  */
27 
28 using System;
29 using OpenMetaverse;
30 
31 namespace OpenSim.Framework
32 {
33  public class UserClassifiedAdd
34  {
35  public UUID ClassifiedId = UUID.Zero;
36  public UUID CreatorId = UUID.Zero;
37  public int CreationDate = 0;
38  public int ExpirationDate = 0;
39  public int Category = 0;
40  public string Name = string.Empty;
41  public string Description = string.Empty;
42  public UUID ParcelId = UUID.Zero;
43  public int ParentEstate = 0;
44  public UUID SnapshotId = UUID.Zero;
45  public string SimName = string.Empty;
46  public string GlobalPos = "<0,0,0>";
47  public string ParcelName = string.Empty;
48  public byte Flags = 0;
49  public int Price = 0;
50  }
51 
52  public class UserProfileProperties
53  {
54  public UUID UserId = UUID.Zero;
55  public UUID PartnerId = UUID.Zero;
56  public bool PublishProfile = false;
57  public bool PublishMature = false;
58  public string WebUrl = string.Empty;
59  public int WantToMask = 0;
60  public string WantToText = string.Empty;
61  public int SkillsMask = 0;
62  public string SkillsText = string.Empty;
63  public string Language = string.Empty;
64  public UUID ImageId = UUID.Zero;
65  public string AboutText = string.Empty;
66  public UUID FirstLifeImageId = UUID.Zero;
67  public string FirstLifeText = string.Empty;
68  }
69 
70  public class UserProfilePick
71  {
72  public UUID PickId = UUID.Zero;
73  public UUID CreatorId = UUID.Zero;
74  public bool TopPick = false;
75  public string Name = string.Empty;
76  public string OriginalName = string.Empty;
77  public string Desc = string.Empty;
78  public UUID ParcelId = UUID.Zero;
79  public UUID SnapshotId = UUID.Zero;
80  public string ParcelName = string.Empty;
81  public string SimName = string.Empty;
82  public string GlobalPos = "<0,0,0>";
83  public string Gatekeeper = string.Empty;
84  public int SortOrder = 0;
85  public bool Enabled = false;
86  }
87 
88  public class UserProfileNotes
89  {
90  public UUID UserId;
91  public UUID TargetId;
92  public string Notes;
93  }
94 
95  public class UserPreferences
96  {
97  public UUID UserId;
98  public bool IMViaEmail = false;
99  public bool Visible = false;
100  public string EMail = string.Empty;
101  }
102 
104  {
105  public string EmailAddress = string.Empty;
106  public string Firstname = string.Empty;
107  public string LastName = string.Empty;
108  public string Password = string.Empty;
109  public string UserId = string.Empty;
110  }
111 
112  public class UserAccountAuth
113  {
114  public string UserId = UUID.Zero.ToString();
115  public string Password = string.Empty;
116  }
117 
118  public class UserAppData
119  {
120  public string TagId = string.Empty;
121  public string DataKey = string.Empty;
122  public string UserId = UUID.Zero.ToString();
123  public string DataVal = string.Empty;
124  }
125 }
126