* refactor: Remove OutPacket from the IClientAPI

* I believe this is reasonable since code outside the Linden client stack shouldn't be aware of the packet format being used
* I would love to have made the method protected, but the LoadBalancerPlugin is still calling it and resolving that would require more work
This commit is contained in:
Justin Clarke Casey
2008-10-15 17:06:47 +00:00
parent 87e85489f3
commit 230835dbaa
5 changed files with 17 additions and 24 deletions

View File

@@ -172,7 +172,7 @@ namespace OpenSim.Region.Environment.Modules.World.Land
// regionFlags |= (uint)RegionFlags.AllowLandmark;
// if (landData.OwnerID == remote_client.AgentId)
// regionFlags |= (uint)RegionFlags.AllowSetHome;
remote_client.SendLandProperties(remote_client, sequence_id,
remote_client.SendLandProperties(sequence_id,
snap_selection, request_result, landData,
(float)m_scene.RegionInfo.RegionSettings.ObjectBonus,
getParcelMaxPrimCount(this),

View File

@@ -414,10 +414,6 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
get { return 1; }
}
public virtual void OutPacket(Packet newPack, ThrottleOutPacketType packType)
{
}
public virtual void SendWearables(AvatarWearable[] wearables, int serial)
{
}
@@ -840,7 +836,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
{
}
public void SendLandProperties(IClientAPI remote_client, int sequence_id, bool snap_selection, int request_result, LandData landData, float simObjectBonusFactor,int parcelObjectCapacity, int simObjectCapacity, uint regionFlags)
public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, LandData landData, float simObjectBonusFactor,int parcelObjectCapacity, int simObjectCapacity, uint regionFlags)
{
}
public void SendLandAccessListData(List<UUID> avatars, uint accessFlag, int localLandID)