* Splits libomv into OpenMetaverseTypes.dll and OpenMetaverse.dll

* All MathUtils and non-SL-specific Helpers functions have been put in OpenMetaverseTypes.dll inside the Utils class. Helpers only contains SL-specific functions now
* LLSD encoding/decoding for custom types has been moved out of the types and implemented as static functions in the LLSD class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2082 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-08-12 22:38:02 +00:00
parent 804f28e128
commit 99239ebcfc
50 changed files with 1308 additions and 1320 deletions

View File

@@ -382,7 +382,7 @@ namespace GridAccountant
foreach (DirPeopleReplyPacket.QueryRepliesBlock block in reply.QueryReplies)
{
ListViewItem listItem = new ListViewItem(new string[] {
Helpers.FieldToUTF8String(block.FirstName) + " " + Helpers.FieldToUTF8String(block.LastName),
Utils.BytesToString(block.FirstName) + " " + Utils.BytesToString(block.LastName),
(block.Online ? "Yes" : "No"), block.AgentID.ToString() });
this.BeginInvoke(new ListViewItemParamInvoker(AddFindItem), new object[] { listItem });
@@ -485,7 +485,7 @@ namespace GridAccountant
query.QueryData.QueryFlags = 1;
query.QueryData.QueryID = UUID.Random();
query.QueryData.QueryStart = 0;
query.QueryData.QueryText = Helpers.StringToField(txtFind.Text);
query.QueryData.QueryText = Utils.StringToBytes(txtFind.Text);
query.Header.Reliable = true;
Client.Network.SendPacket(query);