From f206ffd5a8cd0ef362e972abf7375eb739f82e5b Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Wed, 20 Aug 2008 01:48:51 +0000 Subject: Mantis #2003 - thank you, SachaMagne, for a patch that implements the first part of gesture persistence. ---------------------------------------------------------- Attachments no longer vanish on walking crossing. Teleport is still problematic, but will now be blocked with message "Inconsistent attachment state" rather than losing the attachment. Detach to be able to TP in that case. --- OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Region/Examples/SimpleModule') diff --git a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs index 61ea966..e2e7081 100644 --- a/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs +++ b/OpenSim/Region/Examples/SimpleModule/MyNpcCharacter.cs @@ -207,6 +207,10 @@ namespace OpenSim.Region.Examples.SimpleModule public event RegionHandleRequest OnRegionHandleRequest; public event ParcelInfoRequest OnParcelInfoRequest; + public event ActivateGesture OnActivateGesture; + public event DeactivateGesture OnDeactivateGesture; + + #pragma warning restore 67 private LLUUID myID = LLUUID.Random(); @@ -295,6 +299,11 @@ namespace OpenSim.Region.Examples.SimpleModule get { return m_scene; } } + public virtual void ActivateGesture(LLUUID assetId, LLUUID gestureId) + { + } + + public virtual void OutPacket(Packet newPack, ThrottleOutPacketType packType) { } -- cgit v1.1