diff options
author | Teravus Ovares | 2007-11-26 05:02:18 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-26 05:02:18 +0000 |
commit | 175b6115f19f9bad7c81fde625250b3a7f8a33f2 (patch) | |
tree | f907f3b409eca34017f6e18dcf4d644b623d0302 /OpenSim/Framework/RegionCommsListener.cs | |
parent | Added Region name to the terrain texture description that gets sent to the as... (diff) | |
download | opensim-SC_OLD-175b6115f19f9bad7c81fde625250b3a7f8a33f2.zip opensim-SC_OLD-175b6115f19f9bad7c81fde625250b3a7f8a33f2.tar.gz opensim-SC_OLD-175b6115f19f9bad7c81fde625250b3a7f8a33f2.tar.bz2 opensim-SC_OLD-175b6115f19f9bad7c81fde625250b3a7f8a33f2.tar.xz |
* Restarting regions with the estate tools works in sandbox mode. I'm still working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
Diffstat (limited to 'OpenSim/Framework/RegionCommsListener.cs')
-rw-r--r-- | OpenSim/Framework/RegionCommsListener.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/RegionCommsListener.cs b/OpenSim/Framework/RegionCommsListener.cs index 5dc9b81..449c073 100644 --- a/OpenSim/Framework/RegionCommsListener.cs +++ b/OpenSim/Framework/RegionCommsListener.cs | |||
@@ -42,6 +42,8 @@ namespace OpenSim.Framework | |||
42 | public event AcknowledgeAgentCross OnAcknowledgeAgentCrossed; | 42 | public event AcknowledgeAgentCross OnAcknowledgeAgentCrossed; |
43 | public event AcknowledgePrimCross OnAcknowledgePrimCrossed; | 43 | public event AcknowledgePrimCross OnAcknowledgePrimCrossed; |
44 | public event CloseAgentConnection OnCloseAgentConnection; | 44 | public event CloseAgentConnection OnCloseAgentConnection; |
45 | public event RegionUp OnRegionUp; | ||
46 | |||
45 | 47 | ||
46 | /// <summary> | 48 | /// <summary> |
47 | /// | 49 | /// |
@@ -68,6 +70,16 @@ namespace OpenSim.Framework | |||
68 | return false; | 70 | return false; |
69 | } | 71 | } |
70 | 72 | ||
73 | public virtual bool TriggerRegionUp(RegionInfo region) | ||
74 | { | ||
75 | if (OnRegionUp != null) | ||
76 | { | ||
77 | OnRegionUp(region); | ||
78 | return true; | ||
79 | } | ||
80 | return false; | ||
81 | } | ||
82 | |||
71 | public virtual bool TriggerExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position, | 83 | public virtual bool TriggerExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position, |
72 | bool isFlying) | 84 | bool isFlying) |
73 | { | 85 | { |