diff options
Re-applied dalien patch (#175) and included bin\data with avataranimations.xml
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.API.cs')
-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 |