diff options
author | lbsa71 | 2007-07-08 19:28:53 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-08 19:28:53 +0000 |
commit | 252ff78eb3fafe2c8214446973f3c7f2e80297a2 (patch) | |
tree | a42bad2ef08769547004bdc0ce76b72c7e0221fc /OpenSim/Region/ClientStack | |
parent | * By popular demand, all generated build files are now deleted. Somebody shou... (diff) | |
download | opensim-SC-252ff78eb3fafe2c8214446973f3c7f2e80297a2.zip opensim-SC-252ff78eb3fafe2c8214446973f3c7f2e80297a2.tar.gz opensim-SC-252ff78eb3fafe2c8214446973f3c7f2e80297a2.tar.bz2 opensim-SC-252ff78eb3fafe2c8214446973f3c7f2e80297a2.tar.xz |
Applied animations patch (#175) submitted by dalien
Diffstat (limited to 'OpenSim/Region/ClientStack')
-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 |