aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2008-05-15 15:30:03 +0000
committerSean Dague2008-05-15 15:30:03 +0000
commitc45218e275f11ae2d953bb7b6eefdf3df1dc4756 (patch)
treec70f6d546991641d8e9707a2c353bb95b238761f
parentminor refactor of some properties for readability (diff)
downloadopensim-SC-c45218e275f11ae2d953bb7b6eefdf3df1dc4756.zip
opensim-SC-c45218e275f11ae2d953bb7b6eefdf3df1dc4756.tar.gz
opensim-SC-c45218e275f11ae2d953bb7b6eefdf3df1dc4756.tar.bz2
opensim-SC-c45218e275f11ae2d953bb7b6eefdf3df1dc4756.tar.xz
add the rest of my UserAppearance created methods to
AvatarAppearance
-rw-r--r--OpenSim/Framework/AvatarAppearance.cs117
1 files changed, 117 insertions, 0 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs
index 64d8c0d..0b59a67 100644
--- a/OpenSim/Framework/AvatarAppearance.cs
+++ b/OpenSim/Framework/AvatarAppearance.cs
@@ -99,6 +99,123 @@ namespace OpenSim.Framework
99 set { m_wearables = value; } 99 set { m_wearables = value; }
100 } 100 }
101 101
102 public LLUUID BodyItem {
103 get { return m_wearables[BODY].ItemID; }
104 set { m_wearables[BODY].ItemID = value; }
105 }
106 public LLUUID BodyAsset {
107 get { return m_wearables[BODY].AssetID; }
108 set { m_wearables[BODY].AssetID = value; }
109 }
110 public LLUUID SkinItem {
111 get { return m_wearables[SKIN].ItemID; }
112 set { m_wearables[SKIN].ItemID = value; }
113 }
114 public LLUUID SkinAsset {
115 get { return m_wearables[SKIN].AssetID; }
116 set { m_wearables[SKIN].AssetID = value; }
117 }
118 public LLUUID HairItem {
119 get { return m_wearables[HAIR].ItemID; }
120 set { m_wearables[HAIR].ItemID = value; }
121 }
122 public LLUUID HairAsset {
123 get { return m_wearables[HAIR].AssetID; }
124 set { m_wearables[HAIR].AssetID = value; }
125 }
126 public LLUUID EyesItem {
127 get { return m_wearables[EYES].ItemID; }
128 set { m_wearables[EYES].ItemID = value; }
129 }
130 public LLUUID EyesAsset {
131 get { return m_wearables[EYES].AssetID; }
132 set { m_wearables[EYES].AssetID = value; }
133 }
134 public LLUUID ShirtItem {
135 get { return m_wearables[SHIRT].ItemID; }
136 set { m_wearables[SHIRT].ItemID = value; }
137 }
138 public LLUUID ShirtAsset {
139 get { return m_wearables[SHIRT].AssetID; }
140 set { m_wearables[SHIRT].AssetID = value; }
141 }
142 public LLUUID PantsItem {
143 get { return m_wearables[PANTS].ItemID; }
144 set { m_wearables[PANTS].ItemID = value; }
145 }
146 public LLUUID PantsAsset {
147 get { return m_wearables[BODY].AssetID; }
148 set { m_wearables[BODY].AssetID = value; }
149 }
150 public LLUUID ShoesItem {
151 get { return m_wearables[SHOES].ItemID; }
152 set { m_wearables[SHOES].ItemID = value; }
153 }
154 public LLUUID ShoesAsset {
155 get { return m_wearables[SHOES].AssetID; }
156 set { m_wearables[SHOES].AssetID = value; }
157 }
158 public LLUUID SocksItem {
159 get { return m_wearables[SOCKS].ItemID; }
160 set { m_wearables[SOCKS].ItemID = value; }
161 }
162 public LLUUID SocksAsset {
163 get { return m_wearables[SOCKS].AssetID; }
164 set { m_wearables[SOCKS].AssetID = value; }
165 }
166 public LLUUID JacketItem {
167 get { return m_wearables[JACKET].ItemID; }
168 set { m_wearables[JACKET].ItemID = value; }
169 }
170 public LLUUID JacketAsset {
171 get { return m_wearables[JACKET].AssetID; }
172 set { m_wearables[JACKET].AssetID = value; }
173 }
174 public LLUUID GlovesItem {
175 get { return m_wearables[GLOVES].ItemID; }
176 set { m_wearables[GLOVES].ItemID = value; }
177 }
178 public LLUUID GlovesAsset {
179 get { return m_wearables[GLOVES].AssetID; }
180 set { m_wearables[GLOVES].AssetID = value; }
181 }
182 public LLUUID UnderShirtItem {
183 get { return m_wearables[UNDERSHIRT].ItemID; }
184 set { m_wearables[UNDERSHIRT].ItemID = value; }
185 }
186 public LLUUID UnderShirtAsset {
187 get { return m_wearables[UNDERSHIRT].AssetID; }
188 set { m_wearables[UNDERSHIRT].AssetID = value; }
189 }
190 public LLUUID UnderPantsItem {
191 get { return m_wearables[UNDERPANTS].ItemID; }
192 set { m_wearables[UNDERPANTS].ItemID = value; }
193 }
194 public LLUUID UnderPantsAsset {
195 get { return m_wearables[UNDERPANTS].AssetID; }
196 set { m_wearables[UNDERPANTS].AssetID = value; }
197 }
198 public LLUUID SkirtItem {
199 get { return m_wearables[SKIRT].ItemID; }
200 set { m_wearables[SKIRT].ItemID = value; }
201 }
202 public LLUUID SkirtAsset {
203 get { return m_wearables[SKIRT].AssetID; }
204 set { m_wearables[SKIRT].AssetID = value; }
205 }
206
207 public void SetDefaultWearables()
208 {
209 m_wearables[BODY].AssetID = BODY_ASSET;
210 m_wearables[BODY].ItemID = BODY_ITEM;
211 m_wearables[SKIN].AssetID = SKIN_ASSET;
212 m_wearables[SKIN].ItemID = SKIN_ITEM;
213 m_wearables[SHIRT].AssetID = SHIRT_ASSET;
214 m_wearables[SHIRT].ItemID = SHIRT_ITEM;
215 m_wearables[PANTS].AssetID = PANTS_ASSET;
216 m_wearables[PANTS].ItemID = PANTS_ITEM;
217 }
218
102 protected LLObject.TextureEntry m_texture; 219 protected LLObject.TextureEntry m_texture;
103 220
104 public LLObject.TextureEntry Texture 221 public LLObject.TextureEntry Texture