Rename handler070 through handler079 with more

appropriate names consistent with their use.
0.6.0-stable
Charles Krinke 2008-03-02 00:07:28 +00:00
parent 20c98b6203
commit fdff8c3fa5
1 changed files with 43 additions and 43 deletions

View File

@ -191,16 +191,16 @@ namespace OpenSim.Region.ClientStack
private RequestMapName handler067 = null; //OnMapNameRequest; private RequestMapName handler067 = null; //OnMapNameRequest;
private TeleportLocationRequest handler068 = null; //OnTeleportLocationRequest; private TeleportLocationRequest handler068 = null; //OnTeleportLocationRequest;
private MoneyBalanceRequest handler069 = null; //OnMoneyBalanceRequest; private MoneyBalanceRequest handler069 = null; //OnMoneyBalanceRequest;
private UUIDNameRequest handler070 = null; private UUIDNameRequest handlerNameRequest = null;
private ParcelAccessListRequest handler071 = null; //OnParcelAccessListRequest; private ParcelAccessListRequest handlerParcelAccessListRequest = null; //OnParcelAccessListRequest;
private ParcelAccessListUpdateRequest handler072 = null; //OnParcelAccessListUpdateRequest; private ParcelAccessListUpdateRequest handlerParcelAccessListUpdateRequest = null; //OnParcelAccessListUpdateRequest;
private ParcelPropertiesRequest handler073 = null; //OnParcelPropertiesRequest; private ParcelPropertiesRequest handlerParcelPropertiesRequest = null; //OnParcelPropertiesRequest;
private ParcelDivideRequest handler074 = null; //OnParcelDivideRequest; private ParcelDivideRequest handlerParcelDivideRequest = null; //OnParcelDivideRequest;
private ParcelJoinRequest handler075 = null; //OnParcelJoinRequest; private ParcelJoinRequest handlerParcelJoinRequest = null; //OnParcelJoinRequest;
private ParcelPropertiesUpdateRequest handler076 = null; //OnParcelPropertiesUpdateRequest; private ParcelPropertiesUpdateRequest handlerParcelPropertiesUpdateRequest = null; //OnParcelPropertiesUpdateRequest;
private ParcelSelectObjects handler077 = null; //OnParcelSelectObjects; private ParcelSelectObjects handlerParcelSelectObjects = null; //OnParcelSelectObjects;
private ParcelObjectOwnerRequest handler078 = null; //OnParcelObjectOwnerRequest; private ParcelObjectOwnerRequest handlerParcelObjectOwnerRequest = null; //OnParcelObjectOwnerRequest;
private EstateOwnerMessageRequest handler079 = null; //OnEstateOwnerMessage; private EstateOwnerMessageRequest handlerEstateOwnerMessage = null; //OnEstateOwnerMessage;
private RegionInfoRequest handlerRegionInfoRequest = null; //OnRegionInfoRequest; private RegionInfoRequest handlerRegionInfoRequest = null; //OnRegionInfoRequest;
private EstateCovenantRequest handlerEstateCovenantRequest = null; //OnEstateCovenantRequest; private EstateCovenantRequest handlerEstateCovenantRequest = null; //OnEstateCovenantRequest;
private RequestGodlikePowers handlerReqGodlikePowers = null; //OnRequestGodlikePowers; private RequestGodlikePowers handlerReqGodlikePowers = null; //OnRequestGodlikePowers;
@ -3996,10 +3996,10 @@ namespace OpenSim.Region.ClientStack
UUIDNameRequestPacket incoming = (UUIDNameRequestPacket)Pack; UUIDNameRequestPacket incoming = (UUIDNameRequestPacket)Pack;
foreach (UUIDNameRequestPacket.UUIDNameBlockBlock UUIDBlock in incoming.UUIDNameBlock) foreach (UUIDNameRequestPacket.UUIDNameBlockBlock UUIDBlock in incoming.UUIDNameBlock)
{ {
handler070 = OnNameFromUUIDRequest; handlerNameRequest = OnNameFromUUIDRequest;
if (handler070 != null) if (handlerNameRequest != null)
{ {
handler070(UUIDBlock.ID, this); handlerNameRequest(UUIDBlock.ID, this);
} }
} }
break; break;
@ -4009,11 +4009,11 @@ namespace OpenSim.Region.ClientStack
case PacketType.ParcelAccessListRequest: case PacketType.ParcelAccessListRequest:
ParcelAccessListRequestPacket requestPacket = (ParcelAccessListRequestPacket)Pack; ParcelAccessListRequestPacket requestPacket = (ParcelAccessListRequestPacket)Pack;
handler071 = OnParcelAccessListRequest; handlerParcelAccessListRequest = OnParcelAccessListRequest;
if (handler071 != null) if (handlerParcelAccessListRequest != null)
{ {
handler071(requestPacket.AgentData.AgentID, requestPacket.AgentData.SessionID, handlerParcelAccessListRequest(requestPacket.AgentData.AgentID, requestPacket.AgentData.SessionID,
requestPacket.Data.Flags, requestPacket.Data.SequenceID, requestPacket.Data.Flags, requestPacket.Data.SequenceID,
requestPacket.Data.LocalID, this); requestPacket.Data.LocalID, this);
} }
@ -4031,10 +4031,10 @@ namespace OpenSim.Region.ClientStack
entries.Add(entry); entries.Add(entry);
} }
handler072 = OnParcelAccessListUpdateRequest; handlerParcelAccessListUpdateRequest = OnParcelAccessListUpdateRequest;
if (handler072 != null) if (handlerParcelAccessListUpdateRequest != null)
{ {
handler072(updatePacket.AgentData.AgentID, handlerParcelAccessListUpdateRequest(updatePacket.AgentData.AgentID,
updatePacket.AgentData.SessionID, updatePacket.Data.Flags, updatePacket.AgentData.SessionID, updatePacket.Data.Flags,
updatePacket.Data.LocalID, entries, this); updatePacket.Data.LocalID, entries, this);
} }
@ -4043,10 +4043,10 @@ namespace OpenSim.Region.ClientStack
ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack; ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack;
handler073 = OnParcelPropertiesRequest; handlerParcelPropertiesRequest = OnParcelPropertiesRequest;
if (handler073 != null) if (handlerParcelPropertiesRequest != null)
{ {
handler073((int)Math.Round(propertiesRequest.ParcelData.West), handlerParcelPropertiesRequest((int)Math.Round(propertiesRequest.ParcelData.West),
(int)Math.Round(propertiesRequest.ParcelData.South), (int)Math.Round(propertiesRequest.ParcelData.South),
(int)Math.Round(propertiesRequest.ParcelData.East), (int)Math.Round(propertiesRequest.ParcelData.East),
(int)Math.Round(propertiesRequest.ParcelData.North), (int)Math.Round(propertiesRequest.ParcelData.North),
@ -4057,10 +4057,10 @@ namespace OpenSim.Region.ClientStack
case PacketType.ParcelDivide: case PacketType.ParcelDivide:
ParcelDividePacket landDivide = (ParcelDividePacket)Pack; ParcelDividePacket landDivide = (ParcelDividePacket)Pack;
handler074 = OnParcelDivideRequest; handlerParcelDivideRequest = OnParcelDivideRequest;
if (handler074 != null) if (handlerParcelDivideRequest != null)
{ {
handler074((int)Math.Round(landDivide.ParcelData.West), handlerParcelDivideRequest((int)Math.Round(landDivide.ParcelData.West),
(int)Math.Round(landDivide.ParcelData.South), (int)Math.Round(landDivide.ParcelData.South),
(int)Math.Round(landDivide.ParcelData.East), (int)Math.Round(landDivide.ParcelData.East),
(int)Math.Round(landDivide.ParcelData.North), this); (int)Math.Round(landDivide.ParcelData.North), this);
@ -4069,34 +4069,34 @@ namespace OpenSim.Region.ClientStack
case PacketType.ParcelJoin: case PacketType.ParcelJoin:
ParcelJoinPacket landJoin = (ParcelJoinPacket)Pack; ParcelJoinPacket landJoin = (ParcelJoinPacket)Pack;
handler075 = OnParcelJoinRequest; handlerParcelJoinRequest = OnParcelJoinRequest;
if (handler075 != null) if (handlerParcelJoinRequest != null)
{ {
handler075((int)Math.Round(landJoin.ParcelData.West), handlerParcelJoinRequest((int)Math.Round(landJoin.ParcelData.West),
(int)Math.Round(landJoin.ParcelData.South), (int)Math.Round(landJoin.ParcelData.South),
(int)Math.Round(landJoin.ParcelData.East), (int)Math.Round(landJoin.ParcelData.East),
(int)Math.Round(landJoin.ParcelData.North), this); (int)Math.Round(landJoin.ParcelData.North), this);
} }
break; break;
case PacketType.ParcelPropertiesUpdate: case PacketType.ParcelPropertiesUpdate:
ParcelPropertiesUpdatePacket parcelPropertiesPacket = (ParcelPropertiesUpdatePacket)Pack; ParcelPropertiesUpdatePacket parcelPropertiesPacket = (ParcelPropertiesUpdatePacket)Pack;
handler076 = OnParcelPropertiesUpdateRequest; handlerParcelPropertiesUpdateRequest = OnParcelPropertiesUpdateRequest;
if (handler076 != null) if (handlerParcelPropertiesUpdateRequest != null)
{ {
handler076(parcelPropertiesPacket, this); handlerParcelPropertiesUpdateRequest(parcelPropertiesPacket, this);
} }
break; break;
case PacketType.ParcelSelectObjects: case PacketType.ParcelSelectObjects:
ParcelSelectObjectsPacket selectPacket = (ParcelSelectObjectsPacket)Pack; ParcelSelectObjectsPacket selectPacket = (ParcelSelectObjectsPacket)Pack;
handler077 = OnParcelSelectObjects; handlerParcelSelectObjects = OnParcelSelectObjects;
if (handler077 != null) if (handlerParcelSelectObjects != null)
{ {
handler077(selectPacket.ParcelData.LocalID, handlerParcelSelectObjects(selectPacket.ParcelData.LocalID,
Convert.ToInt32(selectPacket.ParcelData.ReturnType), this); Convert.ToInt32(selectPacket.ParcelData.ReturnType), this);
} }
break; break;
@ -4104,11 +4104,11 @@ namespace OpenSim.Region.ClientStack
//System.Console.WriteLine(Pack.ToString()); //System.Console.WriteLine(Pack.ToString());
ParcelObjectOwnersRequestPacket reqPacket = (ParcelObjectOwnersRequestPacket)Pack; ParcelObjectOwnersRequestPacket reqPacket = (ParcelObjectOwnersRequestPacket)Pack;
handler078 = OnParcelObjectOwnerRequest; handlerParcelObjectOwnerRequest = OnParcelObjectOwnerRequest;
if (handler078 != null) if (handlerParcelObjectOwnerRequest != null)
{ {
handler078(reqPacket.ParcelData.LocalID, this); handlerParcelObjectOwnerRequest(reqPacket.ParcelData.LocalID, this);
} }
break; break;
@ -4119,11 +4119,11 @@ namespace OpenSim.Region.ClientStack
case PacketType.EstateOwnerMessage: case PacketType.EstateOwnerMessage:
EstateOwnerMessagePacket messagePacket = (EstateOwnerMessagePacket)Pack; EstateOwnerMessagePacket messagePacket = (EstateOwnerMessagePacket)Pack;
handler079 = OnEstateOwnerMessage; handlerEstateOwnerMessage = OnEstateOwnerMessage;
if (handler079 != null) if (handlerEstateOwnerMessage != null)
{ {
handler079(messagePacket, this); handlerEstateOwnerMessage(messagePacket, this);
} }
break; break;
case PacketType.RequestRegionInfo: case PacketType.RequestRegionInfo: