diff options
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs deleted file mode 100644 index 4db7ccb..0000000 --- a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using OpenSim.Framework.Types; | ||
6 | using OpenSim.Framework; | ||
7 | |||
8 | namespace OpenSim | ||
9 | { | ||
10 | public class AuthenticateSessionsLocal : AuthenticateSessionsBase | ||
11 | { | ||
12 | public AuthenticateSessionsLocal() | ||
13 | { | ||
14 | |||
15 | } | ||
16 | |||
17 | public bool AddNewSessionHandler(ulong regionHandle, Login loginData) | ||
18 | { | ||
19 | AddNewSession( loginData ); | ||
20 | return true; | ||
21 | } | ||
22 | |||
23 | public void AddNewSession(Login loginData) | ||
24 | { | ||
25 | AgentCircuitData agent = new AgentCircuitData(); | ||
26 | agent.AgentID = loginData.Agent; | ||
27 | agent.firstname = loginData.First; | ||
28 | agent.lastname = loginData.Last; | ||
29 | agent.SessionID = loginData.Session; | ||
30 | agent.SecureSessionID = loginData.SecureSession; | ||
31 | agent.circuitcode = loginData.CircuitCode; | ||
32 | agent.BaseFolder = loginData.BaseFolder; | ||
33 | agent.InventoryFolder = loginData.InventoryFolder; | ||
34 | agent.startpos = new LLVector3(128,128,70); | ||
35 | this.AddNewCircuit(agent.circuitcode, agent); | ||
36 | } | ||
37 | } | ||
38 | } | ||