aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IScene.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-25 04:52:14 +0000
committerTeravus Ovares2007-11-25 04:52:14 +0000
commitd263a044b1ebb13477b2b391637ccc2da4368838 (patch)
tree6288ef8e8f2a1c073705b23db8aba8603a28c34d /OpenSim/Framework/IScene.cs
parentIgnore nullreferenceexception in removeclient. The avatar is already gone. (diff)
downloadopensim-SC_OLD-d263a044b1ebb13477b2b391637ccc2da4368838.zip
opensim-SC_OLD-d263a044b1ebb13477b2b391637ccc2da4368838.tar.gz
opensim-SC_OLD-d263a044b1ebb13477b2b391637ccc2da4368838.tar.bz2
opensim-SC_OLD-d263a044b1ebb13477b2b391637ccc2da4368838.tar.xz
* 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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/IScene.cs19
1 files changed, 19 insertions, 0 deletions
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;
29 29
30namespace OpenSim.Framework 30namespace OpenSim.Framework
31{ 31{
32 public delegate void restart( RegionInfo thisRegion );
33 public delegate void regionup ( RegionInfo thisRegion );
34
35 public enum RegionStatus : int
36 {
37 Down = 0,
38 Up = 1,
39 Crashed = 2,
40 Starting = 3
41 };
42
32 public interface IScene 43 public interface IScene
33 { 44 {
45 event restart OnRestart;
46 event regionup OnRegionUp;
47
34 void AddNewClient(IClientAPI client, bool child); 48 void AddNewClient(IClientAPI client, bool child);
35 void RemoveClient(LLUUID agentID); 49 void RemoveClient(LLUUID agentID);
36 50
51 void Restart(int seconds);
52 void OtherRegionUp(RegionInfo thisRegion);
53
37 RegionInfo RegionInfo { get; } 54 RegionInfo RegionInfo { get; }
38 uint NextLocalId { get; } 55 uint NextLocalId { get; }
39 56
57 RegionStatus Region_Status { get; set; }
58
40 ClientManager ClientManager { get; } 59 ClientManager ClientManager { get; }
41 } 60 }
42} \ No newline at end of file 61} \ No newline at end of file