diff options
author | opensim mirror account | 2010-10-29 13:20:04 -0700 |
---|---|---|
committer | opensim mirror account | 2010-10-29 13:20:04 -0700 |
commit | 8d8a795b28c3955df309a4f8cfd3b092489cb15f (patch) | |
tree | 672d0d8327d521dfefb44dc5d7d1d49ed8642ee0 /OpenSim/Services/Connectors/Avatar | |
parent | Merge branch 'master' of /var/git/opensim/ (diff) | |
parent | Merge branch 'dev-appearance' (diff) | |
download | opensim-SC-8d8a795b28c3955df309a4f8cfd3b092489cb15f.zip opensim-SC-8d8a795b28c3955df309a4f8cfd3b092489cb15f.tar.gz opensim-SC-8d8a795b28c3955df309a4f8cfd3b092489cb15f.tar.bz2 opensim-SC-8d8a795b28c3955df309a4f8cfd3b092489cb15f.tar.xz |
Merge branch 'master' of /var/git/opensim/
Diffstat (limited to 'OpenSim/Services/Connectors/Avatar')
-rw-r--r-- | OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs b/OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs index 96c05a9..1cd6bf8 100644 --- a/OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs +++ b/OpenSim/Services/Connectors/Avatar/AvatarServiceConnector.cs | |||
@@ -87,6 +87,18 @@ namespace OpenSim.Services.Connectors | |||
87 | 87 | ||
88 | #region IAvatarService | 88 | #region IAvatarService |
89 | 89 | ||
90 | public AvatarAppearance GetAppearance(UUID userID) | ||
91 | { | ||
92 | AvatarData avatar = GetAvatar(userID); | ||
93 | return avatar.ToAvatarAppearance(userID); | ||
94 | } | ||
95 | |||
96 | public bool SetAppearance(UUID userID, AvatarAppearance appearance) | ||
97 | { | ||
98 | AvatarData avatar = new AvatarData(appearance); | ||
99 | return SetAvatar(userID,avatar); | ||
100 | } | ||
101 | |||
90 | public AvatarData GetAvatar(UUID userID) | 102 | public AvatarData GetAvatar(UUID userID) |
91 | { | 103 | { |
92 | Dictionary<string, object> sendData = new Dictionary<string, object>(); | 104 | Dictionary<string, object> sendData = new Dictionary<string, object>(); |