Update names of handler010 through handler019

to more appropriate names consistent with use.
This commit is contained in:
Charles Krinke
2008-03-02 20:29:59 +00:00
parent 9991955014
commit 30ebd15926
3 changed files with 85 additions and 85 deletions

View File

@@ -55,8 +55,8 @@ namespace OpenSim.Framework
private AcknowledgeAgentCross handler007 = null; // OnAcknowledgeAgentCrossed;
private AcknowledgePrimCross handler008 = null; // OnAcknowledgePrimCrossed;
private CloseAgentConnection handler009 = null; // OnCloseAgentConnection;
private RegionUp handler010 = null; // OnRegionUp;
private ChildAgentUpdate handler011 = null; // OnChildAgentUpdate;
private RegionUp handlerRegionUp = null; // OnRegionUp;
private ChildAgentUpdate handlerChildAgentUpdate = null; // OnChildAgentUpdate;
public string debugRegionName = String.Empty;
@@ -92,10 +92,10 @@ namespace OpenSim.Framework
public virtual bool TriggerRegionUp(RegionInfo region)
{
handler010 = OnRegionUp;
if (handler010 != null)
handlerRegionUp = OnRegionUp;
if (handlerRegionUp != null)
{
handler010(region);
handlerRegionUp(region);
return true;
}
return false;
@@ -103,10 +103,10 @@ namespace OpenSim.Framework
public virtual bool TriggerChildAgentUpdate(ulong regionHandle, ChildAgentDataUpdate cAgentData)
{
handler011 = OnChildAgentUpdate;
if (handler011 != null)
handlerChildAgentUpdate = OnChildAgentUpdate;
if (handlerChildAgentUpdate != null)
{
handler011(regionHandle, cAgentData);
handlerChildAgentUpdate(regionHandle, cAgentData);
return true;
}
return false;