From d263a044b1ebb13477b2b391637ccc2da4368838 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 25 Nov 2007 04:52:14 +0000 Subject: * Added the ability to restart your individual sims from within them using the estate tools. * The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again. --- OpenSim/Framework/IScene.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'OpenSim/Framework/IScene.cs') diff --git a/OpenSim/Framework/IScene.cs b/OpenSim/Framework/IScene.cs index 2311aff..0e4d260 100644 --- a/OpenSim/Framework/IScene.cs +++ b/OpenSim/Framework/IScene.cs @@ -29,14 +29,33 @@ using libsecondlife; namespace OpenSim.Framework { + public delegate void restart( RegionInfo thisRegion ); + public delegate void regionup ( RegionInfo thisRegion ); + + public enum RegionStatus : int + { + Down = 0, + Up = 1, + Crashed = 2, + Starting = 3 + }; + public interface IScene { + event restart OnRestart; + event regionup OnRegionUp; + void AddNewClient(IClientAPI client, bool child); void RemoveClient(LLUUID agentID); + void Restart(int seconds); + void OtherRegionUp(RegionInfo thisRegion); + RegionInfo RegionInfo { get; } uint NextLocalId { get; } + RegionStatus Region_Status { get; set; } + ClientManager ClientManager { get; } } } \ No newline at end of file -- cgit v1.1