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/Examples/SimpleModule/MyNpcCharacter.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Examples') diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 51bc0d8..e5e6469 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -271,7 +271,7 @@ namespace OpenSim.Region.Examples.SimpleModule { } - public virtual void SendAvatarPickerReply(AvatarPickerReplyPacket response) + public virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List Data) { } @@ -528,9 +528,10 @@ namespace OpenSim.Region.Examples.SimpleModule frame = 0; if (OnAgentUpdate != null) { - AgentUpdatePacket pack = new AgentUpdatePacket(); - pack.AgentData.ControlFlags = movementFlag; - pack.AgentData.BodyRotation = bodyDirection; + AgentUpdateArgs pack = new AgentUpdateArgs(); + pack.ControlFlags = movementFlag; + pack.BodyRotation = bodyDirection; + OnAgentUpdate(this, pack); } if (flyState == 0) -- cgit v1.1