[Opensim-dev] Hooking in Scene.EventManager

2009-01-21 Thread Garrett Hussey
Hi, I'm playing around with my own region module and was wondering ifs its reasonable/sane, good/bad practise to add extra event handlers to the Scene.EventManager and handle the events in my region module ? Thanks Garrett ___ Opensim-dev mailing l

Re: [Opensim-dev] Hooking in Scene.EventManager

2009-01-21 Thread Diva Canto
Which ones do you need that aren't there? Garrett Hussey wrote: Hi, I'm playing around with my own region module and was wondering ifs its reasonable/sane, good/bad practise to add extra event handlers to the Scene.EventManager and handle the events in my region module ? Thanks Garr

Re: [Opensim-dev] Hooking in Scene.EventManager

2009-01-21 Thread Garrett Hussey
Hi, sorry - I should have elaborated a bit more. At the moment the EventManager exposes a number of events. I want to do the following in my region module ... // TEST TEST SET m_scene.EventManager.OnObjectGrab += new EventManager.ObjectGrabDelegate (MYObjectGrabDelegate); So my module with get

Re: [Opensim-dev] Hooking in Scene.EventManager

2009-01-21 Thread Diva Canto
Yep, that's it. Those events are there for being used. When writing region modules just keep in mind that your region module code runs natively with the core code; if you mess up, the core behavior may get messed up too. So, for example, if your module adds significant delays in processing an

Re: [Opensim-dev] Hooking in Scene.EventManager

2009-01-21 Thread Garrett Hussey
Great stuff - thanks for your help Diva Cheers Garrett 2009/1/21 Diva Canto > Yep, that's it. > Those events are there for being used. > > When writing region modules just keep in mind that your region module code > runs natively with the core code; if you mess up, the core behavior may get

Re: [Opensim-dev] Hooking in Scene.EventManager

2009-01-21 Thread Stefan Andersson
.Best regards,Stefan AnderssonTribal Media AB Date: Wed, 21 Jan 2009 21:13:12 +From: garrett.hus...@gmail.comto: opensim-...@lists.berlios.desubject: Re: [Opensim-dev] Hooking in Scene.EventManager Great stuff - thanks for your help Diva Cheers Garrett 2009/1/21 Diva Canto Yep, t