diff options
Diffstat (limited to 'OpenSim/Region')
3 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 3186dff..effa8d0 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -286,6 +286,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
286 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 286 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
287 | public event SimWideDeletesDelegate OnSimWideDeletes; | 287 | public event SimWideDeletesDelegate OnSimWideDeletes; |
288 | public event SendPostcard OnSendPostcard; | 288 | public event SendPostcard OnSendPostcard; |
289 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
289 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 290 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
290 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 291 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
291 | public event GodlikeMessage onGodlikeMessage; | 292 | public event GodlikeMessage onGodlikeMessage; |
@@ -5344,6 +5345,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5344 | AddLocalPacketHandler(PacketType.GroupVoteHistoryRequest, HandleGroupVoteHistoryRequest); | 5345 | AddLocalPacketHandler(PacketType.GroupVoteHistoryRequest, HandleGroupVoteHistoryRequest); |
5345 | AddLocalPacketHandler(PacketType.SimWideDeletes, HandleSimWideDeletes); | 5346 | AddLocalPacketHandler(PacketType.SimWideDeletes, HandleSimWideDeletes); |
5346 | AddLocalPacketHandler(PacketType.SendPostcard, HandleSendPostcard); | 5347 | AddLocalPacketHandler(PacketType.SendPostcard, HandleSendPostcard); |
5348 | AddLocalPacketHandler(PacketType.ChangeInventoryItemFlags, HandleChangeInventoryItemFlags); | ||
5347 | 5349 | ||
5348 | AddGenericPacketHandler("autopilot", HandleAutopilot); | 5350 | AddGenericPacketHandler("autopilot", HandleAutopilot); |
5349 | } | 5351 | } |
@@ -9822,6 +9824,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9822 | return false; | 9824 | return false; |
9823 | } | 9825 | } |
9824 | 9826 | ||
9827 | private bool HandleChangeInventoryItemFlags(IClientAPI client, Packet packet) | ||
9828 | { | ||
9829 | ChangeInventoryItemFlagsPacket ChangeInventoryItemFlags = | ||
9830 | (ChangeInventoryItemFlagsPacket)packet; | ||
9831 | ChangeInventoryItemFlags handlerChangeInventoryItemFlags = OnChangeInventoryItemFlags; | ||
9832 | if (handlerChangeInventoryItemFlags != null) | ||
9833 | { | ||
9834 | foreach(ChangeInventoryItemFlagsPacket.InventoryDataBlock b in ChangeInventoryItemFlags.InventoryData) | ||
9835 | handlerChangeInventoryItemFlags(this, b.ItemID, b.Flags); | ||
9836 | return true; | ||
9837 | } | ||
9838 | return false; | ||
9839 | } | ||
9840 | |||
9825 | private bool HandleUseCircuitCode(IClientAPI sender, Packet Pack) | 9841 | private bool HandleUseCircuitCode(IClientAPI sender, Packet Pack) |
9826 | { | 9842 | { |
9827 | return true; | 9843 | return true; |
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs index 9fa243e..60d3c2d 100644 --- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs +++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | |||
@@ -860,6 +860,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server | |||
860 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 860 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
861 | public event SimWideDeletesDelegate OnSimWideDeletes; | 861 | public event SimWideDeletesDelegate OnSimWideDeletes; |
862 | public event SendPostcard OnSendPostcard; | 862 | public event SendPostcard OnSendPostcard; |
863 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
863 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 864 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
864 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 865 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
865 | public event GodlikeMessage onGodlikeMessage; | 866 | public event GodlikeMessage onGodlikeMessage; |
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs index a29ed21..2b60cc3 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs | |||
@@ -400,6 +400,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC | |||
400 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; | 400 | public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; |
401 | public event SimWideDeletesDelegate OnSimWideDeletes; | 401 | public event SimWideDeletesDelegate OnSimWideDeletes; |
402 | public event SendPostcard OnSendPostcard; | 402 | public event SendPostcard OnSendPostcard; |
403 | public event ChangeInventoryItemFlags OnChangeInventoryItemFlags; | ||
403 | public event MuteListEntryUpdate OnUpdateMuteListEntry; | 404 | public event MuteListEntryUpdate OnUpdateMuteListEntry; |
404 | public event MuteListEntryRemove OnRemoveMuteListEntry; | 405 | public event MuteListEntryRemove OnRemoveMuteListEntry; |
405 | public event GodlikeMessage onGodlikeMessage; | 406 | public event GodlikeMessage onGodlikeMessage; |