diff options
Diffstat (limited to 'OpenSim/Services/Interfaces/ISimulationService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/ISimulationService.cs | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs index a169ab7..67d7cbe 100644 --- a/OpenSim/Services/Interfaces/ISimulationService.cs +++ b/OpenSim/Services/Interfaces/ISimulationService.cs | |||
@@ -29,13 +29,18 @@ using System; | |||
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using OpenMetaverse; | 30 | using OpenMetaverse; |
31 | 31 | ||
32 | using GridRegion = OpenSim.Services.Interfaces.GridRegion; | ||
33 | |||
32 | namespace OpenSim.Services.Interfaces | 34 | namespace OpenSim.Services.Interfaces |
33 | { | 35 | { |
34 | public interface ISimulationService | 36 | public interface ISimulationService |
35 | { | 37 | { |
38 | IScene GetScene(ulong regionHandle); | ||
39 | ISimulationService GetInnerService(); | ||
40 | |||
36 | #region Agents | 41 | #region Agents |
37 | 42 | ||
38 | bool CreateAgent(ulong regionHandle, AgentCircuitData aCircuit, out string reason); | 43 | bool CreateAgent(GridRegion destination, AgentCircuitData aCircuit, uint flags, out string reason); |
39 | 44 | ||
40 | /// <summary> | 45 | /// <summary> |
41 | /// Full child agent update. | 46 | /// Full child agent update. |
@@ -43,7 +48,7 @@ namespace OpenSim.Services.Interfaces | |||
43 | /// <param name="regionHandle"></param> | 48 | /// <param name="regionHandle"></param> |
44 | /// <param name="data"></param> | 49 | /// <param name="data"></param> |
45 | /// <returns></returns> | 50 | /// <returns></returns> |
46 | bool UpdateAgent(ulong regionHandle, AgentData data); | 51 | bool UpdateAgent(GridRegion destination, AgentData data); |
47 | 52 | ||
48 | /// <summary> | 53 | /// <summary> |
49 | /// Short child agent update, mostly for position. | 54 | /// Short child agent update, mostly for position. |
@@ -51,9 +56,9 @@ namespace OpenSim.Services.Interfaces | |||
51 | /// <param name="regionHandle"></param> | 56 | /// <param name="regionHandle"></param> |
52 | /// <param name="data"></param> | 57 | /// <param name="data"></param> |
53 | /// <returns></returns> | 58 | /// <returns></returns> |
54 | bool UpdateAgent(ulong regionHandle, AgentPosition data); | 59 | bool UpdateAgent(GridRegion destination, AgentPosition data); |
55 | 60 | ||
56 | bool RetrieveAgent(ulong regionHandle, UUID id, out IAgentData agent); | 61 | bool RetrieveAgent(GridRegion destination, UUID id, out IAgentData agent); |
57 | 62 | ||
58 | /// <summary> | 63 | /// <summary> |
59 | /// Message from receiving region to departing region, telling it got contacted by the client. | 64 | /// Message from receiving region to departing region, telling it got contacted by the client. |
@@ -63,7 +68,7 @@ namespace OpenSim.Services.Interfaces | |||
63 | /// <param name="id"></param> | 68 | /// <param name="id"></param> |
64 | /// <param name="uri"></param> | 69 | /// <param name="uri"></param> |
65 | /// <returns></returns> | 70 | /// <returns></returns> |
66 | bool ReleaseAgent(ulong regionHandle, UUID id, string uri); | 71 | bool ReleaseAgent(UUID originRegion, UUID id, string uri); |
67 | 72 | ||
68 | /// <summary> | 73 | /// <summary> |
69 | /// Close agent. | 74 | /// Close agent. |
@@ -71,7 +76,7 @@ namespace OpenSim.Services.Interfaces | |||
71 | /// <param name="regionHandle"></param> | 76 | /// <param name="regionHandle"></param> |
72 | /// <param name="id"></param> | 77 | /// <param name="id"></param> |
73 | /// <returns></returns> | 78 | /// <returns></returns> |
74 | bool CloseAgent(ulong regionHandle, UUID id); | 79 | bool CloseAgent(GridRegion destination, UUID id); |
75 | 80 | ||
76 | #endregion Agents | 81 | #endregion Agents |
77 | 82 | ||
@@ -84,7 +89,7 @@ namespace OpenSim.Services.Interfaces | |||
84 | /// <param name="sog"></param> | 89 | /// <param name="sog"></param> |
85 | /// <param name="isLocalCall"></param> | 90 | /// <param name="isLocalCall"></param> |
86 | /// <returns></returns> | 91 | /// <returns></returns> |
87 | bool CreateObject(ulong regionHandle, ISceneObject sog, bool isLocalCall); | 92 | bool CreateObject(GridRegion destination, ISceneObject sog, bool isLocalCall); |
88 | 93 | ||
89 | /// <summary> | 94 | /// <summary> |
90 | /// Create an object from the user's inventory in the destination region. | 95 | /// Create an object from the user's inventory in the destination region. |
@@ -94,15 +99,9 @@ namespace OpenSim.Services.Interfaces | |||
94 | /// <param name="userID"></param> | 99 | /// <param name="userID"></param> |
95 | /// <param name="itemID"></param> | 100 | /// <param name="itemID"></param> |
96 | /// <returns></returns> | 101 | /// <returns></returns> |
97 | bool CreateObject(ulong regionHandle, UUID userID, UUID itemID); | 102 | bool CreateObject(GridRegion destination, UUID userID, UUID itemID); |
98 | 103 | ||
99 | #endregion Objects | 104 | #endregion Objects |
100 | 105 | ||
101 | #region Regions | ||
102 | |||
103 | bool HelloNeighbour(ulong regionHandle, RegionInfo thisRegion); | ||
104 | |||
105 | #endregion Regions | ||
106 | |||
107 | } | 106 | } |
108 | } | 107 | } |