aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs22
1 files changed, 21 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 70abe77..34cad7b 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -220,6 +220,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
220 public event FriendActionDelegate OnApproveFriendRequest; 220 public event FriendActionDelegate OnApproveFriendRequest;
221 public event FriendActionDelegate OnDenyFriendRequest; 221 public event FriendActionDelegate OnDenyFriendRequest;
222 public event FriendshipTermination OnTerminateFriendship; 222 public event FriendshipTermination OnTerminateFriendship;
223 public event GrantUserFriendRights OnGrantUserRights;
223 public event MoneyTransferRequest OnMoneyTransferRequest; 224 public event MoneyTransferRequest OnMoneyTransferRequest;
224 public event EconomyDataRequest OnEconomyDataRequest; 225 public event EconomyDataRequest OnEconomyDataRequest;
225 public event MoneyBalanceRequest OnMoneyBalanceRequest; 226 public event MoneyBalanceRequest OnMoneyBalanceRequest;
@@ -9719,7 +9720,26 @@ namespace OpenSim.Region.ClientStack.LindenUDP
9719 Utils.BytesToString(avatarInterestUpdate.PropertiesData.SkillsText), 9720 Utils.BytesToString(avatarInterestUpdate.PropertiesData.SkillsText),
9720 Utils.BytesToString(avatarInterestUpdate.PropertiesData.LanguagesText)); 9721 Utils.BytesToString(avatarInterestUpdate.PropertiesData.LanguagesText));
9721 break; 9722 break;
9722 9723
9724 case PacketType.GrantUserRights:
9725 GrantUserRightsPacket GrantUserRights =
9726 (GrantUserRightsPacket)Pack;
9727 #region Packet Session and User Check
9728 if (m_checkPackets)
9729 {
9730 if (GrantUserRights.AgentData.SessionID != SessionId ||
9731 GrantUserRights.AgentData.AgentID != AgentId)
9732 break;
9733 }
9734 #endregion
9735 GrantUserFriendRights GrantUserRightsHandler = OnGrantUserRights;
9736 if (GrantUserRightsHandler != null)
9737 GrantUserRightsHandler(this,
9738 GrantUserRights.AgentData.AgentID,
9739 GrantUserRights.Rights[0].AgentRelated,
9740 GrantUserRights.Rights[0].RelatedRights);
9741 break;
9742
9723 case PacketType.PlacesQuery: 9743 case PacketType.PlacesQuery:
9724 PlacesQueryPacket placesQueryPacket = 9744 PlacesQueryPacket placesQueryPacket =
9725 (PlacesQueryPacket)Pack; 9745 (PlacesQueryPacket)Pack;