Now We need to test to see if we can login
parent
4d0261ed22
commit
b2f16fd4e1
|
@ -67,6 +67,16 @@ namespace OpenSim.Framework.Interfaces
|
|||
get;
|
||||
}
|
||||
|
||||
string FirstName
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
string LastName
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
void OutPacket(Packet newPack);
|
||||
void SendWearables(AvatarWearable[] wearables);
|
||||
void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID);
|
||||
|
|
|
@ -56,6 +56,23 @@ namespace OpenSim
|
|||
}
|
||||
}
|
||||
|
||||
public string FirstName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.firstName;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public string LastName
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.lastName;
|
||||
}
|
||||
}
|
||||
|
||||
#region World/Avatar to Client
|
||||
|
||||
public void MoveAgentIntoRegion(RegionInfo regInfo)
|
||||
|
|
|
@ -60,8 +60,8 @@ namespace OpenSim
|
|||
public LLUUID AgentID;
|
||||
public LLUUID SessionID;
|
||||
public LLUUID SecureSessionID = LLUUID.Zero;
|
||||
public string FirstName;
|
||||
public string LastName;
|
||||
public string firstName;
|
||||
public string lastName;
|
||||
public bool m_child = false;
|
||||
private UseCircuitCodePacket cirpack;
|
||||
public Thread ClientThread;
|
||||
|
@ -250,8 +250,8 @@ namespace OpenSim
|
|||
this.AgentID = cirpack.CircuitCode.ID;
|
||||
this.SessionID = cirpack.CircuitCode.SessionID;
|
||||
this.CircuitCode = cirpack.CircuitCode.Code;
|
||||
this.FirstName = sessionInfo.LoginInfo.First;
|
||||
this.LastName = sessionInfo.LoginInfo.Last;
|
||||
this.firstName = sessionInfo.LoginInfo.First;
|
||||
this.lastName = sessionInfo.LoginInfo.Last;
|
||||
|
||||
if (sessionInfo.LoginInfo.SecureSession != LLUUID.Zero)
|
||||
{
|
||||
|
|
|
@ -28,7 +28,7 @@ namespace OpenSim.world
|
|||
|
||||
public void SendInitialPosition()
|
||||
{
|
||||
|
||||
this.ControllingClient.SendAvatarData(this.regionData, this.firstname, this.lastname, this.uuid, this.localid, new LLVector3(128, 128, 100));
|
||||
}
|
||||
|
||||
public void SendOurAppearance()
|
||||
|
@ -38,7 +38,7 @@ namespace OpenSim.world
|
|||
|
||||
public void SendOurAppearance(IClientAPI OurClient)
|
||||
{
|
||||
|
||||
this.ControllingClient.SendWearables(this.Wearables);
|
||||
}
|
||||
|
||||
public void SendAppearanceToOtherAgent(Avatar avatarInfo)
|
||||
|
|
|
@ -50,6 +50,8 @@ namespace OpenSim.world
|
|||
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Avatar.cs - Loading details from grid (DUMMY)");
|
||||
ControllingClient = TheClient;
|
||||
this.firstname = ControllingClient.FirstName;
|
||||
this.lastname = ControllingClient.LastName;
|
||||
localid = 8880000 + (this.m_world._localNumber++);
|
||||
Pos = ControllingClient.StartPos;
|
||||
visualParams = new byte[218];
|
||||
|
@ -67,10 +69,10 @@ namespace OpenSim.world
|
|||
|
||||
this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005"));
|
||||
|
||||
/*
|
||||
|
||||
//register for events
|
||||
ControllingClient.OnRequestWearables += new GenericCall(this.SendOurAppearance);
|
||||
ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance);*/
|
||||
//ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance);
|
||||
ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.CompleteMovement);
|
||||
ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.SendInitialPosition);
|
||||
/* ControllingClient.OnAgentUpdate += new GenericCall3(this.HandleAgentUpdate);
|
||||
|
|
Loading…
Reference in New Issue