diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 92275e8..102b9c4 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -259,6 +259,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
259 | //Gesture | 259 | //Gesture |
260 | private ActivateGesture handlerActivateGesture = null; | 260 | private ActivateGesture handlerActivateGesture = null; |
261 | private DeactivateGesture handlerDeactivateGesture = null; | 261 | private DeactivateGesture handlerDeactivateGesture = null; |
262 | private ObjectOwner handlerObjectOwner = null; | ||
262 | 263 | ||
263 | private DirPlacesQuery handlerDirPlacesQuery = null; | 264 | private DirPlacesQuery handlerDirPlacesQuery = null; |
264 | 265 | ||
@@ -987,6 +988,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
987 | 988 | ||
988 | public event ActivateGesture OnActivateGesture; | 989 | public event ActivateGesture OnActivateGesture; |
989 | public event DeactivateGesture OnDeactivateGesture; | 990 | public event DeactivateGesture OnDeactivateGesture; |
991 | public event ObjectOwner OnObjectOwner; | ||
990 | 992 | ||
991 | public event DirPlacesQuery OnDirPlacesQuery; | 993 | public event DirPlacesQuery OnDirPlacesQuery; |
992 | 994 | ||
@@ -6186,6 +6188,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6186 | handlerDeactivateGesture(this, deactivateGesturePacket.Data[0].ItemID); | 6188 | handlerDeactivateGesture(this, deactivateGesturePacket.Data[0].ItemID); |
6187 | } | 6189 | } |
6188 | break; | 6190 | break; |
6191 | case PacketType.ObjectOwner: | ||
6192 | ObjectOwnerPacket objectOwnerPacket = (ObjectOwnerPacket)Pack; | ||
6193 | |||
6194 | List<uint> localIDs = new List<uint>(); | ||
6195 | |||
6196 | foreach (ObjectOwnerPacket.ObjectDataBlock d in objectOwnerPacket.ObjectData) | ||
6197 | localIDs.Add(d.ObjectLocalID); | ||
6198 | |||
6199 | handlerObjectOwner = OnObjectOwner; | ||
6200 | if (handlerObjectOwner != null) | ||
6201 | { | ||
6202 | handlerObjectOwner(this, objectOwnerPacket.HeaderData.OwnerID, objectOwnerPacket.HeaderData.GroupID, localIDs); | ||
6203 | } | ||
6204 | break; | ||
6189 | 6205 | ||
6190 | #endregion | 6206 | #endregion |
6191 | 6207 | ||