diff options
Applied animations patch (#175) submitted by dalien
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 cefe856..dfae9e0 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -527,6 +527,21 @@ namespace OpenSim.Region.ClientStack | |||
527 | OutPacket(avp); | 527 | OutPacket(avp); |
528 | } | 528 | } |
529 | 529 | ||
530 | public void SendAnimation(LLUUID animID, int seq, LLUUID sourceAgentId) | ||
531 | { | ||
532 | AvatarAnimationPacket ani = new AvatarAnimationPacket(); | ||
533 | ani.AnimationSourceList = new AvatarAnimationPacket.AnimationSourceListBlock[1]; | ||
534 | ani.AnimationSourceList[0] = new AvatarAnimationPacket.AnimationSourceListBlock(); | ||
535 | ani.AnimationSourceList[0].ObjectID = sourceAgentId; | ||
536 | ani.Sender = new AvatarAnimationPacket.SenderBlock(); | ||
537 | ani.Sender.ID = sourceAgentId; | ||
538 | ani.AnimationList = new AvatarAnimationPacket.AnimationListBlock[1]; | ||
539 | ani.AnimationList[0] = new AvatarAnimationPacket.AnimationListBlock(); | ||
540 | ani.AnimationList[0].AnimID = animID; | ||
541 | ani.AnimationList[0].AnimSequenceID = seq; | ||
542 | this.OutPacket(ani); | ||
543 | } | ||
544 | |||
530 | #endregion | 545 | #endregion |
531 | 546 | ||
532 | #region Avatar Packet/data sending Methods | 547 | #region Avatar Packet/data sending Methods |