2007-05-16 17:35:27 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text;
|
2007-05-16 18:11:09 +00:00
|
|
|
using libsecondlife;
|
2007-05-16 17:35:27 +00:00
|
|
|
using OpenSim.Framework.Types;
|
|
|
|
|
|
|
|
namespace OpenSim
|
|
|
|
{
|
|
|
|
public class AuthenticateSessionsLocal : AuthenticateSessionsBase
|
|
|
|
{
|
|
|
|
public AuthenticateSessionsLocal()
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public void AddNewSession(Login loginData)
|
|
|
|
{
|
|
|
|
AgentCircuitData agent = new AgentCircuitData();
|
|
|
|
agent.AgentID = loginData.Agent;
|
|
|
|
agent.firstname = loginData.First;
|
|
|
|
agent.lastname = loginData.Last;
|
|
|
|
agent.SessionID = loginData.Session;
|
|
|
|
agent.SecureSessionID = loginData.SecureSession;
|
|
|
|
agent.circuitcode = loginData.CircuitCode;
|
|
|
|
agent.BaseFolder = loginData.BaseFolder;
|
|
|
|
agent.InventoryFolder = loginData.InventoryFolder;
|
2007-05-16 18:11:09 +00:00
|
|
|
agent.startpos = new LLVector3(128,128,70);
|
2007-05-16 17:35:27 +00:00
|
|
|
this.AddNewCircuit(agent.circuitcode, agent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|