aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/EventManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reinsert code for gathering uuids reference by materials back directly into ↵Justin Clark-Casey (justincc)2013-06-281-29/+29
| | | | | | | UuidGatherer for now. This cannot be triggered as an event from Scene.EventManager since some invocations of UuidGatherer (e.g. IAR saving) use scene objects which are not in scenes. There needs to be some way for modules to register for events which are not connected with a particular scene.
* refactor: Move code for gathering textures referenced by materials into ↵Justin Clark-Casey (justincc)2013-06-271-0/+31
| | | | | | MaterialsDemoModule from UuidGatherer This code is now triggered via EventManager.OnGatherUuids which modules can subscribe to.
* Add region heartbeat start event to complement heartbeat end event.Robert Adams2013-05-301-0/+23
| | | | This allows object modification before the usual heartbeat operation.
* Add EventManager events triggered when a SOP is added or removedRobert Adams2013-02-141-0/+55
| | | | from the physical scene. Invocations added in SceneObjectPart.
* Add OnScriptMovingStartEvent and OnScriptMovingEndEvent to EventManager so ↵Justin Clark-Casey (justincc)2013-01-261-0/+56
| | | | | | | | that these can be triggered by future code (not yet implemented). Also hooks up moving_start and moving_end script events, eliminating itemID on XEngine EventManager methods since this is completely unused. An adaptation of the patch in http://opensimulator.org/mantis/view.php?id=6515 Thanks Garmin Kawaguichi and Signpost Marv.
* Save attachments on detach/exit if a contained script state has been changed.Justin Clark-Casey (justincc)2013-01-111-0/+3
| | | | | | | This involves making Attachments module listen for start/stop script changes. It also involves removing the script from the region on detach in the same manner as every other DeleteSceneObject() call rather than simply stopping it This is necessary tue to the bad assymetry of start and stop script triggers but it appears to be the correct behaviour anyway, as detached objects are completely gone from the sim. Not just in a state where their scripts have been stopped.
* Fixed several problems with the Sun: some settings didn't work, or were ↵Oren Hurvitz2013-01-021-8/+5
| | | | inconsistently used. - The sun position is always calculated by combining the sun settings in the Region and Estate. This fixes the problem that 'UseEstateSun' didn't work. - To remove ambiguity, the EstateToolsSunUpdate event no longer accepts the sun's position as parameters. That's because the position is always calculated from the Region and Estate settings. - Use only the 'FixedSun' flag to determine whether the sun is fixed; not the 'UseGlobalTime' flag. - Don't change the region's 'SunPosition' field according to the sun's position: this field is used only to set the position when using a FixedSun. (The 'SunVector' field does get updated according to the sun's position in the sky)
* minor: Add method doc to EventManager.OnNewClient, OnClientLogin, ↵Justin Clark-Casey (justincc)2012-10-101-0/+14
| | | | ClientClosed, OnRemovePresence that any long-running operations should be launched on a thread separate to the event thread.
* Add bool to TriggerSceneObjectPartUpdated where full = true indicates a full ↵Dan Lake2012-10-051-3/+3
| | | | update. There should be a better way to indicate which properties have changed that is non LLUDP-centric
* Documenting object-related eventsSignpostMarv2012-09-241-0/+43
|
* Documenting LSL script-related eventsSignpostMarv2012-09-241-2/+147
|
* Documenting non-LSL script-related eventsSignpostMarv2012-09-221-0/+52
|
* Documentation of teleport-related eventsSignpostMarv2012-09-201-0/+19
|
* minor tweaks to existing comments for IDE goodnessSignpostMarv2012-09-201-4/+7
|
* Documentation of agent-related eventsSignpostMarv2012-09-201-1/+34
|
* Documentation of object-related eventsSignpostMarv2012-09-201-1/+38
|
* Documentation of OnPluginConsoleSignpostMarv2012-09-201-0/+16
|
* Support multi-region OAR filesOren Hurvitz2012-09-141-3/+3
| | | | Merged ArchiveWriteRequestPreparation.cs and ArchiveWriteRequestExecution.cs. This simplifies the code, and it's faster to write each scene to the archive as it's found rather than all at once at the end.
* Documentation of parcel-related eventsSignpostMarv2012-09-131-0/+44
| | | | Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Documentation of economy-related EventManager eventsSignpostMarv2012-09-121-0/+21
|
* documentation (OnSceneObjectPartCopy)SignpostMarv2012-09-111-0/+3
|
* documentation (OnRemovePresence)SignpostMarv2012-09-111-0/+7
|
* documentation (OnNewPresence)SignpostMarv2012-09-111-0/+7
|
* documentation (OnClientConnect)SignpostMarv2012-09-111-0/+9
|
* documentation (OnBackup)SignpostMarv2012-09-111-0/+7
|
* documentation (OnTerrainTick)SignpostMarv2012-09-111-0/+7
|
* documentation (OnTerrainTainted)SignpostMarv2012-09-111-0/+7
|
* documentation (OnClientMovement)SignpostMarv2012-09-111-0/+7
|
* Documenting some of the events on ↵SignpostMarv2012-09-111-0/+8
| | | | OpenSim.Region.Framework.Scenes.EventManager (OnFrame)
* Add support for the extra params to scene and the event managerMelanie2012-08-151-0/+23
|
* Make SceneManager.OnRegionsReadyStatusChange event available.Justin Clark-Casey (justincc)2012-07-251-6/+5
| | | | | This is fired when all regions are ready or when at least one region becomes not ready. Recently added EventManager.OnRegionReady becomes OnRegionReadyStatusChange to match OnLoginsEnabledStatusChange
* Add EventManager.OnRegionLoginsStatusChange fired whenever logins are ↵Justin Clark-Casey (justincc)2012-07-191-10/+11
| | | | | | | enabled or disabled at any point, not just during initial startup. This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.
* Perform other region ready actions even if simulator is configured to leave ↵Justin Clark-Casey (justincc)2012-07-181-1/+1
| | | | logins disabled on startup.
* Establish EventManager.OnRegionReady event. This will only be triggerred ↵Justin Clark-Casey (justincc)2012-07-181-3/+34
| | | | | | once when the region is ready. Switch MapImageServiceModule to use this.
* Pass entire scene object in OnLoginsEnabled event rather than just the ↵Justin Clark-Casey (justincc)2012-07-181-4/+3
| | | | | | region name. This saves listeners from having to re-retrieve the scene from their own lists, which won't work anyway if multiple regions with the same name have been allowed
* Correct the delegate specification in EventManager.TriggerTerrainTainted. ↵Robert Adams2012-06-041-1/+1
| | | | Looks like the wrong one was cut and pasted.
* Add even for terrain tainting and synchronize terrain module with physics ↵Dan Lake2012-05-101-0/+25
| | | | scene before physics simulation step rather than after
* Trigger event when scene presences are updatedDan Lake2012-05-081-0/+24
|
* Moved the inventory manipulation from HGEntityTransferModule to ↵Diva Canto2012-04-061-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.
* Add back parts of reverted changes that were not concerned with child agent ↵Justin Clark-Casey (justincc)2012-03-291-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.
* Revert "Simplify friends caching by only doing this for root agents - no ↵Justin Clark-Casey (justincc)2012-03-291-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.
* Simplify friends caching by only doing this for root agents - no functions ↵Justin Clark-Casey (justincc)2012-03-281-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.
* minor: Add some documentation to OnNewClient and OnClientClosed eventsJustin Clark-Casey (justincc)2012-03-281-2/+10
|
* Add some doc about the EventManager.OnLoginsEnabled event.Justin Clark-Casey (justincc)2012-03-191-0/+7
|
* Add documentation to make more explicit the difference between OnRezScript ↵Justin Clark-Casey (justincc)2012-03-071-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.)
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDan Lake2012-02-171-3/+55
|\
| * Add new and updated script eventsRobert Adams2012-02-171-3/+55
| |
* | Added the TriggerAvatarAppearanceChanged to EventManager. It's triggered by ↵Dan Lake2012-02-171-0/+24
|/ | | | AvatarFactoryModule after an avatar's appearance has been succesfully changed and persisted (if the persist option is set).
* Add event RegionHeartbeatEnd for modules interested in coordinating activity ↵Dan Lake2012-02-011-0/+24
| | | | with region heartbeats
* Trigger event when prims are scheduled for an update. This gives modules ↵Dan Lake2012-01-191-0/+24
| | | | early access to changed parameters.