mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
refactor: rename *ChildAgentDataUpdate() methods to *UpdateChildAgent()
verb-noun is consistent with other similar methods
This commit is contained in:
@@ -235,7 +235,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
|
||||
// "[LOCAL SIMULATION CONNECTOR]: Found region {0} {1} to send AgentUpdate",
|
||||
// destination.RegionName, destination.RegionID);
|
||||
|
||||
return m_scenes[destination.RegionID].IncomingChildAgentDataUpdate(cAgentData);
|
||||
return m_scenes[destination.RegionID].IncomingUpdateChildAgent(cAgentData);
|
||||
}
|
||||
|
||||
// m_log.DebugFormat(
|
||||
@@ -245,7 +245,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
|
||||
return false;
|
||||
}
|
||||
|
||||
public bool UpdateAgent(GridRegion destination, AgentPosition cAgentData)
|
||||
public bool UpdateAgent(GridRegion destination, AgentPosition agentPosition)
|
||||
{
|
||||
if (destination == null)
|
||||
return false;
|
||||
@@ -257,7 +257,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation
|
||||
foreach (Scene s in m_scenes.Values)
|
||||
{
|
||||
// m_log.Debug("[LOCAL COMMS]: Found region to send ChildAgentUpdate");
|
||||
s.IncomingChildAgentDataUpdate(cAgentData);
|
||||
s.IncomingUpdateChildAgent(agentPosition);
|
||||
}
|
||||
|
||||
//m_log.Debug("[LOCAL COMMS]: region not found for ChildAgentUpdate");
|
||||
|
||||
Reference in New Issue
Block a user