diff options
author | MW | 2007-05-16 18:11:09 +0000 |
---|---|---|
committer | MW | 2007-05-16 18:11:09 +0000 |
commit | 5f9b7321bc1bb449715bc3329d1bb5e092fee22b (patch) | |
tree | 4d2c060e641f8b95bb2475f5af86036258fe4bdf /OpenSim.RegionServer/AuthenticateSessionsBase.cs | |
parent | Added logging and more crap (diff) | |
download | opensim-SC_OLD-5f9b7321bc1bb449715bc3329d1bb5e092fee22b.zip opensim-SC_OLD-5f9b7321bc1bb449715bc3329d1bb5e092fee22b.tar.gz opensim-SC_OLD-5f9b7321bc1bb449715bc3329d1bb5e092fee22b.tar.bz2 opensim-SC_OLD-5f9b7321bc1bb449715bc3329d1bb5e092fee22b.tar.xz |
a bit more refactoring
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/AuthenticateSessionsBase.cs | 10 |
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 | } |