* 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:
@@ -412,14 +412,14 @@ public class Analyst : ProxyPlugin
|
||||
private void SayToUser(string message)
|
||||
{
|
||||
ChatFromSimulatorPacket packet = new ChatFromSimulatorPacket();
|
||||
packet.ChatData.FromName = Helpers.StringToField("Analyst");
|
||||
packet.ChatData.FromName = Utils.StringToBytes("Analyst");
|
||||
packet.ChatData.SourceID = UUID.Random();
|
||||
packet.ChatData.OwnerID = frame.AgentID;
|
||||
packet.ChatData.SourceType = (byte)2;
|
||||
packet.ChatData.ChatType = (byte)1;
|
||||
packet.ChatData.Audible = (byte)1;
|
||||
packet.ChatData.Position = new Vector3(0, 0, 0);
|
||||
packet.ChatData.Message = Helpers.StringToField(message);
|
||||
packet.ChatData.Message = Utils.StringToBytes(message);
|
||||
proxy.InjectPacket(packet, Direction.Incoming);
|
||||
}
|
||||
|
||||
@@ -537,7 +537,7 @@ public class Analyst : ProxyPlugin
|
||||
}
|
||||
else if (fieldClass == typeof(byte[]))
|
||||
{
|
||||
return Helpers.StringToField(value);
|
||||
return Utils.StringToBytes(value);
|
||||
}
|
||||
else if (fieldClass == typeof(Vector3))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user