diff options
Some more code refactoring, plus a restructuring of the directories so that the Grid servers can be a separate solution to the region server.
Diffstat (limited to 'OpenSim-Source/OpenSim.RegionServer/AuthenticateSessionsLocal.cs')
-rw-r--r-- | OpenSim-Source/OpenSim.RegionServer/AuthenticateSessionsLocal.cs | 31 |
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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife; | ||
5 | using OpenSim.Framework.Types; | ||
6 | |||
7 | namespace 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 | } | ||