From 4ab5803911180231f370b675b63f717818b79858 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Sat, 7 Apr 2007 17:37:04 +0000 Subject: Documentation! --- OpenSim.RegionServer/OpenSimMain.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'OpenSim.RegionServer/OpenSimMain.cs') diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs index fa5dfc2..f4eea11 100644 --- a/OpenSim.RegionServer/OpenSimMain.cs +++ b/OpenSim.RegionServer/OpenSimMain.cs @@ -96,6 +96,9 @@ namespace OpenSim OpenSim.Framework.Console.MainConsole.Instance = m_console; } + /// + /// Performs initialisation of the world, such as loading configuration from disk. + /// public virtual void StartUp() { this.regionData = new RegionInfo(); @@ -358,6 +361,9 @@ namespace OpenSim } } + /// + /// Performs any last-minute sanity checking and shuts down the region server + /// public virtual void Shutdown() { m_console.WriteLine("Main.cs:Shutdown() - Closing all threads"); @@ -371,11 +377,21 @@ namespace OpenSim Environment.Exit(0); } + /// + /// Performs per-frame updates regularly + /// + /// + /// void Heartbeat(object sender, System.EventArgs e) { LocalWorld.Update(); } + /// + /// Runs commands issued by the server console from the operator + /// + /// The first argument of the parameter (the command) + /// Additional arguments passed to the command public void RunCmd(string command, string[] cmdparams) { switch (command) @@ -400,6 +416,10 @@ namespace OpenSim } } + /// + /// Outputs to the console information about the region + /// + /// What information to display (valid arguments are "uptime", "users") public void Show(string ShowWhat) { switch (ShowWhat) -- cgit v1.1