aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AvatarWearable.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-06 07:52:41 +0000
committerTeravus Ovares2008-09-06 07:52:41 +0000
commit7d89e122930be39e84a6d174548fa2d12ac0484a (patch)
treee5aa5752f988a9aba2a969f49e5e208985eda80c /OpenSim/Framework/AvatarWearable.cs
parent* minor: speculatively try a change to bamboo.build to see if this generates ... (diff)
downloadopensim-SC_OLD-7d89e122930be39e84a6d174548fa2d12ac0484a.zip
opensim-SC_OLD-7d89e122930be39e84a6d174548fa2d12ac0484a.tar.gz
opensim-SC_OLD-7d89e122930be39e84a6d174548fa2d12ac0484a.tar.bz2
opensim-SC_OLD-7d89e122930be39e84a6d174548fa2d12ac0484a.tar.xz
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
Diffstat (limited to 'OpenSim/Framework/AvatarWearable.cs')
-rw-r--r--OpenSim/Framework/AvatarWearable.cs34
1 files changed, 17 insertions, 17 deletions
diff --git a/OpenSim/Framework/AvatarWearable.cs b/OpenSim/Framework/AvatarWearable.cs
index fdcc776..59e6a1b 100644
--- a/OpenSim/Framework/AvatarWearable.cs
+++ b/OpenSim/Framework/AvatarWearable.cs
@@ -28,21 +28,21 @@
28using System; 28using System;
29using System.Runtime.Serialization; 29using System.Runtime.Serialization;
30using System.Security.Permissions; 30using System.Security.Permissions;
31using libsecondlife; 31using OpenMetaverse;
32 32
33namespace OpenSim.Framework 33namespace OpenSim.Framework
34{ 34{
35 [Serializable] 35 [Serializable]
36 public class AvatarWearable : ISerializable 36 public class AvatarWearable : ISerializable
37 { 37 {
38 public LLUUID AssetID = new LLUUID("00000000-0000-0000-0000-000000000000"); 38 public UUID AssetID = new UUID("00000000-0000-0000-0000-000000000000");
39 public LLUUID ItemID = new LLUUID("00000000-0000-0000-0000-000000000000"); 39 public UUID ItemID = new UUID("00000000-0000-0000-0000-000000000000");
40 40
41 public AvatarWearable() 41 public AvatarWearable()
42 { 42 {
43 } 43 }
44 44
45 public AvatarWearable(LLUUID itemId, LLUUID assetId) 45 public AvatarWearable(UUID itemId, UUID assetId)
46 { 46 {
47 AssetID = assetId; 47 AssetID = assetId;
48 ItemID = itemId; 48 ItemID = itemId;
@@ -56,8 +56,8 @@ namespace OpenSim.Framework
56 throw new ArgumentNullException("info"); 56 throw new ArgumentNullException("info");
57 } 57 }
58 58
59 AssetID = new LLUUID((Guid) info.GetValue("AssetID", typeof (Guid))); 59 AssetID = new UUID((Guid) info.GetValue("AssetID", typeof (Guid)));
60 ItemID = new LLUUID((Guid) info.GetValue("ItemID", typeof (Guid))); 60 ItemID = new UUID((Guid) info.GetValue("ItemID", typeof (Guid)));
61 61
62 //System.Console.WriteLine("AvatarWearable Deserialize END"); 62 //System.Console.WriteLine("AvatarWearable Deserialize END");
63 } 63 }
@@ -71,17 +71,17 @@ namespace OpenSim.Framework
71 { 71 {
72 defaultWearables[i] = new AvatarWearable(); 72 defaultWearables[i] = new AvatarWearable();
73 } 73 }
74 defaultWearables[0].AssetID = new LLUUID("66c41e39-38f9-f75a-024e-585989bfab73"); 74 defaultWearables[0].AssetID = new UUID("66c41e39-38f9-f75a-024e-585989bfab73");
75 defaultWearables[0].ItemID = new LLUUID("66c41e39-38f9-f75a-024e-585989bfaba9"); 75 defaultWearables[0].ItemID = new UUID("66c41e39-38f9-f75a-024e-585989bfaba9");
76 76
77 defaultWearables[1].ItemID = new LLUUID("77c41e39-38f9-f75a-024e-585989bfabc9"); 77 defaultWearables[1].ItemID = new UUID("77c41e39-38f9-f75a-024e-585989bfabc9");
78 defaultWearables[1].AssetID = new LLUUID("77c41e39-38f9-f75a-024e-585989bbabbb"); 78 defaultWearables[1].AssetID = new UUID("77c41e39-38f9-f75a-024e-585989bbabbb");
79 79
80 defaultWearables[4].ItemID = new LLUUID("77c41e39-38f9-f75a-0000-585989bf0000"); 80 defaultWearables[4].ItemID = new UUID("77c41e39-38f9-f75a-0000-585989bf0000");
81 defaultWearables[4].AssetID = new LLUUID("00000000-38f9-1111-024e-222222111110"); 81 defaultWearables[4].AssetID = new UUID("00000000-38f9-1111-024e-222222111110");
82 82
83 defaultWearables[5].ItemID = new LLUUID("77c41e39-38f9-f75a-0000-5859892f1111"); 83 defaultWearables[5].ItemID = new UUID("77c41e39-38f9-f75a-0000-5859892f1111");
84 defaultWearables[5].AssetID = new LLUUID("00000000-38f9-1111-024e-222222111120"); 84 defaultWearables[5].AssetID = new UUID("00000000-38f9-1111-024e-222222111120");
85 return defaultWearables; 85 return defaultWearables;
86 } 86 }
87 } 87 }
@@ -98,10 +98,10 @@ namespace OpenSim.Framework
98 throw new ArgumentNullException("info"); 98 throw new ArgumentNullException("info");
99 } 99 }
100 100
101 info.AddValue("AssetID", AssetID.UUID); 101 info.AddValue("AssetID", AssetID.Guid);
102 info.AddValue("ItemID", ItemID.UUID); 102 info.AddValue("ItemID", ItemID.Guid);
103 } 103 }
104 104
105 #endregion 105 #endregion
106 } 106 }
107} \ No newline at end of file 107}