diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/IScene.cs | 19 |
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 | ||
30 | namespace OpenSim.Framework | 30 | namespace 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 |