aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs
diff options
context:
space:
mode:
authorMW2007-06-10 15:43:04 +0000
committerMW2007-06-10 15:43:04 +0000
commit488e71620866c0749a0347d878f0707de2b8eb15 (patch)
treed720273e85e489701d4925fe6e845b964b2e0343 /OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs
parentAnother bug fix (diff)
downloadopensim-SC_OLD-488e71620866c0749a0347d878f0707de2b8eb15.zip
opensim-SC_OLD-488e71620866c0749a0347d878f0707de2b8eb15.tar.gz
opensim-SC_OLD-488e71620866c0749a0347d878f0707de2b8eb15.tar.bz2
opensim-SC_OLD-488e71620866c0749a0347d878f0707de2b8eb15.tar.xz
Prim creation working.
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs38
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 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using libsecondlife;
5using OpenSim.Framework.Types;
6using OpenSim.Framework;
7
8namespace 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}