aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authorMelanie Thielker2009-06-22 12:18:04 +0000
committerMelanie Thielker2009-06-22 12:18:04 +0000
commit044446821b7d1d4550e43b0351c2611026874755 (patch)
tree2043005ce27cd5519b104c0d49e53ba78632b2bb /OpenSim/Services/Interfaces
parentFormatting cleanup, ignore some generated files. (diff)
downloadopensim-SC-044446821b7d1d4550e43b0351c2611026874755.zip
opensim-SC-044446821b7d1d4550e43b0351c2611026874755.tar.gz
opensim-SC-044446821b7d1d4550e43b0351c2611026874755.tar.bz2
opensim-SC-044446821b7d1d4550e43b0351c2611026874755.tar.xz
Committing the meat of the user server interface and the bones of the service implementation
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}