diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/ISimulationService.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs index 3573bea..257b578 100644 --- a/OpenSim/Services/Interfaces/ISimulationService.cs +++ b/OpenSim/Services/Interfaces/ISimulationService.cs | |||
@@ -34,6 +34,18 @@ using GridRegion = OpenSim.Services.Interfaces.GridRegion; | |||
34 | 34 | ||
35 | namespace OpenSim.Services.Interfaces | 35 | namespace OpenSim.Services.Interfaces |
36 | { | 36 | { |
37 | public class EntityTransferContext | ||
38 | { | ||
39 | public EntityTransferContext() | ||
40 | { | ||
41 | InboundVersion = VersionInfo.SimulationServiceVersionAcceptedMax; | ||
42 | OutboundVersion = VersionInfo.SimulationServiceVersionSupportedMax; | ||
43 | } | ||
44 | |||
45 | public float InboundVersion { get; set; } | ||
46 | public float OutboundVersion { get; set; } | ||
47 | } | ||
48 | |||
37 | public interface ISimulationService | 49 | public interface ISimulationService |
38 | { | 50 | { |
39 | /// <summary> | 51 | /// <summary> |
@@ -93,7 +105,7 @@ namespace OpenSim.Services.Interfaces | |||
93 | /// <param name="version">Version that the target simulator is running</param> | 105 | /// <param name="version">Version that the target simulator is running</param> |
94 | /// <param name="reason">[out] Optional error message</param> | 106 | /// <param name="reason">[out] Optional error message</param> |
95 | /// <returns>True: ok; False: not allowed</returns> | 107 | /// <returns>True: ok; False: not allowed</returns> |
96 | bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, string sversion, List<UUID> features, out string version, out string reason); | 108 | bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, List<UUID> features, EntityTransferContext ctx, out string reason); |
97 | 109 | ||
98 | /// <summary> | 110 | /// <summary> |
99 | /// Message from receiving region to departing region, telling it got contacted by the client. | 111 | /// Message from receiving region to departing region, telling it got contacted by the client. |