diff options
author | lbsa71 | 2007-07-09 19:56:22 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-09 19:56:22 +0000 |
commit | d91f33b87b4578eb5e5a9ef22f383ed598cc28e2 (patch) | |
tree | fdadd7c575131ff282ce301b419ae58bd62502fc /OpenSim/Region/ClientStack/ClientView.API.cs | |
parent | Done a little bit of renaming in primitive.cs and on a few events in IClientAPI. (diff) | |
download | opensim-SC-d91f33b87b4578eb5e5a9ef22f383ed598cc28e2.zip opensim-SC-d91f33b87b4578eb5e5a9ef22f383ed598cc28e2.tar.gz opensim-SC-d91f33b87b4578eb5e5a9ef22f383ed598cc28e2.tar.bz2 opensim-SC-d91f33b87b4578eb5e5a9ef22f383ed598cc28e2.tar.xz |
Re-applied dalien patch (#175) and included bin\data with avataranimations.xml
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 5866b45..48d5b9d 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -528,6 +528,21 @@ namespace OpenSim.Region.ClientStack | |||
528 | OutPacket(avp); | 528 | OutPacket(avp); |
529 | } | 529 | } |
530 | 530 | ||
531 | public void SendAnimation(LLUUID animID, int seq, LLUUID sourceAgentId) | ||
532 | { | ||
533 | AvatarAnimationPacket ani = new AvatarAnimationPacket(); | ||
534 | ani.AnimationSourceList = new AvatarAnimationPacket.AnimationSourceListBlock[1]; | ||
535 | ani.AnimationSourceList[0] = new AvatarAnimationPacket.AnimationSourceListBlock(); | ||
536 | ani.AnimationSourceList[0].ObjectID = sourceAgentId; | ||
537 | ani.Sender = new AvatarAnimationPacket.SenderBlock(); | ||
538 | ani.Sender.ID = sourceAgentId; | ||
539 | ani.AnimationList = new AvatarAnimationPacket.AnimationListBlock[1]; | ||
540 | ani.AnimationList[0] = new AvatarAnimationPacket.AnimationListBlock(); | ||
541 | ani.AnimationList[0].AnimID = animID; | ||
542 | ani.AnimationList[0].AnimSequenceID = seq; | ||
543 | this.OutPacket(ani); | ||
544 | } | ||
545 | |||
531 | #endregion | 546 | #endregion |
532 | 547 | ||
533 | #region Avatar Packet/data sending Methods | 548 | #region Avatar Packet/data sending Methods |