diff options
author | Melanie | 2010-03-06 12:24:09 +0000 |
---|---|---|
committer | Melanie | 2010-03-06 12:24:09 +0000 |
commit | 1f7a0cf892bf23c5b8ba8e3ae1a9036de428db90 (patch) | |
tree | 69419084feb98d59888b59a643e5fa062314605d /OpenSim/Region/Framework/Scenes/EventManager.cs | |
parent | Remove a superfluous array creation (diff) | |
parent | - implementing server 1.38 functions (diff) | |
download | opensim-SC-1f7a0cf892bf23c5b8ba8e3ae1a9036de428db90.zip opensim-SC-1f7a0cf892bf23c5b8ba8e3ae1a9036de428db90.tar.gz opensim-SC-1f7a0cf892bf23c5b8ba8e3ae1a9036de428db90.tar.bz2 opensim-SC-1f7a0cf892bf23c5b8ba8e3ae1a9036de428db90.tar.xz |
Merge branch '0.6.9-post-fixes' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/EventManager.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/EventManager.cs | 172 |
1 files changed, 86 insertions, 86 deletions
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index 22909bc..7fb1cd8 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -213,7 +213,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
213 | /// Triggered when an object or attachment enters a scene | 213 | /// Triggered when an object or attachment enters a scene |
214 | /// </summary> | 214 | /// </summary> |
215 | public event OnIncomingSceneObjectDelegate OnIncomingSceneObject; | 215 | public event OnIncomingSceneObjectDelegate OnIncomingSceneObject; |
216 | public delegate void OnIncomingSceneObjectDelegate(SceneObjectGroup so); | 216 | public delegate void OnIncomingSceneObjectDelegate(SceneObjectGroup so); |
217 | 217 | ||
218 | public delegate void NewInventoryItemUploadComplete(UUID avatarID, UUID assetID, string name, int userlevel); | 218 | public delegate void NewInventoryItemUploadComplete(UUID avatarID, UUID assetID, string name, int userlevel); |
219 | 219 | ||
@@ -417,7 +417,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
417 | } | 417 | } |
418 | } | 418 | } |
419 | } | 419 | } |
420 | } | 420 | } |
421 | 421 | ||
422 | public void TriggerGetScriptRunning(IClientAPI controllingClient, UUID objectID, UUID itemID) | 422 | public void TriggerGetScriptRunning(IClientAPI controllingClient, UUID objectID, UUID itemID) |
423 | { | 423 | { |
@@ -437,7 +437,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
437 | e.Message, e.StackTrace); | 437 | e.Message, e.StackTrace); |
438 | } | 438 | } |
439 | } | 439 | } |
440 | } | 440 | } |
441 | } | 441 | } |
442 | 442 | ||
443 | public void TriggerOnScriptChangedEvent(uint localID, uint change) | 443 | public void TriggerOnScriptChangedEvent(uint localID, uint change) |
@@ -458,7 +458,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
458 | e.Message, e.StackTrace); | 458 | e.Message, e.StackTrace); |
459 | } | 459 | } |
460 | } | 460 | } |
461 | } | 461 | } |
462 | } | 462 | } |
463 | 463 | ||
464 | public void TriggerOnClientMovement(ScenePresence avatar) | 464 | public void TriggerOnClientMovement(ScenePresence avatar) |
@@ -479,7 +479,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
479 | e.Message, e.StackTrace); | 479 | e.Message, e.StackTrace); |
480 | } | 480 | } |
481 | } | 481 | } |
482 | } | 482 | } |
483 | } | 483 | } |
484 | 484 | ||
485 | public void TriggerPermissionError(UUID user, string reason) | 485 | public void TriggerPermissionError(UUID user, string reason) |
@@ -500,7 +500,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
500 | e.Message, e.StackTrace); | 500 | e.Message, e.StackTrace); |
501 | } | 501 | } |
502 | } | 502 | } |
503 | } | 503 | } |
504 | } | 504 | } |
505 | 505 | ||
506 | public void TriggerOnPluginConsole(string[] args) | 506 | public void TriggerOnPluginConsole(string[] args) |
@@ -521,7 +521,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
521 | e.Message, e.StackTrace); | 521 | e.Message, e.StackTrace); |
522 | } | 522 | } |
523 | } | 523 | } |
524 | } | 524 | } |
525 | } | 525 | } |
526 | 526 | ||
527 | public void TriggerOnFrame() | 527 | public void TriggerOnFrame() |
@@ -542,11 +542,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
542 | e.Message, e.StackTrace); | 542 | e.Message, e.StackTrace); |
543 | } | 543 | } |
544 | } | 544 | } |
545 | } | 545 | } |
546 | } | 546 | } |
547 | 547 | ||
548 | public void TriggerOnNewClient(IClientAPI client) | 548 | public void TriggerOnNewClient(IClientAPI client) |
549 | { | 549 | { |
550 | OnNewClientDelegate handlerNewClient = OnNewClient; | 550 | OnNewClientDelegate handlerNewClient = OnNewClient; |
551 | if (handlerNewClient != null) | 551 | if (handlerNewClient != null) |
552 | { | 552 | { |
@@ -563,10 +563,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
563 | e.Message, e.StackTrace); | 563 | e.Message, e.StackTrace); |
564 | } | 564 | } |
565 | } | 565 | } |
566 | } | 566 | } |
567 | 567 | ||
568 | if (client is IClientCore) | 568 | if (client is IClientCore) |
569 | { | 569 | { |
570 | OnClientConnectCoreDelegate handlerClientConnect = OnClientConnect; | 570 | OnClientConnectCoreDelegate handlerClientConnect = OnClientConnect; |
571 | if (handlerClientConnect != null) | 571 | if (handlerClientConnect != null) |
572 | { | 572 | { |
@@ -583,7 +583,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
583 | e.Message, e.StackTrace); | 583 | e.Message, e.StackTrace); |
584 | } | 584 | } |
585 | } | 585 | } |
586 | } | 586 | } |
587 | } | 587 | } |
588 | } | 588 | } |
589 | 589 | ||
@@ -605,11 +605,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
605 | e.Message, e.StackTrace); | 605 | e.Message, e.StackTrace); |
606 | } | 606 | } |
607 | } | 607 | } |
608 | } | 608 | } |
609 | } | 609 | } |
610 | 610 | ||
611 | public void TriggerOnRemovePresence(UUID agentId) | 611 | public void TriggerOnRemovePresence(UUID agentId) |
612 | { | 612 | { |
613 | OnRemovePresenceDelegate handlerRemovePresence = OnRemovePresence; | 613 | OnRemovePresenceDelegate handlerRemovePresence = OnRemovePresence; |
614 | if (handlerRemovePresence != null) | 614 | if (handlerRemovePresence != null) |
615 | { | 615 | { |
@@ -626,11 +626,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
626 | e.Message, e.StackTrace); | 626 | e.Message, e.StackTrace); |
627 | } | 627 | } |
628 | } | 628 | } |
629 | } | 629 | } |
630 | } | 630 | } |
631 | 631 | ||
632 | public void TriggerOnBackup(IRegionDataStore dstore) | 632 | public void TriggerOnBackup(IRegionDataStore dstore) |
633 | { | 633 | { |
634 | OnBackupDelegate handlerOnAttach = OnBackup; | 634 | OnBackupDelegate handlerOnAttach = OnBackup; |
635 | if (handlerOnAttach != null) | 635 | if (handlerOnAttach != null) |
636 | { | 636 | { |
@@ -647,7 +647,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
647 | e.Message, e.StackTrace); | 647 | e.Message, e.StackTrace); |
648 | } | 648 | } |
649 | } | 649 | } |
650 | } | 650 | } |
651 | } | 651 | } |
652 | 652 | ||
653 | public void TriggerParcelPrimCountUpdate() | 653 | public void TriggerParcelPrimCountUpdate() |
@@ -668,7 +668,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
668 | e.Message, e.StackTrace); | 668 | e.Message, e.StackTrace); |
669 | } | 669 | } |
670 | } | 670 | } |
671 | } | 671 | } |
672 | } | 672 | } |
673 | 673 | ||
674 | public void TriggerMoneyTransfer(Object sender, MoneyTransferArgs args) | 674 | public void TriggerMoneyTransfer(Object sender, MoneyTransferArgs args) |
@@ -689,7 +689,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
689 | e.Message, e.StackTrace); | 689 | e.Message, e.StackTrace); |
690 | } | 690 | } |
691 | } | 691 | } |
692 | } | 692 | } |
693 | } | 693 | } |
694 | 694 | ||
695 | public void TriggerTerrainTick() | 695 | public void TriggerTerrainTick() |
@@ -710,7 +710,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
710 | e.Message, e.StackTrace); | 710 | e.Message, e.StackTrace); |
711 | } | 711 | } |
712 | } | 712 | } |
713 | } | 713 | } |
714 | } | 714 | } |
715 | 715 | ||
716 | public void TriggerParcelPrimCountAdd(SceneObjectGroup obj) | 716 | public void TriggerParcelPrimCountAdd(SceneObjectGroup obj) |
@@ -731,7 +731,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
731 | e.Message, e.StackTrace); | 731 | e.Message, e.StackTrace); |
732 | } | 732 | } |
733 | } | 733 | } |
734 | } | 734 | } |
735 | } | 735 | } |
736 | 736 | ||
737 | public void TriggerObjectBeingRemovedFromScene(SceneObjectGroup obj) | 737 | public void TriggerObjectBeingRemovedFromScene(SceneObjectGroup obj) |
@@ -752,11 +752,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
752 | e.Message, e.StackTrace); | 752 | e.Message, e.StackTrace); |
753 | } | 753 | } |
754 | } | 754 | } |
755 | } | 755 | } |
756 | } | 756 | } |
757 | 757 | ||
758 | public void TriggerShutdown() | 758 | public void TriggerShutdown() |
759 | { | 759 | { |
760 | OnShutdownDelegate handlerShutdown = OnShutdown; | 760 | OnShutdownDelegate handlerShutdown = OnShutdown; |
761 | if (handlerShutdown != null) | 761 | if (handlerShutdown != null) |
762 | { | 762 | { |
@@ -773,11 +773,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
773 | e.Message, e.StackTrace); | 773 | e.Message, e.StackTrace); |
774 | } | 774 | } |
775 | } | 775 | } |
776 | } | 776 | } |
777 | } | 777 | } |
778 | 778 | ||
779 | public void TriggerObjectGrab(uint localID, uint originalID, Vector3 offsetPos, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs) | 779 | public void TriggerObjectGrab(uint localID, uint originalID, Vector3 offsetPos, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs) |
780 | { | 780 | { |
781 | ObjectGrabDelegate handlerObjectGrab = OnObjectGrab; | 781 | ObjectGrabDelegate handlerObjectGrab = OnObjectGrab; |
782 | if (handlerObjectGrab != null) | 782 | if (handlerObjectGrab != null) |
783 | { | 783 | { |
@@ -794,11 +794,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
794 | e.Message, e.StackTrace); | 794 | e.Message, e.StackTrace); |
795 | } | 795 | } |
796 | } | 796 | } |
797 | } | 797 | } |
798 | } | 798 | } |
799 | 799 | ||
800 | public void TriggerObjectGrabbing(uint localID, uint originalID, Vector3 offsetPos, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs) | 800 | public void TriggerObjectGrabbing(uint localID, uint originalID, Vector3 offsetPos, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs) |
801 | { | 801 | { |
802 | ObjectGrabDelegate handlerObjectGrabbing = OnObjectGrabbing; | 802 | ObjectGrabDelegate handlerObjectGrabbing = OnObjectGrabbing; |
803 | if (handlerObjectGrabbing != null) | 803 | if (handlerObjectGrabbing != null) |
804 | { | 804 | { |
@@ -815,11 +815,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
815 | e.Message, e.StackTrace); | 815 | e.Message, e.StackTrace); |
816 | } | 816 | } |
817 | } | 817 | } |
818 | } | 818 | } |
819 | } | 819 | } |
820 | 820 | ||
821 | public void TriggerObjectDeGrab(uint localID, uint originalID, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs) | 821 | public void TriggerObjectDeGrab(uint localID, uint originalID, IClientAPI remoteClient, SurfaceTouchEventArgs surfaceArgs) |
822 | { | 822 | { |
823 | ObjectDeGrabDelegate handlerObjectDeGrab = OnObjectDeGrab; | 823 | ObjectDeGrabDelegate handlerObjectDeGrab = OnObjectDeGrab; |
824 | if (handlerObjectDeGrab != null) | 824 | if (handlerObjectDeGrab != null) |
825 | { | 825 | { |
@@ -836,11 +836,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
836 | e.Message, e.StackTrace); | 836 | e.Message, e.StackTrace); |
837 | } | 837 | } |
838 | } | 838 | } |
839 | } | 839 | } |
840 | } | 840 | } |
841 | 841 | ||
842 | public void TriggerScriptReset(uint localID, UUID itemID) | 842 | public void TriggerScriptReset(uint localID, UUID itemID) |
843 | { | 843 | { |
844 | ScriptResetDelegate handlerScriptReset = OnScriptReset; | 844 | ScriptResetDelegate handlerScriptReset = OnScriptReset; |
845 | if (handlerScriptReset != null) | 845 | if (handlerScriptReset != null) |
846 | { | 846 | { |
@@ -857,11 +857,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
857 | e.Message, e.StackTrace); | 857 | e.Message, e.StackTrace); |
858 | } | 858 | } |
859 | } | 859 | } |
860 | } | 860 | } |
861 | } | 861 | } |
862 | 862 | ||
863 | public void TriggerRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez, string engine, int stateSource) | 863 | public void TriggerRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez, string engine, int stateSource) |
864 | { | 864 | { |
865 | NewRezScript handlerRezScript = OnRezScript; | 865 | NewRezScript handlerRezScript = OnRezScript; |
866 | if (handlerRezScript != null) | 866 | if (handlerRezScript != null) |
867 | { | 867 | { |
@@ -878,7 +878,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
878 | e.Message, e.StackTrace); | 878 | e.Message, e.StackTrace); |
879 | } | 879 | } |
880 | } | 880 | } |
881 | } | 881 | } |
882 | } | 882 | } |
883 | 883 | ||
884 | public void TriggerStartScript(uint localID, UUID itemID) | 884 | public void TriggerStartScript(uint localID, UUID itemID) |
@@ -899,7 +899,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
899 | e.Message, e.StackTrace); | 899 | e.Message, e.StackTrace); |
900 | } | 900 | } |
901 | } | 901 | } |
902 | } | 902 | } |
903 | } | 903 | } |
904 | 904 | ||
905 | public void TriggerStopScript(uint localID, UUID itemID) | 905 | public void TriggerStopScript(uint localID, UUID itemID) |
@@ -920,11 +920,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
920 | e.Message, e.StackTrace); | 920 | e.Message, e.StackTrace); |
921 | } | 921 | } |
922 | } | 922 | } |
923 | } | 923 | } |
924 | } | 924 | } |
925 | 925 | ||
926 | public void TriggerRemoveScript(uint localID, UUID itemID) | 926 | public void TriggerRemoveScript(uint localID, UUID itemID) |
927 | { | 927 | { |
928 | RemoveScript handlerRemoveScript = OnRemoveScript; | 928 | RemoveScript handlerRemoveScript = OnRemoveScript; |
929 | if (handlerRemoveScript != null) | 929 | if (handlerRemoveScript != null) |
930 | { | 930 | { |
@@ -941,7 +941,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
941 | e.Message, e.StackTrace); | 941 | e.Message, e.StackTrace); |
942 | } | 942 | } |
943 | } | 943 | } |
944 | } | 944 | } |
945 | } | 945 | } |
946 | 946 | ||
947 | public bool TriggerGroupMove(UUID groupID, Vector3 delta) | 947 | public bool TriggerGroupMove(UUID groupID, Vector3 delta) |
@@ -1040,7 +1040,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1040 | e.Message, e.StackTrace); | 1040 | e.Message, e.StackTrace); |
1041 | } | 1041 | } |
1042 | } | 1042 | } |
1043 | } | 1043 | } |
1044 | } | 1044 | } |
1045 | 1045 | ||
1046 | public void TriggerLandObjectAdded(ILandObject newParcel) | 1046 | public void TriggerLandObjectAdded(ILandObject newParcel) |
@@ -1061,7 +1061,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1061 | e.Message, e.StackTrace); | 1061 | e.Message, e.StackTrace); |
1062 | } | 1062 | } |
1063 | } | 1063 | } |
1064 | } | 1064 | } |
1065 | } | 1065 | } |
1066 | 1066 | ||
1067 | public void TriggerLandObjectRemoved(UUID globalID) | 1067 | public void TriggerLandObjectRemoved(UUID globalID) |
@@ -1082,7 +1082,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1082 | e.Message, e.StackTrace); | 1082 | e.Message, e.StackTrace); |
1083 | } | 1083 | } |
1084 | } | 1084 | } |
1085 | } | 1085 | } |
1086 | } | 1086 | } |
1087 | 1087 | ||
1088 | public void TriggerLandObjectUpdated(uint localParcelID, ILandObject newParcel) | 1088 | public void TriggerLandObjectUpdated(uint localParcelID, ILandObject newParcel) |
@@ -1108,7 +1108,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1108 | e.Message, e.StackTrace); | 1108 | e.Message, e.StackTrace); |
1109 | } | 1109 | } |
1110 | } | 1110 | } |
1111 | } | 1111 | } |
1112 | } | 1112 | } |
1113 | 1113 | ||
1114 | public void TriggerIncomingInstantMessage(GridInstantMessage message) | 1114 | public void TriggerIncomingInstantMessage(GridInstantMessage message) |
@@ -1129,7 +1129,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1129 | e.Message, e.StackTrace); | 1129 | e.Message, e.StackTrace); |
1130 | } | 1130 | } |
1131 | } | 1131 | } |
1132 | } | 1132 | } |
1133 | } | 1133 | } |
1134 | 1134 | ||
1135 | public void TriggerUnhandledInstantMessage(GridInstantMessage message) | 1135 | public void TriggerUnhandledInstantMessage(GridInstantMessage message) |
@@ -1150,7 +1150,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1150 | e.Message, e.StackTrace); | 1150 | e.Message, e.StackTrace); |
1151 | } | 1151 | } |
1152 | } | 1152 | } |
1153 | } | 1153 | } |
1154 | } | 1154 | } |
1155 | 1155 | ||
1156 | public void TriggerClientClosed(UUID ClientID, Scene scene) | 1156 | public void TriggerClientClosed(UUID ClientID, Scene scene) |
@@ -1171,7 +1171,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1171 | e.Message, e.StackTrace); | 1171 | e.Message, e.StackTrace); |
1172 | } | 1172 | } |
1173 | } | 1173 | } |
1174 | } | 1174 | } |
1175 | } | 1175 | } |
1176 | 1176 | ||
1177 | public void TriggerOnMakeChildAgent(ScenePresence presence) | 1177 | public void TriggerOnMakeChildAgent(ScenePresence presence) |
@@ -1192,7 +1192,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1192 | e.Message, e.StackTrace); | 1192 | e.Message, e.StackTrace); |
1193 | } | 1193 | } |
1194 | } | 1194 | } |
1195 | } | 1195 | } |
1196 | } | 1196 | } |
1197 | 1197 | ||
1198 | public void TriggerOnSendNewWindlightProfileTargeted(RegionMeta7WindlightData wl, UUID user) | 1198 | public void TriggerOnSendNewWindlightProfileTargeted(RegionMeta7WindlightData wl, UUID user) |
@@ -1231,7 +1231,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1231 | e.Message, e.StackTrace); | 1231 | e.Message, e.StackTrace); |
1232 | } | 1232 | } |
1233 | } | 1233 | } |
1234 | } | 1234 | } |
1235 | } | 1235 | } |
1236 | 1236 | ||
1237 | public void TriggerOnIncomingSceneObject(SceneObjectGroup so) | 1237 | public void TriggerOnIncomingSceneObject(SceneObjectGroup so) |
@@ -1251,12 +1251,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
1251 | "[EVENT MANAGER]: Delegate for TriggerOnIncomingSceneObject failed - continuing. {0} {1}", | 1251 | "[EVENT MANAGER]: Delegate for TriggerOnIncomingSceneObject failed - continuing. {0} {1}", |
1252 | e.Message, e.StackTrace); | 1252 | e.Message, e.StackTrace); |
1253 | } | 1253 | } |
1254 | } | 1254 | } |
1255 | } | 1255 | } |
1256 | } | 1256 | } |
1257 | 1257 | ||
1258 | public void TriggerOnRegisterCaps(UUID agentID, Caps caps) | 1258 | public void TriggerOnRegisterCaps(UUID agentID, Caps caps) |
1259 | { | 1259 | { |
1260 | RegisterCapsEvent handlerRegisterCaps = OnRegisterCaps; | 1260 | RegisterCapsEvent handlerRegisterCaps = OnRegisterCaps; |
1261 | if (handlerRegisterCaps != null) | 1261 | if (handlerRegisterCaps != null) |
1262 | { | 1262 | { |
@@ -1273,7 +1273,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1273 | e.Message, e.StackTrace); | 1273 | e.Message, e.StackTrace); |
1274 | } | 1274 | } |
1275 | } | 1275 | } |
1276 | } | 1276 | } |
1277 | } | 1277 | } |
1278 | 1278 | ||
1279 | public void TriggerOnDeregisterCaps(UUID agentID, Caps caps) | 1279 | public void TriggerOnDeregisterCaps(UUID agentID, Caps caps) |
@@ -1294,7 +1294,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1294 | e.Message, e.StackTrace); | 1294 | e.Message, e.StackTrace); |
1295 | } | 1295 | } |
1296 | } | 1296 | } |
1297 | } | 1297 | } |
1298 | } | 1298 | } |
1299 | 1299 | ||
1300 | public void TriggerOnNewInventoryItemUploadComplete(UUID agentID, UUID AssetID, String AssetName, int userlevel) | 1300 | public void TriggerOnNewInventoryItemUploadComplete(UUID agentID, UUID AssetID, String AssetName, int userlevel) |
@@ -1315,7 +1315,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1315 | e.Message, e.StackTrace); | 1315 | e.Message, e.StackTrace); |
1316 | } | 1316 | } |
1317 | } | 1317 | } |
1318 | } | 1318 | } |
1319 | } | 1319 | } |
1320 | 1320 | ||
1321 | public void TriggerLandBuy(Object sender, LandBuyArgs args) | 1321 | public void TriggerLandBuy(Object sender, LandBuyArgs args) |
@@ -1336,7 +1336,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1336 | e.Message, e.StackTrace); | 1336 | e.Message, e.StackTrace); |
1337 | } | 1337 | } |
1338 | } | 1338 | } |
1339 | } | 1339 | } |
1340 | } | 1340 | } |
1341 | 1341 | ||
1342 | public void TriggerValidateLandBuy(Object sender, LandBuyArgs args) | 1342 | public void TriggerValidateLandBuy(Object sender, LandBuyArgs args) |
@@ -1357,11 +1357,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1357 | e.Message, e.StackTrace); | 1357 | e.Message, e.StackTrace); |
1358 | } | 1358 | } |
1359 | } | 1359 | } |
1360 | } | 1360 | } |
1361 | } | 1361 | } |
1362 | 1362 | ||
1363 | public void TriggerAtTargetEvent(uint localID, uint handle, Vector3 targetpos, Vector3 currentpos) | 1363 | public void TriggerAtTargetEvent(uint localID, uint handle, Vector3 targetpos, Vector3 currentpos) |
1364 | { | 1364 | { |
1365 | ScriptAtTargetEvent handlerScriptAtTargetEvent = OnScriptAtTargetEvent; | 1365 | ScriptAtTargetEvent handlerScriptAtTargetEvent = OnScriptAtTargetEvent; |
1366 | if (handlerScriptAtTargetEvent != null) | 1366 | if (handlerScriptAtTargetEvent != null) |
1367 | { | 1367 | { |
@@ -1378,7 +1378,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1378 | e.Message, e.StackTrace); | 1378 | e.Message, e.StackTrace); |
1379 | } | 1379 | } |
1380 | } | 1380 | } |
1381 | } | 1381 | } |
1382 | } | 1382 | } |
1383 | 1383 | ||
1384 | public void TriggerNotAtTargetEvent(uint localID) | 1384 | public void TriggerNotAtTargetEvent(uint localID) |
@@ -1399,11 +1399,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1399 | e.Message, e.StackTrace); | 1399 | e.Message, e.StackTrace); |
1400 | } | 1400 | } |
1401 | } | 1401 | } |
1402 | } | 1402 | } |
1403 | } | 1403 | } |
1404 | 1404 | ||
1405 | public void TriggerAtRotTargetEvent(uint localID, uint handle, Quaternion targetrot, Quaternion currentrot) | 1405 | public void TriggerAtRotTargetEvent(uint localID, uint handle, Quaternion targetrot, Quaternion currentrot) |
1406 | { | 1406 | { |
1407 | ScriptAtRotTargetEvent handlerScriptAtRotTargetEvent = OnScriptAtRotTargetEvent; | 1407 | ScriptAtRotTargetEvent handlerScriptAtRotTargetEvent = OnScriptAtRotTargetEvent; |
1408 | if (handlerScriptAtRotTargetEvent != null) | 1408 | if (handlerScriptAtRotTargetEvent != null) |
1409 | { | 1409 | { |
@@ -1420,7 +1420,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1420 | e.Message, e.StackTrace); | 1420 | e.Message, e.StackTrace); |
1421 | } | 1421 | } |
1422 | } | 1422 | } |
1423 | } | 1423 | } |
1424 | } | 1424 | } |
1425 | 1425 | ||
1426 | public void TriggerNotAtRotTargetEvent(uint localID) | 1426 | public void TriggerNotAtRotTargetEvent(uint localID) |
@@ -1441,7 +1441,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1441 | e.Message, e.StackTrace); | 1441 | e.Message, e.StackTrace); |
1442 | } | 1442 | } |
1443 | } | 1443 | } |
1444 | } | 1444 | } |
1445 | } | 1445 | } |
1446 | 1446 | ||
1447 | public void TriggerRequestChangeWaterHeight(float height) | 1447 | public void TriggerRequestChangeWaterHeight(float height) |
@@ -1462,7 +1462,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1462 | e.Message, e.StackTrace); | 1462 | e.Message, e.StackTrace); |
1463 | } | 1463 | } |
1464 | } | 1464 | } |
1465 | } | 1465 | } |
1466 | } | 1466 | } |
1467 | 1467 | ||
1468 | public void TriggerAvatarKill(uint KillerObjectLocalID, ScenePresence DeadAvatar) | 1468 | public void TriggerAvatarKill(uint KillerObjectLocalID, ScenePresence DeadAvatar) |
@@ -1483,7 +1483,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1483 | e.Message, e.StackTrace); | 1483 | e.Message, e.StackTrace); |
1484 | } | 1484 | } |
1485 | } | 1485 | } |
1486 | } | 1486 | } |
1487 | } | 1487 | } |
1488 | 1488 | ||
1489 | public void TriggerSignificantClientMovement(IClientAPI client) | 1489 | public void TriggerSignificantClientMovement(IClientAPI client) |
@@ -1504,7 +1504,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1504 | e.Message, e.StackTrace); | 1504 | e.Message, e.StackTrace); |
1505 | } | 1505 | } |
1506 | } | 1506 | } |
1507 | } | 1507 | } |
1508 | } | 1508 | } |
1509 | 1509 | ||
1510 | public void TriggerOnChatFromWorld(Object sender, OSChatMessage chat) | 1510 | public void TriggerOnChatFromWorld(Object sender, OSChatMessage chat) |
@@ -1525,7 +1525,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1525 | e.Message, e.StackTrace); | 1525 | e.Message, e.StackTrace); |
1526 | } | 1526 | } |
1527 | } | 1527 | } |
1528 | } | 1528 | } |
1529 | } | 1529 | } |
1530 | 1530 | ||
1531 | public void TriggerOnChatFromClient(Object sender, OSChatMessage chat) | 1531 | public void TriggerOnChatFromClient(Object sender, OSChatMessage chat) |
@@ -1546,7 +1546,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1546 | e.Message, e.StackTrace); | 1546 | e.Message, e.StackTrace); |
1547 | } | 1547 | } |
1548 | } | 1548 | } |
1549 | } | 1549 | } |
1550 | } | 1550 | } |
1551 | 1551 | ||
1552 | public void TriggerOnChatBroadcast(Object sender, OSChatMessage chat) | 1552 | public void TriggerOnChatBroadcast(Object sender, OSChatMessage chat) |
@@ -1567,7 +1567,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1567 | e.Message, e.StackTrace); | 1567 | e.Message, e.StackTrace); |
1568 | } | 1568 | } |
1569 | } | 1569 | } |
1570 | } | 1570 | } |
1571 | } | 1571 | } |
1572 | 1572 | ||
1573 | internal void TriggerControlEvent(uint p, UUID scriptUUID, UUID avatarID, uint held, uint _changed) | 1573 | internal void TriggerControlEvent(uint p, UUID scriptUUID, UUID avatarID, uint held, uint _changed) |
@@ -1588,7 +1588,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1588 | e.Message, e.StackTrace); | 1588 | e.Message, e.StackTrace); |
1589 | } | 1589 | } |
1590 | } | 1590 | } |
1591 | } | 1591 | } |
1592 | } | 1592 | } |
1593 | 1593 | ||
1594 | public void TriggerNoticeNoLandDataFromStorage() | 1594 | public void TriggerNoticeNoLandDataFromStorage() |
@@ -1609,7 +1609,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1609 | e.Message, e.StackTrace); | 1609 | e.Message, e.StackTrace); |
1610 | } | 1610 | } |
1611 | } | 1611 | } |
1612 | } | 1612 | } |
1613 | } | 1613 | } |
1614 | 1614 | ||
1615 | public void TriggerIncomingLandDataFromStorage(List<LandData> landData) | 1615 | public void TriggerIncomingLandDataFromStorage(List<LandData> landData) |
@@ -1630,7 +1630,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1630 | e.Message, e.StackTrace); | 1630 | e.Message, e.StackTrace); |
1631 | } | 1631 | } |
1632 | } | 1632 | } |
1633 | } | 1633 | } |
1634 | } | 1634 | } |
1635 | 1635 | ||
1636 | public void TriggerSetAllowForcefulBan(bool allow) | 1636 | public void TriggerSetAllowForcefulBan(bool allow) |
@@ -1651,7 +1651,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1651 | e.Message, e.StackTrace); | 1651 | e.Message, e.StackTrace); |
1652 | } | 1652 | } |
1653 | } | 1653 | } |
1654 | } | 1654 | } |
1655 | } | 1655 | } |
1656 | 1656 | ||
1657 | public void TriggerRequestParcelPrimCountUpdate() | 1657 | public void TriggerRequestParcelPrimCountUpdate() |
@@ -1672,7 +1672,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1672 | e.Message, e.StackTrace); | 1672 | e.Message, e.StackTrace); |
1673 | } | 1673 | } |
1674 | } | 1674 | } |
1675 | } | 1675 | } |
1676 | } | 1676 | } |
1677 | 1677 | ||
1678 | public void TriggerParcelPrimCountTainted() | 1678 | public void TriggerParcelPrimCountTainted() |
@@ -1693,7 +1693,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1693 | e.Message, e.StackTrace); | 1693 | e.Message, e.StackTrace); |
1694 | } | 1694 | } |
1695 | } | 1695 | } |
1696 | } | 1696 | } |
1697 | } | 1697 | } |
1698 | 1698 | ||
1699 | // this lets us keep track of nasty script events like timer, etc. | 1699 | // this lets us keep track of nasty script events like timer, etc. |
@@ -1732,7 +1732,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1732 | e.Message, e.StackTrace); | 1732 | e.Message, e.StackTrace); |
1733 | } | 1733 | } |
1734 | } | 1734 | } |
1735 | } | 1735 | } |
1736 | } | 1736 | } |
1737 | 1737 | ||
1738 | public float GetCurrentTimeAsSunLindenHour() | 1738 | public float GetCurrentTimeAsSunLindenHour() |
@@ -1759,7 +1759,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1759 | } | 1759 | } |
1760 | 1760 | ||
1761 | public void TriggerOarFileLoaded(Guid requestId, string message) | 1761 | public void TriggerOarFileLoaded(Guid requestId, string message) |
1762 | { | 1762 | { |
1763 | OarFileLoaded handlerOarFileLoaded = OnOarFileLoaded; | 1763 | OarFileLoaded handlerOarFileLoaded = OnOarFileLoaded; |
1764 | if (handlerOarFileLoaded != null) | 1764 | if (handlerOarFileLoaded != null) |
1765 | { | 1765 | { |
@@ -1776,7 +1776,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1776 | e.Message, e.StackTrace); | 1776 | e.Message, e.StackTrace); |
1777 | } | 1777 | } |
1778 | } | 1778 | } |
1779 | } | 1779 | } |
1780 | } | 1780 | } |
1781 | 1781 | ||
1782 | public void TriggerOarFileSaved(Guid requestId, string message) | 1782 | public void TriggerOarFileSaved(Guid requestId, string message) |
@@ -1797,7 +1797,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1797 | e.Message, e.StackTrace); | 1797 | e.Message, e.StackTrace); |
1798 | } | 1798 | } |
1799 | } | 1799 | } |
1800 | } | 1800 | } |
1801 | } | 1801 | } |
1802 | 1802 | ||
1803 | public void TriggerEmptyScriptCompileQueue(int numScriptsFailed, string message) | 1803 | public void TriggerEmptyScriptCompileQueue(int numScriptsFailed, string message) |
@@ -1818,7 +1818,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1818 | e.Message, e.StackTrace); | 1818 | e.Message, e.StackTrace); |
1819 | } | 1819 | } |
1820 | } | 1820 | } |
1821 | } | 1821 | } |
1822 | } | 1822 | } |
1823 | 1823 | ||
1824 | public void TriggerScriptCollidingStart(uint localId, ColliderArgs colliders) | 1824 | public void TriggerScriptCollidingStart(uint localId, ColliderArgs colliders) |
@@ -1839,7 +1839,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1839 | e.Message, e.StackTrace); | 1839 | e.Message, e.StackTrace); |
1840 | } | 1840 | } |
1841 | } | 1841 | } |
1842 | } | 1842 | } |
1843 | } | 1843 | } |
1844 | 1844 | ||
1845 | public void TriggerScriptColliding(uint localId, ColliderArgs colliders) | 1845 | public void TriggerScriptColliding(uint localId, ColliderArgs colliders) |
@@ -1860,7 +1860,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1860 | e.Message, e.StackTrace); | 1860 | e.Message, e.StackTrace); |
1861 | } | 1861 | } |
1862 | } | 1862 | } |
1863 | } | 1863 | } |
1864 | } | 1864 | } |
1865 | 1865 | ||
1866 | public void TriggerScriptCollidingEnd(uint localId, ColliderArgs colliders) | 1866 | public void TriggerScriptCollidingEnd(uint localId, ColliderArgs colliders) |
@@ -1881,7 +1881,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1881 | e.Message, e.StackTrace); | 1881 | e.Message, e.StackTrace); |
1882 | } | 1882 | } |
1883 | } | 1883 | } |
1884 | } | 1884 | } |
1885 | } | 1885 | } |
1886 | 1886 | ||
1887 | public void TriggerScriptLandCollidingStart(uint localId, ColliderArgs colliders) | 1887 | public void TriggerScriptLandCollidingStart(uint localId, ColliderArgs colliders) |
@@ -1902,7 +1902,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1902 | e.Message, e.StackTrace); | 1902 | e.Message, e.StackTrace); |
1903 | } | 1903 | } |
1904 | } | 1904 | } |
1905 | } | 1905 | } |
1906 | } | 1906 | } |
1907 | 1907 | ||
1908 | public void TriggerScriptLandColliding(uint localId, ColliderArgs colliders) | 1908 | public void TriggerScriptLandColliding(uint localId, ColliderArgs colliders) |
@@ -1923,7 +1923,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1923 | e.Message, e.StackTrace); | 1923 | e.Message, e.StackTrace); |
1924 | } | 1924 | } |
1925 | } | 1925 | } |
1926 | } | 1926 | } |
1927 | } | 1927 | } |
1928 | 1928 | ||
1929 | public void TriggerScriptLandCollidingEnd(uint localId, ColliderArgs colliders) | 1929 | public void TriggerScriptLandCollidingEnd(uint localId, ColliderArgs colliders) |
@@ -1944,11 +1944,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1944 | e.Message, e.StackTrace); | 1944 | e.Message, e.StackTrace); |
1945 | } | 1945 | } |
1946 | } | 1946 | } |
1947 | } | 1947 | } |
1948 | } | 1948 | } |
1949 | 1949 | ||
1950 | public void TriggerSetRootAgentScene(UUID agentID, Scene scene) | 1950 | public void TriggerSetRootAgentScene(UUID agentID, Scene scene) |
1951 | { | 1951 | { |
1952 | OnSetRootAgentSceneDelegate handlerSetRootAgentScene = OnSetRootAgentScene; | 1952 | OnSetRootAgentSceneDelegate handlerSetRootAgentScene = OnSetRootAgentScene; |
1953 | if (handlerSetRootAgentScene != null) | 1953 | if (handlerSetRootAgentScene != null) |
1954 | { | 1954 | { |
@@ -1965,7 +1965,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1965 | e.Message, e.StackTrace); | 1965 | e.Message, e.StackTrace); |
1966 | } | 1966 | } |
1967 | } | 1967 | } |
1968 | } | 1968 | } |
1969 | } | 1969 | } |
1970 | 1970 | ||
1971 | public void TriggerOnRegionUp(GridRegion otherRegion) | 1971 | public void TriggerOnRegionUp(GridRegion otherRegion) |
@@ -1986,7 +1986,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1986 | e.Message, e.StackTrace); | 1986 | e.Message, e.StackTrace); |
1987 | } | 1987 | } |
1988 | } | 1988 | } |
1989 | } | 1989 | } |
1990 | } | 1990 | } |
1991 | } | 1991 | } |
1992 | } | 1992 | } |