aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-05-07 20:31:48 +0000
committerAdam Frisby2008-05-07 20:31:48 +0000
commita95f13a646e6c0ff07c765437011a29c3372f1b9 (patch)
tree7129f9dae3624287f7f8320d0cf16e90e46f0298 /OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs
parentenable velocity on our full update, as I think I know why (diff)
downloadopensim-SC_OLD-a95f13a646e6c0ff07c765437011a29c3372f1b9.zip
opensim-SC_OLD-a95f13a646e6c0ff07c765437011a29c3372f1b9.tar.gz
opensim-SC_OLD-a95f13a646e6c0ff07c765437011a29c3372f1b9.tar.bz2
opensim-SC_OLD-a95f13a646e6c0ff07c765437011a29c3372f1b9.tar.xz
* Removes references to libsecondlife.Packets from IClientAPI. BAD PROGRAMMERS. NAUGHTY.
* Thanks to Andrew (DeepThink) for working on this one.
Diffstat (limited to 'OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs')
-rw-r--r--OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs9
1 files changed, 5 insertions, 4 deletions
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
271 { 271 {
272 } 272 }
273 273
274 public virtual void SendAvatarPickerReply(AvatarPickerReplyPacket response) 274 public virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List<AvatarPickerReplyDataArgs> Data)
275 { 275 {
276 } 276 }
277 277
@@ -528,9 +528,10 @@ namespace OpenSim.Region.Examples.SimpleModule
528 frame = 0; 528 frame = 0;
529 if (OnAgentUpdate != null) 529 if (OnAgentUpdate != null)
530 { 530 {
531 AgentUpdatePacket pack = new AgentUpdatePacket(); 531 AgentUpdateArgs pack = new AgentUpdateArgs();
532 pack.AgentData.ControlFlags = movementFlag; 532 pack.ControlFlags = movementFlag;
533 pack.AgentData.BodyRotation = bodyDirection; 533 pack.BodyRotation = bodyDirection;
534
534 OnAgentUpdate(this, pack); 535 OnAgentUpdate(this, pack);
535 } 536 }
536 if (flyState == 0) 537 if (flyState == 0)