diff options
author | John Hurliman | 2010-08-13 17:39:45 -0700 |
---|---|---|
committer | John Hurliman | 2010-08-13 17:39:45 -0700 |
commit | d806741e9d244ab254f33c99f75eb6da96db1ebd (patch) | |
tree | e031d49081be5bd0241976a96413801e3d6fbcb5 | |
parent | * Fixed a casing typo for Simian profile data (diff) | |
download | opensim-SC_OLD-d806741e9d244ab254f33c99f75eb6da96db1ebd.zip opensim-SC_OLD-d806741e9d244ab254f33c99f75eb6da96db1ebd.tar.gz opensim-SC_OLD-d806741e9d244ab254f33c99f75eb6da96db1ebd.tar.bz2 opensim-SC_OLD-d806741e9d244ab254f33c99f75eb6da96db1ebd.tar.xz |
* Cleaned up the magic UUID definitions in AvatarWearable.cs
-rw-r--r-- | OpenSim/Framework/AvatarWearable.cs | 39 |
1 files changed, 27 insertions, 12 deletions
diff --git a/OpenSim/Framework/AvatarWearable.cs b/OpenSim/Framework/AvatarWearable.cs index 87d9e61..30c5172 100644 --- a/OpenSim/Framework/AvatarWearable.cs +++ b/OpenSim/Framework/AvatarWearable.cs | |||
@@ -34,8 +34,23 @@ namespace OpenSim.Framework | |||
34 | { | 34 | { |
35 | public class AvatarWearable | 35 | public class AvatarWearable |
36 | { | 36 | { |
37 | public UUID AssetID = new UUID("00000000-0000-0000-0000-000000000000"); | 37 | public static readonly UUID DEFAULT_BODY_ITEM = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9"); |
38 | public UUID ItemID = new UUID("00000000-0000-0000-0000-000000000000"); | 38 | public static readonly UUID DEFAULT_BODY_ASSET = new UUID("66c41e39-38f9-f75a-024e-585989bfab73"); |
39 | |||
40 | public static readonly UUID DEFAULT_HAIR_ITEM = new UUID("d342e6c1-b9d2-11dc-95ff-0800200c9a66"); | ||
41 | public static readonly UUID DEFAULT_HAIR_ASSET = new UUID("d342e6c0-b9d2-11dc-95ff-0800200c9a66"); | ||
42 | |||
43 | public static readonly UUID DEFAULT_SKIN_ITEM = new UUID("77c41e39-38f9-f75a-024e-585989bfabc9"); | ||
44 | public static readonly UUID DEFAULT_SKIN_ASSET = new UUID("77c41e39-38f9-f75a-024e-585989bbabbb"); | ||
45 | |||
46 | public static readonly UUID DEFAULT_SHIRT_ITEM = new UUID("77c41e39-38f9-f75a-0000-585989bf0000"); | ||
47 | public static readonly UUID DEFAULT_SHIRT_ASSET = new UUID("00000000-38f9-1111-024e-222222111110"); | ||
48 | |||
49 | public static readonly UUID DEFAULT_PANTS_ITEM = new UUID("77c41e39-38f9-f75a-0000-5859892f1111"); | ||
50 | public static readonly UUID DEFAULT_PANTS_ASSET = new UUID("00000000-38f9-1111-024e-222222111120"); | ||
51 | |||
52 | public UUID AssetID; | ||
53 | public UUID ItemID; | ||
39 | 54 | ||
40 | public AvatarWearable() | 55 | public AvatarWearable() |
41 | { | 56 | { |
@@ -58,24 +73,24 @@ namespace OpenSim.Framework | |||
58 | } | 73 | } |
59 | 74 | ||
60 | // Body | 75 | // Body |
61 | defaultWearables[0].ItemID = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9"); | 76 | defaultWearables[0].ItemID = DEFAULT_BODY_ITEM; |
62 | defaultWearables[0].AssetID = new UUID("66c41e39-38f9-f75a-024e-585989bfab73"); | 77 | defaultWearables[0].AssetID = DEFAULT_BODY_ASSET; |
63 | 78 | ||
64 | // Hair | 79 | // Hair |
65 | defaultWearables[2].ItemID = new UUID("d342e6c1-b9d2-11dc-95ff-0800200c9a66"); | 80 | defaultWearables[2].ItemID = DEFAULT_HAIR_ITEM; |
66 | defaultWearables[2].AssetID = new UUID("d342e6c0-b9d2-11dc-95ff-0800200c9a66"); | 81 | defaultWearables[2].AssetID = DEFAULT_HAIR_ASSET; |
67 | 82 | ||
68 | // Skin | 83 | // Skin |
69 | defaultWearables[1].ItemID = new UUID("77c41e39-38f9-f75a-024e-585989bfabc9"); | 84 | defaultWearables[1].ItemID = DEFAULT_SKIN_ITEM; |
70 | defaultWearables[1].AssetID = new UUID("77c41e39-38f9-f75a-024e-585989bbabbb"); | 85 | defaultWearables[1].AssetID = DEFAULT_SKIN_ASSET; |
71 | 86 | ||
72 | // Shirt | 87 | // Shirt |
73 | defaultWearables[4].ItemID = new UUID("77c41e39-38f9-f75a-0000-585989bf0000"); | 88 | defaultWearables[4].ItemID = DEFAULT_SHIRT_ITEM; |
74 | defaultWearables[4].AssetID = new UUID("00000000-38f9-1111-024e-222222111110"); | 89 | defaultWearables[4].AssetID = DEFAULT_SHIRT_ASSET; |
75 | 90 | ||
76 | // Pants | 91 | // Pants |
77 | defaultWearables[5].ItemID = new UUID("77c41e39-38f9-f75a-0000-5859892f1111"); | 92 | defaultWearables[5].ItemID = DEFAULT_PANTS_ITEM; |
78 | defaultWearables[5].AssetID = new UUID("00000000-38f9-1111-024e-222222111120"); | 93 | defaultWearables[5].AssetID = DEFAULT_PANTS_ASSET; |
79 | 94 | ||
80 | return defaultWearables; | 95 | return defaultWearables; |
81 | } | 96 | } |