diff options
author | Diva Canto | 2014-06-06 11:04:53 -0700 |
---|---|---|
committer | Justin Clark-Casey | 2014-06-10 20:28:47 +0100 |
commit | ffe07527fcd95c1bd8a8d29432fe33e350354538 (patch) | |
tree | 614ff2e79275c3aef16bd55be8345e68eb4e6ebd /OpenSim/Services/Interfaces/ISimulationService.cs | |
parent | Better comment regarding SizeX and SizeY (diff) | |
download | opensim-SC_OLD-ffe07527fcd95c1bd8a8d29432fe33e350354538.zip opensim-SC_OLD-ffe07527fcd95c1bd8a8d29432fe33e350354538.tar.gz opensim-SC_OLD-ffe07527fcd95c1bd8a8d29432fe33e350354538.tar.bz2 opensim-SC_OLD-ffe07527fcd95c1bd8a8d29432fe33e350354538.tar.xz |
Added simulation version compatibility check so that agents coming from 0.7.6 to a varregion running in 0.8 and above will be denied teleport, rather than be allowed and crash the viewer.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/ISimulationService.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs index 8b87ac0..12ab478 100644 --- a/OpenSim/Services/Interfaces/ISimulationService.cs +++ b/OpenSim/Services/Interfaces/ISimulationService.cs | |||
@@ -85,10 +85,11 @@ namespace OpenSim.Services.Interfaces | |||
85 | /// <param name="agentHomeURI">The visitor's Home URI. Will be missing (null) in older OpenSims.</param> | 85 | /// <param name="agentHomeURI">The visitor's Home URI. Will be missing (null) in older OpenSims.</param> |
86 | /// <param name="viaTeleport">True: via teleport; False: via cross (walking)</param> | 86 | /// <param name="viaTeleport">True: via teleport; False: via cross (walking)</param> |
87 | /// <param name="position">Position in the region</param> | 87 | /// <param name="position">Position in the region</param> |
88 | /// <param name="version"></param> | 88 | /// <param name="sversion">version that the requesting simulator is runing</param> |
89 | /// <param name="version">version that the target simulator is running</param> | ||
89 | /// <param name="reason">[out] Optional error message</param> | 90 | /// <param name="reason">[out] Optional error message</param> |
90 | /// <returns>True: ok; False: not allowed</returns> | 91 | /// <returns>True: ok; False: not allowed</returns> |
91 | bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, out string version, out string reason); | 92 | bool QueryAccess(GridRegion destination, UUID agentID, string agentHomeURI, bool viaTeleport, Vector3 position, string sversion, out string version, out string reason); |
92 | 93 | ||
93 | /// <summary> | 94 | /// <summary> |
94 | /// Message from receiving region to departing region, telling it got contacted by the client. | 95 | /// Message from receiving region to departing region, telling it got contacted by the client. |