aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs
diff options
context:
space:
mode:
authorMW2007-05-24 12:35:32 +0000
committerMW2007-05-24 12:35:32 +0000
commitf95b6081cba084d1b067acea99c0effa2b3bf42c (patch)
tree7a7ab4aa037f75afa54f403c701a735acb101575 /OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs
parentDie ServiceManager! (Not really Gareth, just the old directory, new directory... (diff)
downloadopensim-SC_OLD-f95b6081cba084d1b067acea99c0effa2b3bf42c.zip
opensim-SC_OLD-f95b6081cba084d1b067acea99c0effa2b3bf42c.tar.gz
opensim-SC_OLD-f95b6081cba084d1b067acea99c0effa2b3bf42c.tar.bz2
opensim-SC_OLD-f95b6081cba084d1b067acea99c0effa2b3bf42c.tar.xz
Renamed the new Directories. (removed the "-Source" from the end of them)
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs b/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs
new file mode 100644
index 0000000..6c1c7d2
--- /dev/null
+++ b/OpenSim/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}