aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IUserService.cs45
1 files changed, 45 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IUserService.cs b/OpenSim/Services/Interfaces/IUserService.cs
index 051ee9a..823a86d 100644
--- a/OpenSim/Services/Interfaces/IUserService.cs
+++ b/OpenSim/Services/Interfaces/IUserService.cs
@@ -25,9 +25,54 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System.Collections.Generic;
29using OpenMetaverse;
30
28namespace OpenSim.Services.Interfaces 31namespace OpenSim.Services.Interfaces
29{ 32{
33 public class UserData
34 {
35 public string FirstName;
36 public string LastName;
37 public UUID UserID;
38 public UUID scopeID;
39
40 // For informational purposes only!
41 //
42 public string HomeRegionName;
43
44 public UUID HomeRegionID;
45 public float HomePositionX;
46 public float HomePositionY;
47 public float HomePositionZ;
48 public float HomeLookAtX;
49 public float HomeLookAtY;
50 public float HomeLookAtZ;
51
52 // There are here because they
53 // concern the account rather than
54 // the profile. They just happen to
55 // be used in the Linden profile as well
56 //
57 public int GodLevel;
58 public int UserFlags;
59 public string AccountType;
60 };
61
30 public interface IUserService 62 public interface IUserService
31 { 63 {
64 UserData GetUserData(UUID scopeID, UUID userID);
65 UserData GetUserData(UUID scopeID, string FirstName, string LastName);
66
67 // This will set only the home region portion of the data!
68 // Can't be used to set god level, flags, type or change the name!
69 //
70 bool SetUserData(UserData data);
71
72 // Returns the list of avatars that matches both the search
73 // criterion and the scope ID passed
74 // ONLY THE NAME, SCOPE ID and UUID will be filled in!
75 //
76 List<UserData> GetAvatarPickerData(UUID scopeID, string query);
32 } 77 }
33} 78}