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"></param>
/// <param name="command"></param>
/// <param name="shorthelp"></param>
/// <param name="longhelp"></param>
/// <param name="descriptivehelp"></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(IRegionModuleBase module, string command, string shorthelp, string longhelp, string descriptivehelp, CommandDelegate callback)
        {
            string moduleName = "";
            if (module != null)
                moduleName = module.Name;
            AddCommand(moduleName, module, command, shorthelp, longhelp, descriptivehelp, callback);
        }
public void AddCommand ( IRegionModuleBase module , string command , string shorthelp , string longhelp , string descriptivehelp , CommandDelegate callback ) { string moduleName = " " ; if ( module != null ) moduleName = module . Name ; AddCommand ( moduleName , module , command , shorthelp , longhelp , descriptivehelp , 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 .
module
IRegionModuleBase
command
string
None
shorthelp
string
None
longhelp
string
None
descriptivehelp
string
None
callback
CommandDelegate
None
mod
None