From 732cd838b1ce2bc5d2c312f510818fd63db76be4 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 5 Feb 2009 21:35:59 +0000 Subject: * Make existing module commanders register as help topics * Typing help will now give a list of these topics at the top (as well as the rest of the current help stuff) * Typing help will give information about commands specific to that topic --- OpenSim/Region/Application/OpenSimBase.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Application/OpenSimBase.cs') diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index aca1829..89f16d6 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -59,7 +59,7 @@ namespace OpenSim private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); protected string proxyUrl; - protected int proxyOffset = 0; + protected int proxyOffset = 0; /// /// The file used to load and save prim backup xml if no filename has been specified @@ -158,7 +158,15 @@ namespace OpenSim loader.Load("/OpenSim/Startup"); m_plugins = loader.Plugins; } - + + protected override List GetHelpTopics() + { + List topics = base.GetHelpTopics(); + topics.AddRange(SceneManager.CurrentOrFirstScene.GetCommanders().Keys); + + return topics; + } + /// /// Performs startup specific to this region server, including initialization of the scene /// such as loading configuration from disk. -- cgit v1.1