* Implements Scene.SimChat(string,...) rather than byte[]. We should probably mark byte[] as obsolete.

* Implements SOPObject.Say for MRM. (Note, not IObject yet)
This commit is contained in:
Adam Frisby
2009-04-03 10:40:14 +00:00
parent 36bc485e7e
commit 254d3099f0
2 changed files with 21 additions and 0 deletions

View File

@@ -84,6 +84,16 @@ namespace OpenSim.Region.Framework.Scenes
SimChat(message, type, channel, fromPos, fromName, fromID, fromAgent, false);
}
public void SimChat(string message, ChatTypeEnum type, Vector3 fromPos, string fromName, UUID fromID, bool fromAgent)
{
SimChat(Utils.StringToBytes(message), type, 0, fromPos, fromName, fromID, fromAgent);
}
public void SimChat(string message, string fromName)
{
SimChat(message, ChatTypeEnum.Broadcast, Vector3.Zero, fromName, UUID.Zero, false);
}
/// <summary>
///
/// </summary>