mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
* Implement help <command> from the region console
* So at the moment once can type 'help terrain fill' as well as 'terrain fill help' * Current implementation is a transient hack that should be tidied up soon
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OpenSim.Region.Framework.Interfaces
|
||||
{
|
||||
public interface ICommander
|
||||
@@ -39,6 +41,11 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
/// </value>
|
||||
string Help { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The commands available for this commander
|
||||
/// </summary>
|
||||
Dictionary<string, ICommand> Commands { get; }
|
||||
|
||||
void ProcessConsoleCommand(string function, string[] args);
|
||||
void RegisterCommand(string commandName, ICommand command);
|
||||
void Run(string function, object[] args);
|
||||
|
||||
Reference in New Issue
Block a user