From a95f13a646e6c0ff07c765437011a29c3372f1b9 Mon Sep 17 00:00:00 2001
From: Adam Frisby
Date: Wed, 7 May 2008 20:31:48 +0000
Subject: * Removes references to libsecondlife.Packets from IClientAPI. BAD
PROGRAMMERS. NAUGHTY. * Thanks to Andrew (DeepThink) for working on this one.
---
OpenSim/Region/Environment/Scenes/ScenePresence.cs | 34 +++++++++++-----------
1 file changed, 17 insertions(+), 17 deletions(-)
(limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 9343ad3..9732d05 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -754,7 +754,7 @@ namespace OpenSim.Region.Environment.Scenes
///
/// This is the event handler for client movement. If a client is moving, this event is triggering.
///
- public void HandleAgentUpdate(IClientAPI remoteClient, AgentUpdatePacket agentData)
+ public void HandleAgentUpdate(IClientAPI remoteClient, AgentUpdateArgs agentData)
{
//if (m_isChildAgent)
//{
@@ -767,31 +767,31 @@ namespace OpenSim.Region.Environment.Scenes
m_perfMonMS = System.Environment.TickCount;
- uint flags = agentData.AgentData.ControlFlags;
- LLQuaternion bodyRotation = agentData.AgentData.BodyRotation;
+ uint flags = agentData.ControlFlags;
+ LLQuaternion bodyRotation = agentData.BodyRotation;
// Camera location in world. We'll need to raytrace
// from this location from time to time.
- m_CameraCenter.x = agentData.AgentData.CameraCenter.X;
- m_CameraCenter.y = agentData.AgentData.CameraCenter.Y;
- m_CameraCenter.z = agentData.AgentData.CameraCenter.Z;
+ m_CameraCenter.x = agentData.CameraCenter.X;
+ m_CameraCenter.y = agentData.CameraCenter.Y;
+ m_CameraCenter.z = agentData.CameraCenter.Z;
// Use these three vectors to figure out what the agent is looking at
// Convert it to a Matrix and/or Quaternion
- m_CameraAtAxis.x = agentData.AgentData.CameraAtAxis.X;
- m_CameraAtAxis.y = agentData.AgentData.CameraAtAxis.Y;
- m_CameraAtAxis.z = agentData.AgentData.CameraAtAxis.Z;
+ m_CameraAtAxis.x = agentData.CameraAtAxis.X;
+ m_CameraAtAxis.y = agentData.CameraAtAxis.Y;
+ m_CameraAtAxis.z = agentData.CameraAtAxis.Z;
- m_CameraLeftAxis.x = agentData.AgentData.CameraLeftAxis.X;
- m_CameraLeftAxis.y = agentData.AgentData.CameraLeftAxis.Y;
- m_CameraLeftAxis.z = agentData.AgentData.CameraLeftAxis.Z;
+ m_CameraLeftAxis.x = agentData.CameraLeftAxis.X;
+ m_CameraLeftAxis.y = agentData.CameraLeftAxis.Y;
+ m_CameraLeftAxis.z = agentData.CameraLeftAxis.Z;
- m_CameraUpAxis.x = agentData.AgentData.CameraUpAxis.X;
- m_CameraUpAxis.y = agentData.AgentData.CameraUpAxis.Y;
- m_CameraUpAxis.z = agentData.AgentData.CameraUpAxis.Z;
+ m_CameraUpAxis.x = agentData.CameraUpAxis.X;
+ m_CameraUpAxis.y = agentData.CameraUpAxis.Y;
+ m_CameraUpAxis.z = agentData.CameraUpAxis.Z;
// The Agent's Draw distance setting
- m_DrawDistance = agentData.AgentData.Far;
+ m_DrawDistance = agentData.Far;
if ((flags & (uint) AgentManager.ControlFlags.AGENT_CONTROL_STAND_UP) != 0)
{
@@ -1569,7 +1569,7 @@ namespace OpenSim.Region.Environment.Scenes
m_appearance.SendAppearanceToOtherAgent(avatar);
}
- public void SetAppearance(byte[] texture, AgentSetAppearancePacket.VisualParamBlock[] visualParam)
+ public void SetAppearance(byte[] texture, List visualParam)
{
m_appearance.SetAppearance(texture, visualParam);
SetHeight(m_appearance.AvatarHeight);
--
cgit v1.1