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