diff options
author | Charles Krinke | 2008-03-02 00:07:28 +0000 |
---|---|---|
committer | Charles Krinke | 2008-03-02 00:07:28 +0000 |
commit | fdff8c3fa504a31271050c069722731c41f39f32 (patch) | |
tree | ca35aae7cde07289bae310ac0b27389d1a623fcf | |
parent | Rename handler080 through handler089 with more (diff) | |
download | opensim-SC_OLD-fdff8c3fa504a31271050c069722731c41f39f32.zip opensim-SC_OLD-fdff8c3fa504a31271050c069722731c41f39f32.tar.gz opensim-SC_OLD-fdff8c3fa504a31271050c069722731c41f39f32.tar.bz2 opensim-SC_OLD-fdff8c3fa504a31271050c069722731c41f39f32.tar.xz |
Rename handler070 through handler079 with more
appropriate names consistent with their use.
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index a5c63d6..6cd3b45 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -191,16 +191,16 @@ namespace OpenSim.Region.ClientStack | |||
191 | private RequestMapName handler067 = null; //OnMapNameRequest; | 191 | private RequestMapName handler067 = null; //OnMapNameRequest; |
192 | private TeleportLocationRequest handler068 = null; //OnTeleportLocationRequest; | 192 | private TeleportLocationRequest handler068 = null; //OnTeleportLocationRequest; |
193 | private MoneyBalanceRequest handler069 = null; //OnMoneyBalanceRequest; | 193 | private MoneyBalanceRequest handler069 = null; //OnMoneyBalanceRequest; |
194 | private UUIDNameRequest handler070 = null; | 194 | private UUIDNameRequest handlerNameRequest = null; |
195 | private ParcelAccessListRequest handler071 = null; //OnParcelAccessListRequest; | 195 | private ParcelAccessListRequest handlerParcelAccessListRequest = null; //OnParcelAccessListRequest; |
196 | private ParcelAccessListUpdateRequest handler072 = null; //OnParcelAccessListUpdateRequest; | 196 | private ParcelAccessListUpdateRequest handlerParcelAccessListUpdateRequest = null; //OnParcelAccessListUpdateRequest; |
197 | private ParcelPropertiesRequest handler073 = null; //OnParcelPropertiesRequest; | 197 | private ParcelPropertiesRequest handlerParcelPropertiesRequest = null; //OnParcelPropertiesRequest; |
198 | private ParcelDivideRequest handler074 = null; //OnParcelDivideRequest; | 198 | private ParcelDivideRequest handlerParcelDivideRequest = null; //OnParcelDivideRequest; |
199 | private ParcelJoinRequest handler075 = null; //OnParcelJoinRequest; | 199 | private ParcelJoinRequest handlerParcelJoinRequest = null; //OnParcelJoinRequest; |
200 | private ParcelPropertiesUpdateRequest handler076 = null; //OnParcelPropertiesUpdateRequest; | 200 | private ParcelPropertiesUpdateRequest handlerParcelPropertiesUpdateRequest = null; //OnParcelPropertiesUpdateRequest; |
201 | private ParcelSelectObjects handler077 = null; //OnParcelSelectObjects; | 201 | private ParcelSelectObjects handlerParcelSelectObjects = null; //OnParcelSelectObjects; |
202 | private ParcelObjectOwnerRequest handler078 = null; //OnParcelObjectOwnerRequest; | 202 | private ParcelObjectOwnerRequest handlerParcelObjectOwnerRequest = null; //OnParcelObjectOwnerRequest; |
203 | private EstateOwnerMessageRequest handler079 = null; //OnEstateOwnerMessage; | 203 | private EstateOwnerMessageRequest handlerEstateOwnerMessage = null; //OnEstateOwnerMessage; |
204 | private RegionInfoRequest handlerRegionInfoRequest = null; //OnRegionInfoRequest; | 204 | private RegionInfoRequest handlerRegionInfoRequest = null; //OnRegionInfoRequest; |
205 | private EstateCovenantRequest handlerEstateCovenantRequest = null; //OnEstateCovenantRequest; | 205 | private EstateCovenantRequest handlerEstateCovenantRequest = null; //OnEstateCovenantRequest; |
206 | private RequestGodlikePowers handlerReqGodlikePowers = null; //OnRequestGodlikePowers; | 206 | private RequestGodlikePowers handlerReqGodlikePowers = null; //OnRequestGodlikePowers; |
@@ -3996,10 +3996,10 @@ namespace OpenSim.Region.ClientStack | |||
3996 | UUIDNameRequestPacket incoming = (UUIDNameRequestPacket)Pack; | 3996 | UUIDNameRequestPacket incoming = (UUIDNameRequestPacket)Pack; |
3997 | foreach (UUIDNameRequestPacket.UUIDNameBlockBlock UUIDBlock in incoming.UUIDNameBlock) | 3997 | foreach (UUIDNameRequestPacket.UUIDNameBlockBlock UUIDBlock in incoming.UUIDNameBlock) |
3998 | { | 3998 | { |
3999 | handler070 = OnNameFromUUIDRequest; | 3999 | handlerNameRequest = OnNameFromUUIDRequest; |
4000 | if (handler070 != null) | 4000 | if (handlerNameRequest != null) |
4001 | { | 4001 | { |
4002 | handler070(UUIDBlock.ID, this); | 4002 | handlerNameRequest(UUIDBlock.ID, this); |
4003 | } | 4003 | } |
4004 | } | 4004 | } |
4005 | break; | 4005 | break; |
@@ -4009,11 +4009,11 @@ namespace OpenSim.Region.ClientStack | |||
4009 | case PacketType.ParcelAccessListRequest: | 4009 | case PacketType.ParcelAccessListRequest: |
4010 | ParcelAccessListRequestPacket requestPacket = (ParcelAccessListRequestPacket)Pack; | 4010 | ParcelAccessListRequestPacket requestPacket = (ParcelAccessListRequestPacket)Pack; |
4011 | 4011 | ||
4012 | handler071 = OnParcelAccessListRequest; | 4012 | handlerParcelAccessListRequest = OnParcelAccessListRequest; |
4013 | 4013 | ||
4014 | if (handler071 != null) | 4014 | if (handlerParcelAccessListRequest != null) |
4015 | { | 4015 | { |
4016 | handler071(requestPacket.AgentData.AgentID, requestPacket.AgentData.SessionID, | 4016 | handlerParcelAccessListRequest(requestPacket.AgentData.AgentID, requestPacket.AgentData.SessionID, |
4017 | requestPacket.Data.Flags, requestPacket.Data.SequenceID, | 4017 | requestPacket.Data.Flags, requestPacket.Data.SequenceID, |
4018 | requestPacket.Data.LocalID, this); | 4018 | requestPacket.Data.LocalID, this); |
4019 | } | 4019 | } |
@@ -4031,10 +4031,10 @@ namespace OpenSim.Region.ClientStack | |||
4031 | entries.Add(entry); | 4031 | entries.Add(entry); |
4032 | } | 4032 | } |
4033 | 4033 | ||
4034 | handler072 = OnParcelAccessListUpdateRequest; | 4034 | handlerParcelAccessListUpdateRequest = OnParcelAccessListUpdateRequest; |
4035 | if (handler072 != null) | 4035 | if (handlerParcelAccessListUpdateRequest != null) |
4036 | { | 4036 | { |
4037 | handler072(updatePacket.AgentData.AgentID, | 4037 | handlerParcelAccessListUpdateRequest(updatePacket.AgentData.AgentID, |
4038 | updatePacket.AgentData.SessionID, updatePacket.Data.Flags, | 4038 | updatePacket.AgentData.SessionID, updatePacket.Data.Flags, |
4039 | updatePacket.Data.LocalID, entries, this); | 4039 | updatePacket.Data.LocalID, entries, this); |
4040 | } | 4040 | } |
@@ -4043,10 +4043,10 @@ namespace OpenSim.Region.ClientStack | |||
4043 | 4043 | ||
4044 | ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack; | 4044 | ParcelPropertiesRequestPacket propertiesRequest = (ParcelPropertiesRequestPacket)Pack; |
4045 | 4045 | ||
4046 | handler073 = OnParcelPropertiesRequest; | 4046 | handlerParcelPropertiesRequest = OnParcelPropertiesRequest; |
4047 | if (handler073 != null) | 4047 | if (handlerParcelPropertiesRequest != null) |
4048 | { | 4048 | { |
4049 | handler073((int)Math.Round(propertiesRequest.ParcelData.West), | 4049 | handlerParcelPropertiesRequest((int)Math.Round(propertiesRequest.ParcelData.West), |
4050 | (int)Math.Round(propertiesRequest.ParcelData.South), | 4050 | (int)Math.Round(propertiesRequest.ParcelData.South), |
4051 | (int)Math.Round(propertiesRequest.ParcelData.East), | 4051 | (int)Math.Round(propertiesRequest.ParcelData.East), |
4052 | (int)Math.Round(propertiesRequest.ParcelData.North), | 4052 | (int)Math.Round(propertiesRequest.ParcelData.North), |
@@ -4057,10 +4057,10 @@ namespace OpenSim.Region.ClientStack | |||
4057 | case PacketType.ParcelDivide: | 4057 | case PacketType.ParcelDivide: |
4058 | ParcelDividePacket landDivide = (ParcelDividePacket)Pack; | 4058 | ParcelDividePacket landDivide = (ParcelDividePacket)Pack; |
4059 | 4059 | ||
4060 | handler074 = OnParcelDivideRequest; | 4060 | handlerParcelDivideRequest = OnParcelDivideRequest; |
4061 | if (handler074 != null) | 4061 | if (handlerParcelDivideRequest != null) |
4062 | { | 4062 | { |
4063 | handler074((int)Math.Round(landDivide.ParcelData.West), | 4063 | handlerParcelDivideRequest((int)Math.Round(landDivide.ParcelData.West), |
4064 | (int)Math.Round(landDivide.ParcelData.South), | 4064 | (int)Math.Round(landDivide.ParcelData.South), |
4065 | (int)Math.Round(landDivide.ParcelData.East), | 4065 | (int)Math.Round(landDivide.ParcelData.East), |
4066 | (int)Math.Round(landDivide.ParcelData.North), this); | 4066 | (int)Math.Round(landDivide.ParcelData.North), this); |
@@ -4069,34 +4069,34 @@ namespace OpenSim.Region.ClientStack | |||
4069 | case PacketType.ParcelJoin: | 4069 | case PacketType.ParcelJoin: |
4070 | ParcelJoinPacket landJoin = (ParcelJoinPacket)Pack; | 4070 | ParcelJoinPacket landJoin = (ParcelJoinPacket)Pack; |
4071 | 4071 | ||
4072 | handler075 = OnParcelJoinRequest; | 4072 | handlerParcelJoinRequest = OnParcelJoinRequest; |
4073 | 4073 | ||
4074 | if (handler075 != null) | 4074 | if (handlerParcelJoinRequest != null) |
4075 | { | 4075 | { |
4076 | handler075((int)Math.Round(landJoin.ParcelData.West), | 4076 | handlerParcelJoinRequest((int)Math.Round(landJoin.ParcelData.West), |
4077 | (int)Math.Round(landJoin.ParcelData.South), | 4077 | (int)Math.Round(landJoin.ParcelData.South), |
4078 | (int)Math.Round(landJoin.ParcelData.East), | 4078 | (int)Math.Round(landJoin.ParcelData.East), |
4079 | (int)Math.Round(landJoin.ParcelData.North), this); | 4079 | (int)Math.Round(landJoin.ParcelData.North), this); |
4080 | } | 4080 | } |
4081 | break; | 4081 | break; |
4082 | case PacketType.ParcelPropertiesUpdate: | 4082 | case PacketType.ParcelPropertiesUpdate: |
4083 | ParcelPropertiesUpdatePacket parcelPropertiesPacket = (ParcelPropertiesUpdatePacket)Pack; | 4083 | ParcelPropertiesUpdatePacket parcelPropertiesPacket = (ParcelPropertiesUpdatePacket)Pack; |
4084 | 4084 | ||
4085 | handler076 = OnParcelPropertiesUpdateRequest; | 4085 | handlerParcelPropertiesUpdateRequest = OnParcelPropertiesUpdateRequest; |
4086 | 4086 | ||
4087 | if (handler076 != null) | 4087 | if (handlerParcelPropertiesUpdateRequest != null) |
4088 | { | 4088 | { |
4089 | handler076(parcelPropertiesPacket, this); | 4089 | handlerParcelPropertiesUpdateRequest(parcelPropertiesPacket, this); |
4090 | } | 4090 | } |
4091 | break; | 4091 | break; |
4092 | case PacketType.ParcelSelectObjects: | 4092 | case PacketType.ParcelSelectObjects: |
4093 | ParcelSelectObjectsPacket selectPacket = (ParcelSelectObjectsPacket)Pack; | 4093 | ParcelSelectObjectsPacket selectPacket = (ParcelSelectObjectsPacket)Pack; |
4094 | 4094 | ||
4095 | handler077 = OnParcelSelectObjects; | 4095 | handlerParcelSelectObjects = OnParcelSelectObjects; |
4096 | 4096 | ||
4097 | if (handler077 != null) | 4097 | if (handlerParcelSelectObjects != null) |
4098 | { | 4098 | { |
4099 | handler077(selectPacket.ParcelData.LocalID, | 4099 | handlerParcelSelectObjects(selectPacket.ParcelData.LocalID, |
4100 | Convert.ToInt32(selectPacket.ParcelData.ReturnType), this); | 4100 | Convert.ToInt32(selectPacket.ParcelData.ReturnType), this); |
4101 | } | 4101 | } |
4102 | break; | 4102 | break; |
@@ -4104,11 +4104,11 @@ namespace OpenSim.Region.ClientStack | |||
4104 | //System.Console.WriteLine(Pack.ToString()); | 4104 | //System.Console.WriteLine(Pack.ToString()); |
4105 | ParcelObjectOwnersRequestPacket reqPacket = (ParcelObjectOwnersRequestPacket)Pack; | 4105 | ParcelObjectOwnersRequestPacket reqPacket = (ParcelObjectOwnersRequestPacket)Pack; |
4106 | 4106 | ||
4107 | handler078 = OnParcelObjectOwnerRequest; | 4107 | handlerParcelObjectOwnerRequest = OnParcelObjectOwnerRequest; |
4108 | 4108 | ||
4109 | if (handler078 != null) | 4109 | if (handlerParcelObjectOwnerRequest != null) |
4110 | { | 4110 | { |
4111 | handler078(reqPacket.ParcelData.LocalID, this); | 4111 | handlerParcelObjectOwnerRequest(reqPacket.ParcelData.LocalID, this); |
4112 | } | 4112 | } |
4113 | break; | 4113 | break; |
4114 | 4114 | ||
@@ -4119,11 +4119,11 @@ namespace OpenSim.Region.ClientStack | |||
4119 | case PacketType.EstateOwnerMessage: | 4119 | case PacketType.EstateOwnerMessage: |
4120 | EstateOwnerMessagePacket messagePacket = (EstateOwnerMessagePacket)Pack; | 4120 | EstateOwnerMessagePacket messagePacket = (EstateOwnerMessagePacket)Pack; |
4121 | 4121 | ||
4122 | handler079 = OnEstateOwnerMessage; | 4122 | handlerEstateOwnerMessage = OnEstateOwnerMessage; |
4123 | 4123 | ||
4124 | if (handler079 != null) | 4124 | if (handlerEstateOwnerMessage != null) |
4125 | { | 4125 | { |
4126 | handler079(messagePacket, this); | 4126 | handlerEstateOwnerMessage(messagePacket, this); |
4127 | } | 4127 | } |
4128 | break; | 4128 | break; |
4129 | case PacketType.RequestRegionInfo: | 4129 | case PacketType.RequestRegionInfo: |