* Added XMLRPC Controller Module to OpenSimMain which allows XML-RPC queries to be sent to the core application.

* Disabled by default, but has two functions so far -- shutdown (timed or now), and create-region.
* Added SendGeneralAlert function to SceneManager allowing all-user alerts to be sent from OpenSimMain.
This commit is contained in:
Adam Frisby
2007-10-25 12:13:58 +00:00
parent 60e4541865
commit 2048d611cf
5 changed files with 148 additions and 1 deletions

View File

@@ -1319,7 +1319,6 @@ namespace OpenSim.Region.Environment.Scenes
SendAlertToUser(user, reason, false);
}
public void SendGeneralAlert(string message)
{
foreach (ScenePresence presence in m_scenePresences.Values)

View File

@@ -150,6 +150,14 @@ namespace OpenSim.Region.Environment.Scenes
ForEachCurrentScene(delegate(Scene scene) { scene.HandleAlertCommand(cmdparams); });
}
public void SendGeneralMessage(string msg)
{
ForEachCurrentScene(delegate(Scene scene)
{
scene.SendGeneralAlert(msg);
});
}
public bool TrySetCurrentScene(string regionName)
{
if ((String.Compare(regionName, "root") == 0) || (String.Compare(regionName, "..") == 0))