aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/EventManager.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-04Correct the delegate specification in EventManager.TriggerTerrainTainted. ↵Robert Adams1-1/+1
Looks like the wrong one was cut and pasted.
2012-05-10Add even for terrain tainting and synchronize terrain module with physics ↵Dan Lake1-0/+25
scene before physics simulation step rather than after
2012-05-08Trigger event when scene presences are updatedDan Lake1-0/+24
2012-04-06Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto1-0/+49
HGInventoryAccessModule where it belongs. They need to exchange some events, so added those to EventManager. Those events (TeleportStart and TeleportFail) are nice to have anyway.
2012-03-29Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)1-1/+2
caching. This adds ScenePresence to IClientAPI.SceneAgent earlier on in the add client process so that its information is available to EventManager.OnNewClient() and OnClientLogin() Also add a code comment as to why we're caching friend information for child agents.
2012-03-29Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)1-2/+1
functions require caching for child agents." We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators. This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
2012-03-28Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)1-1/+2
require caching for child agents. This allows us to avoid unnecessary multiple calls to the friends service. All friends functions originate from the root agent and only go to other root agents in existing code. This also allows us to eliminate complex ref counting.
2012-03-28minor: Add some documentation to OnNewClient and OnClientClosed eventsJustin Clark-Casey (justincc)1-2/+10
2012-03-19Add some doc about the EventManager.OnLoginsEnabled event.Justin Clark-Casey (justincc)1-0/+7
2012-03-07Add documentation to make more explicit the difference between OnRezScript ↵Justin Clark-Casey (justincc)1-5/+20
and OnNewScript in the event manager OnNewScript fires when a script is added to a scene OnRezScript fires when the script actually runs (i.e. after permission checks, state retrieval, etc.)
2012-02-17Added the TriggerAvatarAppearanceChanged to EventManager. It's triggered by ↵Dan Lake1-0/+24
AvatarFactoryModule after an avatar's appearance has been succesfully changed and persisted (if the persist option is set).
2012-02-17Add new and updated script eventsRobert Adams1-3/+55
2012-02-01Add event RegionHeartbeatEnd for modules interested in coordinating activity ↵Dan Lake1-0/+24
with region heartbeats
2012-01-19Trigger event when prims are scheduled for an update. This gives modules ↵Dan Lake1-0/+24
early access to changed parameters.
2012-01-04Added EventManager.OnRegionStarted which is triggered when Heartbeat is started.Dan Lake1-0/+24
2011-12-16Don't pass on ChaneWaterHeight event from EventManager is new water height ↵Justin Clark-Casey (justincc)1-0/+6
is less than 0 This is to stop bad values and subsequent viewer crashes. Thanks to Michelle Argus for this patch.
2011-11-17If the entire simulator is shutting down then don't bother to unload the ↵Justin Clark-Casey (justincc)1-10/+16
scripts from the appdomain in XEngine. All the other actions (script state save, etc.) still occur. This makes shutdown where there are many scripts vastly quicker.
2011-11-15Add comments about trying to avoid synchronous work off the ↵Justin Clark-Casey (justincc)1-4/+9
EventManager.OnMakeRootAgent event since this is on the critical path for transfer of avatars from one region to another.
2011-11-15For clients that are entering a simulator from initial login, stop executing ↵Justin Clark-Casey (justincc)1-4/+6
FriendsModule.FetchFriendslist() asychronously. Executing this asynchronously allows a race condition where subsequent friends fetches hit a cache that FetchFriendsList() had not yet populated. Changing this to synchronous may improve issues where a user does not see friends as online even though they are. I don't believe synchronous is a problem here, but if it is, then a more complicated signalling mechanism is required. Locking the cache isn't sufficient.
2011-08-03Do a partial fix/implementation of OSSL osNpcMoveTo()Justin Clark-Casey (justincc)1-6/+5
Avatar moves and stops. However, will stop in mid stride. And if the move to position is in the air, avatar will continue to make vain and quite hilarious attempts to take off (but never doing so). Clearly more work is needed.
2011-06-08Added EventManager.OnPrimsLoaded, an event that modules can hook up onto so ↵Diva Canto1-0/+24
that they know when the scene's objects have been loaded from the DB.
2011-05-28Adding an event to signal that logins are enabledBlueWall1-0/+24
Added an event to signal the eabling of logins and added an alert to send to a configured service.
2011-05-24Add an event for an orderly region shutdown that fires once per region beforeMelanie1-0/+25
the SceneGraph is torn down.
2011-03-23Add generic EventManager.OnObjectAddedToScene and get PrimCountModule to ↵Justin Clark-Casey (justincc)1-0/+30
listen for that rather than EventManager.OnParcelPrimCountAdd OnParcelPrimCountAdd had the wrong semantics for the PrimCountModule - it was invoked for every entity in the scene, not just new ones, which would screw up the untainted count. Extend automated test for this scenario.
2010-10-27Formatting cleanup.Jeff Ames1-3/+3
2010-10-22Allow region modules to know which agents actually receive chatJustin Clark-Casey (justincc)1-0/+35
2010-10-22Allow region modules to know which agents actually receive chatJustin Clark-Casey (justincc)1-0/+35
2010-09-12* Added ISimulationDataService and IEstateDataServiceJohn Hurliman1-2/+2
* Removed StorageManager * CONFIG CHANGE: There are no more database settings in OpenSim.ini. Check the config-include configuration files for region store and estate store database settings
2010-09-12Formatting cleanup.Jeff Ames1-6/+6
2010-09-11Fixed the naming mess around data connectors for simulation dataJohn Hurliman1-2/+2
2010-09-06Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)1-2/+2
Added a MockRegionDataPlugin to do in-memory persistence for tests since adding this to OpenSim.Data.Null.NullDataStore doesn't seem appropriate NullDataStore can do nothing because OpenSim only ever retrieve region objects from the database on startup. Adding an in-memory store here would be unecessary overhead.
2010-09-06Reflect the ParcelPropertiesUpdateRequest into Scene.EventManager, becauseMelanie Thielker1-1/+25
modules need to see it (Search!) even if it comes in via CAPS
2010-07-28add userExposed parameter to part copy eventJustin Clark-Casey (justincc)1-3/+6
2010-07-28relocate moap specific cloning code to MoapModuleJustin Clark-Casey (justincc)1-1/+28
2010-07-26Add EventManager.OnSceneObjectPreSave() for future use. This is triggered ↵Justin Clark-Casey (justincc)1-3/+36
immediately before a copy of the group is persisted to storage
2010-07-26Add EventManager.OnSceneObjectLoaded() for future use. This is fired ↵Justin Clark-Casey (justincc)1-2/+30
immediately after a scene object is loaded from storage.
2010-07-26Add EventManager.OnSceneObjectPreSave() for future use. This is triggered ↵Justin Clark-Casey (justincc)1-3/+36
immediately before a copy of the group is persisted to storage
2010-07-26Add EventManager.OnSceneObjectLoaded() for future use. This is fired ↵Justin Clark-Casey (justincc)1-2/+30
immediately after a scene object is loaded from storage.
2010-07-11Remove localID from script controls data. It won't transfer to anotherMelanie1-3/+3
region anyway
2010-03-31Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie1-1/+23
This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
2010-03-10Formatting cleanup. Add copyright notices.Jeff Ames1-4/+4
2010-03-04move linden notecard parsing from LSL_Api.cs to SLUtil so that region ↵Justin Clark-Casey (justincc)1-15/+15
modules can use it
2010-02-28Initial Online friends notification seems to be working reliably now. All ↵Diva Canto1-1/+26
this needs more testing, but everything is there.
2010-02-15Formatting cleanup.Jeff Ames1-86/+86
2010-02-08Add EventManager.OnIncomingSceneObject event which is triggered by an ↵Justin Clark-Casey (justincc)1-1/+28
incoming scene object Add a read-only Attachments property to ScenePresence
2010-02-03minor: add a smidgen of EventManager docJustin Clark-Casey (justincc)1-3/+5
2010-02-03For each delegate added to events in the EventManager, catch and log but do ↵Justin Clark-Casey (justincc)1-314/+1128
not propogate any exceptions that come back This stops exceptions thrown by modules from disrupting the kernel and still allows other delegates to be executed normally
2010-02-03add an IsRoot property to sopJustin Clark-Casey (justincc)1-1/+15
2010-02-02minor: add some documentation to EventManager.OnObjectGrabJustin Clark-Casey (justincc)1-15/+8
2010-02-01Actually make EventManager.OnAttach() fire when an object is attached. ↵Justin Clark-Casey (justincc)1-2/+3
Previously, only detach was firing!