From 70f7672dad3534f215396a578fc13f5628e45310 Mon Sep 17 00:00:00 2001
From: Sean Dague
Date: Thu, 1 May 2008 18:36:43 +0000
Subject: added in IUserService functions. These don't do anything yet, but
the set all compiles together fine, and it provides people an idea of where
we are heading.
---
OpenSim/Framework/Communications/IUserService.cs | 12 ++++++++++
.../Framework/Communications/UserManagerBase.cs | 28 ++++++++++++++++++++++
2 files changed, 40 insertions(+)
(limited to 'OpenSim/Framework/Communications')
diff --git a/OpenSim/Framework/Communications/IUserService.cs b/OpenSim/Framework/Communications/IUserService.cs
index 7c243c6..f8d5541 100644
--- a/OpenSim/Framework/Communications/IUserService.cs
+++ b/OpenSim/Framework/Communications/IUserService.cs
@@ -108,5 +108,17 @@ namespace OpenSim.Framework.Communications
///
/// The agent that we're retreiving the friends Data.
List GetUserFriendList(LLUUID friendlistowner);
+
+ ///
+ /// Get's the User Appearance
+ UserAppearance GetUserAppearance(LLUUID user);
+
+ void UpdateUserAppearance(LLUUID user, UserAppearance appearance);
+
+ void AddAttachment(LLUUID user, LLUUID attach);
+
+ void RemoveAttachment(LLUUID user, LLUUID attach);
+
+ List GetAttachments(LLUUID user);
}
}
\ No newline at end of file
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs
index e4d8ca2..dbbc58f 100644
--- a/OpenSim/Framework/Communications/UserManagerBase.cs
+++ b/OpenSim/Framework/Communications/UserManagerBase.cs
@@ -595,5 +595,33 @@ namespace OpenSim.Framework.Communications
}
return false;
}
+
+ /// Appearance
+ /// TODO: stubs for now to get us to a compiling state gently
+ public UserAppearance GetUserAppearance(LLUUID user)
+ {
+ return new UserAppearance();
+ }
+
+ public void UpdateUserAppearance(LLUUID user, UserAppearance appearance)
+ {
+ return;
+ }
+
+ public void AddAttachment(LLUUID user, LLUUID item)
+ {
+ return;
+ }
+
+ public void RemoveAttachment(LLUUID user, LLUUID item)
+ {
+ return;
+ }
+
+ public List GetAttachments(LLUUID user)
+ {
+ return new List();
+ }
+
}
}
\ No newline at end of file
--
cgit v1.1