* Moving conversion functions from Helpers to Utils (in OpenMetaverseTypes)
* Added GetLLSD() and FromLLSD() to Permissions * Started on inventory persistence for Simian git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2267 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -174,14 +174,14 @@ namespace OpenMetaverse.Packets
|
||||
{
|
||||
// ulongs come in as a byte array, convert it manually here
|
||||
byte[] bytes = blockData[field.Name].AsBinary();
|
||||
ulong value = Helpers.BytesToUInt64(bytes);
|
||||
ulong value = Utils.BytesToUInt64(bytes);
|
||||
field.SetValue(block, value);
|
||||
}
|
||||
else if (fieldType == typeof(uint))
|
||||
{
|
||||
// uints come in as a byte array, convert it manually here
|
||||
byte[] bytes = blockData[field.Name].AsBinary();
|
||||
uint value = Helpers.BytesToUInt(bytes);
|
||||
uint value = Utils.BytesToUInt(bytes);
|
||||
field.SetValue(block, value);
|
||||
}
|
||||
else if (fieldType == typeof(ushort))
|
||||
|
||||
Reference in New Issue
Block a user