diff options
author | Charles Krinke | 2008-03-02 01:43:52 +0000 |
---|---|---|
committer | Charles Krinke | 2008-03-02 01:43:52 +0000 |
commit | c9e8d83fc93ce1860e95e62ef7f67cea6f3989f6 (patch) | |
tree | 62b67b562ce0a1eec4ff4718e9d8d04783c86b60 /OpenSim/Region | |
parent | Rename handler070 through handler079 with more (diff) | |
download | opensim-SC_OLD-c9e8d83fc93ce1860e95e62ef7f67cea6f3989f6.zip opensim-SC_OLD-c9e8d83fc93ce1860e95e62ef7f67cea6f3989f6.tar.gz opensim-SC_OLD-c9e8d83fc93ce1860e95e62ef7f67cea6f3989f6.tar.bz2 opensim-SC_OLD-c9e8d83fc93ce1860e95e62ef7f67cea6f3989f6.tar.xz |
Rename handler060 through handler069 with more
appropriate names consistent with their use.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 6cd3b45..25fbbd8 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -181,16 +181,16 @@ namespace OpenSim.Region.ClientStack | |||
181 | private UpdateInventoryItem handler057 = null; | 181 | private UpdateInventoryItem handler057 = null; |
182 | private CopyInventoryItem handler058 = null; | 182 | private CopyInventoryItem handler058 = null; |
183 | private MoveInventoryItem handler059 = null; | 183 | private MoveInventoryItem handler059 = null; |
184 | private RemoveInventoryItem handler060 = null; | 184 | private RemoveInventoryItem handlerRemoveInventoryItem = null; |
185 | private RemoveInventoryFolder handler061 = null; | 185 | private RemoveInventoryFolder handlerRemoveInventoryFolder = null; |
186 | private RequestTaskInventory handler062 = null; //OnRequestTaskInventory; | 186 | private RequestTaskInventory handlerRequestTaskInventory = null; //OnRequestTaskInventory; |
187 | private UpdateTaskInventory handler063 = null; //OnUpdateTaskInventory; | 187 | private UpdateTaskInventory handlerUpdateTaskInventory = null; //OnUpdateTaskInventory; |
188 | private RemoveTaskInventory handler064 = null; //OnRemoveTaskItem; | 188 | private RemoveTaskInventory handlerRemoveTaskItem = null; //OnRemoveTaskItem; |
189 | private RezScript handler065 = null; //OnRezScript; | 189 | private RezScript handlerRezScript = null; //OnRezScript; |
190 | private RequestMapBlocks handler066 = null; //OnRequestMapBlocks; | 190 | private RequestMapBlocks handlerRequestMapBlocks = null; //OnRequestMapBlocks; |
191 | private RequestMapName handler067 = null; //OnMapNameRequest; | 191 | private RequestMapName handlerMapNameRequest = null; //OnMapNameRequest; |
192 | private TeleportLocationRequest handler068 = null; //OnTeleportLocationRequest; | 192 | private TeleportLocationRequest handlerTeleportLocationRequest = null; //OnTeleportLocationRequest; |
193 | private MoneyBalanceRequest handler069 = null; //OnMoneyBalanceRequest; | 193 | private MoneyBalanceRequest handlerMoneyBalanceRequest = null; //OnMoneyBalanceRequest; |
194 | private UUIDNameRequest handlerNameRequest = null; | 194 | private UUIDNameRequest handlerNameRequest = null; |
195 | private ParcelAccessListRequest handlerParcelAccessListRequest = null; //OnParcelAccessListRequest; | 195 | private ParcelAccessListRequest handlerParcelAccessListRequest = null; //OnParcelAccessListRequest; |
196 | private ParcelAccessListUpdateRequest handlerParcelAccessListUpdateRequest = null; //OnParcelAccessListUpdateRequest; | 196 | private ParcelAccessListUpdateRequest handlerParcelAccessListUpdateRequest = null; //OnParcelAccessListUpdateRequest; |
@@ -3812,13 +3812,13 @@ namespace OpenSim.Region.ClientStack | |||
3812 | RemoveInventoryItemPacket removeItem = (RemoveInventoryItemPacket)Pack; | 3812 | RemoveInventoryItemPacket removeItem = (RemoveInventoryItemPacket)Pack; |
3813 | if (OnRemoveInventoryItem != null) | 3813 | if (OnRemoveInventoryItem != null) |
3814 | { | 3814 | { |
3815 | handler060 = null; | 3815 | handlerRemoveInventoryItem = null; |
3816 | foreach (RemoveInventoryItemPacket.InventoryDataBlock datablock in removeItem.InventoryData) | 3816 | foreach (RemoveInventoryItemPacket.InventoryDataBlock datablock in removeItem.InventoryData) |
3817 | { | 3817 | { |
3818 | handler060 = OnRemoveInventoryItem; | 3818 | handlerRemoveInventoryItem = OnRemoveInventoryItem; |
3819 | if (handler060 != null) | 3819 | if (handlerRemoveInventoryItem != null) |
3820 | { | 3820 | { |
3821 | handler060(this, datablock.ItemID); | 3821 | handlerRemoveInventoryItem(this, datablock.ItemID); |
3822 | } | 3822 | } |
3823 | } | 3823 | } |
3824 | } | 3824 | } |
@@ -3827,14 +3827,14 @@ namespace OpenSim.Region.ClientStack | |||
3827 | RemoveInventoryFolderPacket removeFolder = (RemoveInventoryFolderPacket)Pack; | 3827 | RemoveInventoryFolderPacket removeFolder = (RemoveInventoryFolderPacket)Pack; |
3828 | if (OnRemoveInventoryFolder != null) | 3828 | if (OnRemoveInventoryFolder != null) |
3829 | { | 3829 | { |
3830 | handler061 = null; | 3830 | handlerRemoveInventoryFolder = null; |
3831 | foreach (RemoveInventoryFolderPacket.FolderDataBlock datablock in removeFolder.FolderData) | 3831 | foreach (RemoveInventoryFolderPacket.FolderDataBlock datablock in removeFolder.FolderData) |
3832 | { | 3832 | { |
3833 | handler061 = OnRemoveInventoryFolder; | 3833 | handlerRemoveInventoryFolder = OnRemoveInventoryFolder; |
3834 | 3834 | ||
3835 | if (handler061 != null) | 3835 | if (handlerRemoveInventoryFolder != null) |
3836 | { | 3836 | { |
3837 | handler061(this, datablock.FolderID); | 3837 | handlerRemoveInventoryFolder(this, datablock.FolderID); |
3838 | } | 3838 | } |
3839 | } | 3839 | } |
3840 | } | 3840 | } |
@@ -3842,10 +3842,10 @@ namespace OpenSim.Region.ClientStack | |||
3842 | case PacketType.RequestTaskInventory: | 3842 | case PacketType.RequestTaskInventory: |
3843 | RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket)Pack; | 3843 | RequestTaskInventoryPacket requesttask = (RequestTaskInventoryPacket)Pack; |
3844 | 3844 | ||
3845 | handler062 = OnRequestTaskInventory; | 3845 | handlerRequestTaskInventory = OnRequestTaskInventory; |
3846 | if (handler062 != null) | 3846 | if (handlerRequestTaskInventory != null) |
3847 | { | 3847 | { |
3848 | handler062(this, requesttask.InventoryData.LocalID); | 3848 | handlerRequestTaskInventory(this, requesttask.InventoryData.LocalID); |
3849 | } | 3849 | } |
3850 | break; | 3850 | break; |
3851 | case PacketType.UpdateTaskInventory: | 3851 | case PacketType.UpdateTaskInventory: |
@@ -3854,10 +3854,10 @@ namespace OpenSim.Region.ClientStack | |||
3854 | { | 3854 | { |
3855 | if (updatetask.UpdateData.Key == 0) | 3855 | if (updatetask.UpdateData.Key == 0) |
3856 | { | 3856 | { |
3857 | handler063 = OnUpdateTaskInventory; | 3857 | handlerUpdateTaskInventory = OnUpdateTaskInventory; |
3858 | if (handler063 != null) | 3858 | if (handlerUpdateTaskInventory != null) |
3859 | { | 3859 | { |
3860 | handler063(this, updatetask.InventoryData.ItemID, | 3860 | handlerUpdateTaskInventory(this, updatetask.InventoryData.ItemID, |
3861 | updatetask.InventoryData.FolderID, updatetask.UpdateData.LocalID); | 3861 | updatetask.InventoryData.FolderID, updatetask.UpdateData.LocalID); |
3862 | } | 3862 | } |
3863 | } | 3863 | } |
@@ -3866,11 +3866,11 @@ namespace OpenSim.Region.ClientStack | |||
3866 | case PacketType.RemoveTaskInventory: | 3866 | case PacketType.RemoveTaskInventory: |
3867 | RemoveTaskInventoryPacket removeTask = (RemoveTaskInventoryPacket)Pack; | 3867 | RemoveTaskInventoryPacket removeTask = (RemoveTaskInventoryPacket)Pack; |
3868 | 3868 | ||
3869 | handler064 = OnRemoveTaskItem; | 3869 | handlerRemoveTaskItem = OnRemoveTaskItem; |
3870 | 3870 | ||
3871 | if (handler064 != null) | 3871 | if (handlerRemoveTaskItem != null) |
3872 | { | 3872 | { |
3873 | handler064(this, removeTask.InventoryData.ItemID, removeTask.InventoryData.LocalID); | 3873 | handlerRemoveTaskItem(this, removeTask.InventoryData.ItemID, removeTask.InventoryData.LocalID); |
3874 | } | 3874 | } |
3875 | break; | 3875 | break; |
3876 | case PacketType.MoveTaskInventory: | 3876 | case PacketType.MoveTaskInventory: |
@@ -3880,11 +3880,11 @@ namespace OpenSim.Region.ClientStack | |||
3880 | //Console.WriteLine(Pack.ToString()); | 3880 | //Console.WriteLine(Pack.ToString()); |
3881 | RezScriptPacket rezScriptx = (RezScriptPacket)Pack; | 3881 | RezScriptPacket rezScriptx = (RezScriptPacket)Pack; |
3882 | 3882 | ||
3883 | handler065 = OnRezScript; | 3883 | handlerRezScript = OnRezScript; |
3884 | 3884 | ||
3885 | if (handler065 != null) | 3885 | if (handlerRezScript != null) |
3886 | { | 3886 | { |
3887 | handler065(this, rezScriptx.InventoryBlock.ItemID, rezScriptx.UpdateBlock.ObjectLocalID); | 3887 | handlerRezScript(this, rezScriptx.InventoryBlock.ItemID, rezScriptx.UpdateBlock.ObjectLocalID); |
3888 | } | 3888 | } |
3889 | break; | 3889 | break; |
3890 | case PacketType.MapLayerRequest: | 3890 | case PacketType.MapLayerRequest: |
@@ -3893,10 +3893,10 @@ namespace OpenSim.Region.ClientStack | |||
3893 | case PacketType.MapBlockRequest: | 3893 | case PacketType.MapBlockRequest: |
3894 | MapBlockRequestPacket MapRequest = (MapBlockRequestPacket)Pack; | 3894 | MapBlockRequestPacket MapRequest = (MapBlockRequestPacket)Pack; |
3895 | 3895 | ||
3896 | handler066 = OnRequestMapBlocks; | 3896 | handlerRequestMapBlocks = OnRequestMapBlocks; |
3897 | if (handler066 != null) | 3897 | if (handlerRequestMapBlocks != null) |
3898 | { | 3898 | { |
3899 | handler066(this, MapRequest.PositionData.MinX, MapRequest.PositionData.MinY, | 3899 | handlerRequestMapBlocks(this, MapRequest.PositionData.MinX, MapRequest.PositionData.MinY, |
3900 | MapRequest.PositionData.MaxX, MapRequest.PositionData.MaxY); | 3900 | MapRequest.PositionData.MaxX, MapRequest.PositionData.MaxY); |
3901 | } | 3901 | } |
3902 | break; | 3902 | break; |
@@ -3904,10 +3904,10 @@ namespace OpenSim.Region.ClientStack | |||
3904 | MapNameRequestPacket map = (MapNameRequestPacket)Pack; | 3904 | MapNameRequestPacket map = (MapNameRequestPacket)Pack; |
3905 | string mapName = UTF8Encoding.UTF8.GetString(map.NameData.Name, 0, | 3905 | string mapName = UTF8Encoding.UTF8.GetString(map.NameData.Name, 0, |
3906 | map.NameData.Name.Length - 1); | 3906 | map.NameData.Name.Length - 1); |
3907 | handler067 = OnMapNameRequest; | 3907 | handlerMapNameRequest = OnMapNameRequest; |
3908 | if (handler067 != null) | 3908 | if (handlerMapNameRequest != null) |
3909 | { | 3909 | { |
3910 | handler067(this, mapName); | 3910 | handlerMapNameRequest(this, mapName); |
3911 | } | 3911 | } |
3912 | break; | 3912 | break; |
3913 | case PacketType.TeleportLandmarkRequest: | 3913 | case PacketType.TeleportLandmarkRequest: |
@@ -3962,10 +3962,10 @@ namespace OpenSim.Region.ClientStack | |||
3962 | TeleportLocationRequestPacket tpLocReq = (TeleportLocationRequestPacket)Pack; | 3962 | TeleportLocationRequestPacket tpLocReq = (TeleportLocationRequestPacket)Pack; |
3963 | // Console.WriteLine(tpLocReq.ToString()); | 3963 | // Console.WriteLine(tpLocReq.ToString()); |
3964 | 3964 | ||
3965 | handler068 = OnTeleportLocationRequest; | 3965 | handlerTeleportLocationRequest = OnTeleportLocationRequest; |
3966 | if (handler068 != null) | 3966 | if (handlerTeleportLocationRequest != null) |
3967 | { | 3967 | { |
3968 | handler068(this, tpLocReq.Info.RegionHandle, tpLocReq.Info.Position, | 3968 | handlerTeleportLocationRequest(this, tpLocReq.Info.RegionHandle, tpLocReq.Info.Position, |
3969 | tpLocReq.Info.LookAt, 16); | 3969 | tpLocReq.Info.LookAt, 16); |
3970 | } | 3970 | } |
3971 | else | 3971 | else |
@@ -3983,11 +3983,11 @@ namespace OpenSim.Region.ClientStack | |||
3983 | case PacketType.MoneyBalanceRequest: | 3983 | case PacketType.MoneyBalanceRequest: |
3984 | MoneyBalanceRequestPacket moneybalancerequestpacket = (MoneyBalanceRequestPacket)Pack; | 3984 | MoneyBalanceRequestPacket moneybalancerequestpacket = (MoneyBalanceRequestPacket)Pack; |
3985 | 3985 | ||
3986 | handler069 = OnMoneyBalanceRequest; | 3986 | handlerMoneyBalanceRequest = OnMoneyBalanceRequest; |
3987 | 3987 | ||
3988 | if (handler069 != null) | 3988 | if (handlerMoneyBalanceRequest != null) |
3989 | { | 3989 | { |
3990 | handler069(this, moneybalancerequestpacket.AgentData.AgentID, moneybalancerequestpacket.AgentData.SessionID, moneybalancerequestpacket.MoneyData.TransactionID); | 3990 | handlerMoneyBalanceRequest(this, moneybalancerequestpacket.AgentData.AgentID, moneybalancerequestpacket.AgentData.SessionID, moneybalancerequestpacket.MoneyData.TransactionID); |
3991 | } | 3991 | } |
3992 | 3992 | ||
3993 | 3993 | ||