diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/AvatarWearable.cs | 39 | ||||
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 4 |
2 files changed, 30 insertions, 13 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 | } |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 07bded6..9025dda 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -1017,7 +1017,9 @@ namespace OpenSim.Framework | |||
1017 | uint flags, string capsURL); | 1017 | uint flags, string capsURL); |
1018 | 1018 | ||
1019 | void SendTeleportFailed(string reason); | 1019 | void SendTeleportFailed(string reason); |
1020 | void SendTeleportLocationStart(); | 1020 | void SendTeleportStart(uint flags); |
1021 | void SendTeleportProgress(uint flags, string message); | ||
1022 | |||
1021 | void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance); | 1023 | void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance); |
1022 | void SendPayPrice(UUID objectID, int[] payPrice); | 1024 | void SendPayPrice(UUID objectID, int[] payPrice); |
1023 | 1025 | ||