diff options
author | MW | 2007-06-10 15:43:04 +0000 |
---|---|---|
committer | MW | 2007-06-10 15:43:04 +0000 |
commit | 488e71620866c0749a0347d878f0707de2b8eb15 (patch) | |
tree | d720273e85e489701d4925fe6e845b964b2e0343 /OpenSim/OpenSim.RegionServer/AuthenticateSessionsLocal.cs | |
parent | Another bug fix (diff) | |
download | opensim-SC-488e71620866c0749a0347d878f0707de2b8eb15.zip opensim-SC-488e71620866c0749a0347d878f0707de2b8eb15.tar.gz opensim-SC-488e71620866c0749a0347d878f0707de2b8eb15.tar.bz2 opensim-SC-488e71620866c0749a0347d878f0707de2b8eb15.tar.xz |
Prim creation working.
Diffstat (limited to '')
-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 | } | ||