diff options
author | Melanie | 2010-01-02 17:50:15 +0000 |
---|---|---|
committer | Melanie | 2010-01-02 17:50:15 +0000 |
commit | 78173996b92c1beee11ecae9ece196ac907bffa8 (patch) | |
tree | 6569c3ffcac73ee63ceb863f9060af818cf62ce9 /OpenSim | |
parent | Minor interface changes (diff) | |
download | opensim-SC_OLD-78173996b92c1beee11ecae9ece196ac907bffa8.zip opensim-SC_OLD-78173996b92c1beee11ecae9ece196ac907bffa8.tar.gz opensim-SC_OLD-78173996b92c1beee11ecae9ece196ac907bffa8.tar.bz2 opensim-SC_OLD-78173996b92c1beee11ecae9ece196ac907bffa8.tar.xz |
First stab at avatar data. Very generic
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/Interfaces/IAvatarService.cs | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/OpenSim/Services/Interfaces/IAvatarService.cs b/OpenSim/Services/Interfaces/IAvatarService.cs index f87fcd8..dc56f4f 100644 --- a/OpenSim/Services/Interfaces/IAvatarService.cs +++ b/OpenSim/Services/Interfaces/IAvatarService.cs | |||
@@ -75,17 +75,26 @@ namespace OpenSim.Services.Interfaces | |||
75 | /// </summary> | 75 | /// </summary> |
76 | public interface IAvatarData | 76 | public interface IAvatarData |
77 | { | 77 | { |
78 | // Not sure what to do with the non-attachment data | ||
79 | // That data is highly dependent on the implementation of avatars | ||
80 | // and I doubt it can be abstracted into this interface. | ||
81 | // Maybe it will never be here. Maybe that data needs to | ||
82 | // be processed by a module instead of being processed in | ||
83 | // the Scenes core code. | ||
84 | |||
85 | AttachmentData[] GetAttachments(int[] attachPoints); | 78 | AttachmentData[] GetAttachments(int[] attachPoints); |
86 | int GetAttachmentPoint(UUID id); | 79 | int GetAttachmentPoint(UUID id); |
87 | 80 | ||
88 | bool SetAttachments(AttachmentData[] attachs); | 81 | bool SetAttachments(AttachmentData[] attachs); |
89 | bool Detach(UUID id); | 82 | bool Detach(UUID id); |
83 | |||
84 | // This pretty much determines which name/value pairs will be | ||
85 | // present below. The name/value pair describe a part of | ||
86 | // the avatar. For SL avatars, these would be "shape", "texture1", | ||
87 | // etc. For other avatars, they might be "mesh", "skin", etc. | ||
88 | // The value portion is a URL that is expected to resolve to an | ||
89 | // asset of the type required by the handler for that field. | ||
90 | // It is required that regions can access these URLs. Allowing | ||
91 | // direct access by a viewer is not required, and, if provided, | ||
92 | // may be read-only. A "naked" UUID can be used to refer to an | ||
93 | // asset int he current region's asset service, which is not | ||
94 | // portable, but allows legacy appearance to continue to | ||
95 | // function. Closed, LL-based grids will never need URLs here. | ||
96 | |||
97 | int AvatarType { get; set; } | ||
98 | Dictionary<string,string> Data { get; set; } | ||
90 | } | 99 | } |
91 | } | 100 | } |