* Added OpenMetaverse.Messages.Linden and OpenMetaverse.Messages.Simian namespaces to hold LLSD serialized messages. The dawn of a new era for libomv!
* Changing LLSD JSON serialization to match the draft at http://tools.ietf.org/html/draft-hamrick-llsd-00 (first breaking change since 0.6.0) * Moving some enums out to OpenMetaverseTypes.dll * Adding conversion methods to go to and from the newly moved enums * Moved Parcel enums out to the main namespace git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2588 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -902,6 +902,16 @@ namespace OpenMetaverse.StructuredData
|
||||
this.value = new List<OSD>();
|
||||
}
|
||||
|
||||
public override byte[] AsBinary()
|
||||
{
|
||||
byte[] binary = new byte[value.Count];
|
||||
|
||||
for (int i = 0; i < value.Count; i++)
|
||||
binary[i] = (byte)value[i].AsInteger();
|
||||
|
||||
return binary;
|
||||
}
|
||||
|
||||
public override Vector2 AsVector2()
|
||||
{
|
||||
Vector2 vector = Vector2.Zero;
|
||||
|
||||
Reference in New Issue
Block a user