* Added more documentation to Types.cs

* Renamed LLUUID.GenerateUUID() to LLUUID.Random()
* Optimized the type classes hashing functions
* Fixed a bug where source packet data would be modified on big endian platforms when creating type classes
* Normalized the ToString() output of the type classes

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@677 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2006-12-04 00:19:58 +00:00
parent 2a5d1750f4
commit 3dbdbec13b
13 changed files with 250 additions and 167 deletions

View File

@@ -33,7 +33,7 @@ namespace libsecondlife.InventorySystem
set
{
base._Asset = new AssetImage( LLUUID.GenerateUUID(), value );
base._Asset = new AssetImage( LLUUID.Random(), value );
LLUUID TransactionID = base.iManager.AssetManager.UploadAsset( Asset );
base.SetAssetTransactionIDs( Asset.AssetID, TransactionID );
}
@@ -86,7 +86,7 @@ namespace libsecondlife.InventorySystem
}
else
{
_Asset = new AssetImage( LLUUID.GenerateUUID(), assetData );
_Asset = new AssetImage( LLUUID.Random(), assetData );
_AssetID = _Asset.AssetID;
}
}