refactoring the grunt work of MessageObject into a private method with a UUID argument

integration
SignpostMarv 2012-09-01 02:43:04 +01:00 committed by Justin Clark-Casey (justincc)
parent a858c5daee
commit d4b8a13a1d
1 changed files with 5 additions and 0 deletions

View File

@ -1673,6 +1673,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
return;
}
MessageObject(objUUID, message);
}
private void MessageObject(UUID objUUID, string message)
{
object[] resobj = new object[] { new LSL_Types.LSLString(m_host.UUID.ToString()), new LSL_Types.LSLString(message) };
SceneObjectPart sceneOP = World.GetSceneObjectPart(objUUID);