aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/AuthenticateSessionsBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.RegionServer/AuthenticateSessionsBase.cs')
-rw-r--r--OpenSim.RegionServer/AuthenticateSessionsBase.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/AuthenticateSessionsBase.cs b/OpenSim.RegionServer/AuthenticateSessionsBase.cs
index 019fcc2..b01ab7cd 100644
--- a/OpenSim.RegionServer/AuthenticateSessionsBase.cs
+++ b/OpenSim.RegionServer/AuthenticateSessionsBase.cs
@@ -63,5 +63,15 @@ namespace OpenSim
63 this.AgentCircuits.Add(circuitCode, agentData); 63 this.AgentCircuits.Add(circuitCode, agentData);
64 } 64 }
65 } 65 }
66
67 public LLVector3 GetPosition(uint circuitCode)
68 {
69 LLVector3 vec = new LLVector3();
70 if (this.AgentCircuits.ContainsKey(circuitCode))
71 {
72 vec = this.AgentCircuits[circuitCode].startpos;
73 }
74 return vec;
75 }
66 } 76 }
67} 77}