OpenSim/Region/Framework/Scenes/SceneBase.cs
/// <summary>
/// Call this from a region module to add a command to the OpenSim console.
/// </summary>
/// <param name="mod">
/// The use of IRegionModuleBase is a cheap trick to get a different method signature,
/// though all new modules should be using interfaces descended from IRegionModuleBase anyway.
/// </param>
/// <param name="category">
/// Category of the command.  This is the section under which it will appear when the user asks for help
/// </param>
/// <param name="command"></param>
/// <param name="shorthelp"></param>
/// <param name="longhelp"></param>
/// <param name="callback"></param>
Call this from a region module to add a command to the OpenSim console.
Call this from a region module to add a command to the OpenSim console .
public void AddCommand(
            string category, IRegionModuleBase module, string command, string shorthelp, string longhelp, CommandDelegate callback)
        {
            AddCommand(category, module, command, shorthelp, longhelp, string.Empty, callback);
        }
public void AddCommand ( string category , IRegionModuleBase module , string command , string shorthelp , string longhelp , CommandDelegate callback ) { AddCommand ( category , module , command , shorthelp , longhelp , string . Empty , callback ) ; }
Call this from a region module to add a command to the OpenSim console.
Call this from a region module to add a command to the OpenSim console .
category
string
Category of the command.  This is the section under which it will appear when the user asks for help
Category of the command . This is the section under which it will appear when the user asks for help
module
IRegionModuleBase
command
string
None
shorthelp
string
None
longhelp
string
None
callback
CommandDelegate
None
mod
The use of IRegionModuleBase is a cheap trick to get a different method signature,
though all new modules should be using interfaces descended from IRegionModuleBase anyway.
The use of IRegionModuleBase is a cheap trick to get a different method signature though all new modules should be using interfaces descended from IRegionModuleBase anyway .