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.cs442
1 files changed, 208 insertions, 234 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 139dc3b..bc9cfcf 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -58,6 +58,209 @@ namespace OpenSim.Region.ClientStack.LindenUDP
58 /// </summary> 58 /// </summary>
59 public class LLClientView : IClientAPI, IClientCore, IClientIM, IClientChat, IClientIPEndpoint, IStatsCollector 59 public class LLClientView : IClientAPI, IClientCore, IClientIM, IClientChat, IClientIPEndpoint, IStatsCollector
60 { 60 {
61 #region Events
62
63 public event GenericMessage OnGenericMessage;
64 public event BinaryGenericMessage OnBinaryGenericMessage;
65 public event Action<IClientAPI> OnLogout;
66 public event ObjectPermissions OnObjectPermissions;
67 public event Action<IClientAPI> OnConnectionClosed;
68 public event ViewerEffectEventHandler OnViewerEffect;
69 public event ImprovedInstantMessage OnInstantMessage;
70 public event ChatMessage OnChatFromClient;
71 public event TextureRequest OnRequestTexture;
72 public event RezObject OnRezObject;
73 public event DeRezObject OnDeRezObject;
74 public event ModifyTerrain OnModifyTerrain;
75 public event Action<IClientAPI> OnRegionHandShakeReply;
76 public event GenericCall2 OnRequestWearables;
77 public event SetAppearance OnSetAppearance;
78 public event AvatarNowWearing OnAvatarNowWearing;
79 public event RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv;
80 public event RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv;
81 public event UUIDNameRequest OnDetachAttachmentIntoInv;
82 public event ObjectAttach OnObjectAttach;
83 public event ObjectDeselect OnObjectDetach;
84 public event ObjectDrop OnObjectDrop;
85 public event GenericCall2 OnCompleteMovementToRegion;
86 public event UpdateAgent OnAgentUpdate;
87 public event AgentRequestSit OnAgentRequestSit;
88 public event AgentSit OnAgentSit;
89 public event AvatarPickerRequest OnAvatarPickerRequest;
90 public event StartAnim OnStartAnim;
91 public event StopAnim OnStopAnim;
92 public event Action<IClientAPI> OnRequestAvatarsData;
93 public event LinkObjects OnLinkObjects;
94 public event DelinkObjects OnDelinkObjects;
95 public event GrabObject OnGrabObject;
96 public event DeGrabObject OnDeGrabObject;
97 public event SpinStart OnSpinStart;
98 public event SpinStop OnSpinStop;
99 public event ObjectDuplicate OnObjectDuplicate;
100 public event ObjectDuplicateOnRay OnObjectDuplicateOnRay;
101 public event MoveObject OnGrabUpdate;
102 public event SpinObject OnSpinUpdate;
103 public event AddNewPrim OnAddPrim;
104 public event RequestGodlikePowers OnRequestGodlikePowers;
105 public event GodKickUser OnGodKickUser;
106 public event ObjectExtraParams OnUpdateExtraParams;
107 public event UpdateShape OnUpdatePrimShape;
108 public event ObjectRequest OnObjectRequest;
109 public event ObjectSelect OnObjectSelect;
110 public event ObjectDeselect OnObjectDeselect;
111 public event GenericCall7 OnObjectDescription;
112 public event GenericCall7 OnObjectName;
113 public event GenericCall7 OnObjectClickAction;
114 public event GenericCall7 OnObjectMaterial;
115 public event ObjectIncludeInSearch OnObjectIncludeInSearch;
116 public event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily;
117 public event UpdatePrimFlags OnUpdatePrimFlags;
118 public event UpdatePrimTexture OnUpdatePrimTexture;
119 public event UpdateVector OnUpdatePrimGroupPosition;
120 public event UpdateVector OnUpdatePrimSinglePosition;
121 public event UpdatePrimRotation OnUpdatePrimGroupRotation;
122 public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation;
123 public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition;
124 public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation;
125 public event UpdateVector OnUpdatePrimScale;
126 public event UpdateVector OnUpdatePrimGroupScale;
127 public event StatusChange OnChildAgentStatus;
128 public event GenericCall2 OnStopMovement;
129 public event Action<UUID> OnRemoveAvatar;
130 public event RequestMapBlocks OnRequestMapBlocks;
131 public event RequestMapName OnMapNameRequest;
132 public event TeleportLocationRequest OnTeleportLocationRequest;
133 public event TeleportLandmarkRequest OnTeleportLandmarkRequest;
134 public event DisconnectUser OnDisconnectUser;
135 public event RequestAvatarProperties OnRequestAvatarProperties;
136 public event SetAlwaysRun OnSetAlwaysRun;
137 public event FetchInventory OnAgentDataUpdateRequest;
138 public event TeleportLocationRequest OnSetStartLocationRequest;
139 public event UpdateAvatarProperties OnUpdateAvatarProperties;
140 public event CreateNewInventoryItem OnCreateNewInventoryItem;
141 public event CreateInventoryFolder OnCreateNewInventoryFolder;
142 public event UpdateInventoryFolder OnUpdateInventoryFolder;
143 public event MoveInventoryFolder OnMoveInventoryFolder;
144 public event FetchInventoryDescendents OnFetchInventoryDescendents;
145 public event PurgeInventoryDescendents OnPurgeInventoryDescendents;
146 public event FetchInventory OnFetchInventory;
147 public event RequestTaskInventory OnRequestTaskInventory;
148 public event UpdateInventoryItem OnUpdateInventoryItem;
149 public event CopyInventoryItem OnCopyInventoryItem;
150 public event MoveInventoryItem OnMoveInventoryItem;
151 public event RemoveInventoryItem OnRemoveInventoryItem;
152 public event RemoveInventoryFolder OnRemoveInventoryFolder;
153 public event UDPAssetUploadRequest OnAssetUploadRequest;
154 public event XferReceive OnXferReceive;
155 public event RequestXfer OnRequestXfer;
156 public event ConfirmXfer OnConfirmXfer;
157 public event AbortXfer OnAbortXfer;
158 public event RequestTerrain OnRequestTerrain;
159 public event RezScript OnRezScript;
160 public event UpdateTaskInventory OnUpdateTaskInventory;
161 public event MoveTaskInventory OnMoveTaskItem;
162 public event RemoveTaskInventory OnRemoveTaskItem;
163 public event RequestAsset OnRequestAsset;
164 public event UUIDNameRequest OnNameFromUUIDRequest;
165 public event ParcelAccessListRequest OnParcelAccessListRequest;
166 public event ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest;
167 public event ParcelPropertiesRequest OnParcelPropertiesRequest;
168 public event ParcelDivideRequest OnParcelDivideRequest;
169 public event ParcelJoinRequest OnParcelJoinRequest;
170 public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest;
171 public event ParcelSelectObjects OnParcelSelectObjects;
172 public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest;
173 public event ParcelAbandonRequest OnParcelAbandonRequest;
174 public event ParcelGodForceOwner OnParcelGodForceOwner;
175 public event ParcelReclaim OnParcelReclaim;
176 public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest;
177 public event ParcelDeedToGroup OnParcelDeedToGroup;
178 public event RegionInfoRequest OnRegionInfoRequest;
179 public event EstateCovenantRequest OnEstateCovenantRequest;
180 public event FriendActionDelegate OnApproveFriendRequest;
181 public event FriendActionDelegate OnDenyFriendRequest;
182 public event FriendshipTermination OnTerminateFriendship;
183 public event MoneyTransferRequest OnMoneyTransferRequest;
184 public event EconomyDataRequest OnEconomyDataRequest;
185 public event MoneyBalanceRequest OnMoneyBalanceRequest;
186 public event ParcelBuy OnParcelBuy;
187 public event UUIDNameRequest OnTeleportHomeRequest;
188 public event UUIDNameRequest OnUUIDGroupNameRequest;
189 public event ScriptAnswer OnScriptAnswer;
190 public event RequestPayPrice OnRequestPayPrice;
191 public event ObjectSaleInfo OnObjectSaleInfo;
192 public event ObjectBuy OnObjectBuy;
193 public event BuyObjectInventory OnBuyObjectInventory;
194 public event AgentSit OnUndo;
195 public event ForceReleaseControls OnForceReleaseControls;
196 public event GodLandStatRequest OnLandStatRequest;
197 public event RequestObjectPropertiesFamily OnObjectGroupRequest;
198 public event DetailedEstateDataRequest OnDetailedEstateDataRequest;
199 public event SetEstateFlagsRequest OnSetEstateFlagsRequest;
200 public event SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture;
201 public event SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture;
202 public event SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights;
203 public event CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest;
204 public event SetRegionTerrainSettings OnSetRegionTerrainSettings;
205 public event BakeTerrain OnBakeTerrain;
206 public event RequestTerrain OnUploadTerrain;
207 public event EstateChangeInfo OnEstateChangeInfo;
208 public event EstateRestartSimRequest OnEstateRestartSimRequest;
209 public event EstateChangeCovenantRequest OnEstateChangeCovenantRequest;
210 public event UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest;
211 public event SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest;
212 public event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest;
213 public event EstateDebugRegionRequest OnEstateDebugRegionRequest;
214 public event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest;
215 public event EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest;
216 public event RegionHandleRequest OnRegionHandleRequest;
217 public event ParcelInfoRequest OnParcelInfoRequest;
218 public event ScriptReset OnScriptReset;
219 public event GetScriptRunning OnGetScriptRunning;
220 public event SetScriptRunning OnSetScriptRunning;
221 public event UpdateVector OnAutoPilotGo;
222 public event TerrainUnacked OnUnackedTerrain;
223 public event ActivateGesture OnActivateGesture;
224 public event DeactivateGesture OnDeactivateGesture;
225 public event ObjectOwner OnObjectOwner;
226 public event DirPlacesQuery OnDirPlacesQuery;
227 public event DirFindQuery OnDirFindQuery;
228 public event DirLandQuery OnDirLandQuery;
229 public event DirPopularQuery OnDirPopularQuery;
230 public event DirClassifiedQuery OnDirClassifiedQuery;
231 public event EventInfoRequest OnEventInfoRequest;
232 public event ParcelSetOtherCleanTime OnParcelSetOtherCleanTime;
233 public event MapItemRequest OnMapItemRequest;
234 public event OfferCallingCard OnOfferCallingCard;
235 public event AcceptCallingCard OnAcceptCallingCard;
236 public event DeclineCallingCard OnDeclineCallingCard;
237 public event SoundTrigger OnSoundTrigger;
238 public event StartLure OnStartLure;
239 public event TeleportLureRequest OnTeleportLureRequest;
240 public event NetworkStats OnNetworkStatsUpdate;
241 public event ClassifiedInfoRequest OnClassifiedInfoRequest;
242 public event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
243 public event ClassifiedDelete OnClassifiedDelete;
244 public event ClassifiedDelete OnClassifiedGodDelete;
245 public event EventNotificationAddRequest OnEventNotificationAddRequest;
246 public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
247 public event EventGodDelete OnEventGodDelete;
248 public event ParcelDwellRequest OnParcelDwellRequest;
249 public event UserInfoRequest OnUserInfoRequest;
250 public event UpdateUserInfo OnUpdateUserInfo;
251 public event RetrieveInstantMessages OnRetrieveInstantMessages;
252 public event PickDelete OnPickDelete;
253 public event PickGodDelete OnPickGodDelete;
254 public event PickInfoUpdate OnPickInfoUpdate;
255 public event AvatarNotesUpdate OnAvatarNotesUpdate;
256 public event MuteListRequest OnMuteListRequest;
257 public event AvatarInterestUpdate OnAvatarInterestUpdate;
258 public event PlacesQuery OnPlacesQuery;
259
260 #endregion Events
261
262 #region Class Members
263
61 // LLClientView Only 264 // LLClientView Only
62 public delegate void BinaryGenericMessage(Object sender, string method, byte[][] args); 265 public delegate void BinaryGenericMessage(Object sender, string method, byte[][] args);
63 266
@@ -114,9 +317,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
114 protected int m_textureDataLimit = 10; 317 protected int m_textureDataLimit = 10;
115 protected int m_avatarTerseUpdateRate = 50; 318 protected int m_avatarTerseUpdateRate = 50;
116 protected int m_avatarTerseUpdatesPerPacket = 5; 319 protected int m_avatarTerseUpdatesPerPacket = 5;
117 protected int m_packetMTU = 1400;
118 protected IAssetService m_assetService; 320 protected IAssetService m_assetService;
119 321
322 #endregion Class Members
323
120 #region Properties 324 #region Properties
121 325
122 public LLUDPClient UDPClient { get { return m_udpClient; } } 326 public LLUDPClient UDPClient { get { return m_udpClient; } }
@@ -413,34 +617,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
413 return result; 617 return result;
414 } 618 }
415 619
416 /*protected void DebugPacket(string direction, Packet packet)
417 {
418 string info;
419
420 if (m_debugPacketLevel < 255 && packet.Type == PacketType.AgentUpdate)
421 return;
422 if (m_debugPacketLevel < 254 && packet.Type == PacketType.ViewerEffect)
423 return;
424 if (m_debugPacketLevel < 253 && (
425 packet.Type == PacketType.CompletePingCheck ||
426 packet.Type == PacketType.StartPingCheck
427 ))
428 return;
429 if (m_debugPacketLevel < 252 && packet.Type == PacketType.PacketAck)
430 return;
431
432 if (m_debugPacketLevel > 1)
433 {
434 info = packet.ToString();
435 }
436 else
437 {
438 info = packet.Type.ToString();
439 }
440
441 Console.WriteLine(m_circuitCode + ":" + direction + ": " + info);
442 }*/
443
444 #endregion Packet Handling 620 #endregion Packet Handling
445 621
446 # region Setup 622 # region Setup
@@ -523,207 +699,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
523 699
524 # endregion 700 # endregion
525 701
526 #region Events
527
528 public event GenericMessage OnGenericMessage;
529 public event BinaryGenericMessage OnBinaryGenericMessage;
530 public event Action<IClientAPI> OnLogout;
531 public event ObjectPermissions OnObjectPermissions;
532 public event Action<IClientAPI> OnConnectionClosed;
533 public event ViewerEffectEventHandler OnViewerEffect;
534 public event ImprovedInstantMessage OnInstantMessage;
535 public event ChatMessage OnChatFromClient;
536 public event TextureRequest OnRequestTexture;
537 public event RezObject OnRezObject;
538 public event DeRezObject OnDeRezObject;
539 public event ModifyTerrain OnModifyTerrain;
540 public event Action<IClientAPI> OnRegionHandShakeReply;
541 public event GenericCall2 OnRequestWearables;
542 public event SetAppearance OnSetAppearance;
543 public event AvatarNowWearing OnAvatarNowWearing;
544 public event RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv;
545 public event RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv;
546 public event UUIDNameRequest OnDetachAttachmentIntoInv;
547 public event ObjectAttach OnObjectAttach;
548 public event ObjectDeselect OnObjectDetach;
549 public event ObjectDrop OnObjectDrop;
550 public event GenericCall2 OnCompleteMovementToRegion;
551 public event UpdateAgent OnAgentUpdate;
552 public event AgentRequestSit OnAgentRequestSit;
553 public event AgentSit OnAgentSit;
554 public event AvatarPickerRequest OnAvatarPickerRequest;
555 public event StartAnim OnStartAnim;
556 public event StopAnim OnStopAnim;
557 public event Action<IClientAPI> OnRequestAvatarsData;
558 public event LinkObjects OnLinkObjects;
559 public event DelinkObjects OnDelinkObjects;
560 public event GrabObject OnGrabObject;
561 public event DeGrabObject OnDeGrabObject;
562 public event SpinStart OnSpinStart;
563 public event SpinStop OnSpinStop;
564 public event ObjectDuplicate OnObjectDuplicate;
565 public event ObjectDuplicateOnRay OnObjectDuplicateOnRay;
566 public event MoveObject OnGrabUpdate;
567 public event SpinObject OnSpinUpdate;
568 public event AddNewPrim OnAddPrim;
569 public event RequestGodlikePowers OnRequestGodlikePowers;
570 public event GodKickUser OnGodKickUser;
571 public event ObjectExtraParams OnUpdateExtraParams;
572 public event UpdateShape OnUpdatePrimShape;
573 public event ObjectRequest OnObjectRequest;
574 public event ObjectSelect OnObjectSelect;
575 public event ObjectDeselect OnObjectDeselect;
576 public event GenericCall7 OnObjectDescription;
577 public event GenericCall7 OnObjectName;
578 public event GenericCall7 OnObjectClickAction;
579 public event GenericCall7 OnObjectMaterial;
580 public event ObjectIncludeInSearch OnObjectIncludeInSearch;
581 public event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily;
582 public event UpdatePrimFlags OnUpdatePrimFlags;
583 public event UpdatePrimTexture OnUpdatePrimTexture;
584 public event UpdateVector OnUpdatePrimGroupPosition;
585 public event UpdateVector OnUpdatePrimSinglePosition;
586 public event UpdatePrimRotation OnUpdatePrimGroupRotation;
587 public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation;
588 public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition;
589 public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation;
590 public event UpdateVector OnUpdatePrimScale;
591 public event UpdateVector OnUpdatePrimGroupScale;
592 public event StatusChange OnChildAgentStatus;
593 public event GenericCall2 OnStopMovement;
594 public event Action<UUID> OnRemoveAvatar;
595 public event RequestMapBlocks OnRequestMapBlocks;
596 public event RequestMapName OnMapNameRequest;
597 public event TeleportLocationRequest OnTeleportLocationRequest;
598 public event TeleportLandmarkRequest OnTeleportLandmarkRequest;
599 public event DisconnectUser OnDisconnectUser;
600 public event RequestAvatarProperties OnRequestAvatarProperties;
601 public event SetAlwaysRun OnSetAlwaysRun;
602 public event FetchInventory OnAgentDataUpdateRequest;
603 public event TeleportLocationRequest OnSetStartLocationRequest;
604 public event UpdateAvatarProperties OnUpdateAvatarProperties;
605 public event CreateNewInventoryItem OnCreateNewInventoryItem;
606 public event CreateInventoryFolder OnCreateNewInventoryFolder;
607 public event UpdateInventoryFolder OnUpdateInventoryFolder;
608 public event MoveInventoryFolder OnMoveInventoryFolder;
609 public event FetchInventoryDescendents OnFetchInventoryDescendents;
610 public event PurgeInventoryDescendents OnPurgeInventoryDescendents;
611 public event FetchInventory OnFetchInventory;
612 public event RequestTaskInventory OnRequestTaskInventory;
613 public event UpdateInventoryItem OnUpdateInventoryItem;
614 public event CopyInventoryItem OnCopyInventoryItem;
615 public event MoveInventoryItem OnMoveInventoryItem;
616 public event RemoveInventoryItem OnRemoveInventoryItem;
617 public event RemoveInventoryFolder OnRemoveInventoryFolder;
618 public event UDPAssetUploadRequest OnAssetUploadRequest;
619 public event XferReceive OnXferReceive;
620 public event RequestXfer OnRequestXfer;
621 public event ConfirmXfer OnConfirmXfer;
622 public event AbortXfer OnAbortXfer;
623 public event RequestTerrain OnRequestTerrain;
624 public event RezScript OnRezScript;
625 public event UpdateTaskInventory OnUpdateTaskInventory;
626 public event MoveTaskInventory OnMoveTaskItem;
627 public event RemoveTaskInventory OnRemoveTaskItem;
628 public event RequestAsset OnRequestAsset;
629 public event UUIDNameRequest OnNameFromUUIDRequest;
630 public event ParcelAccessListRequest OnParcelAccessListRequest;
631 public event ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest;
632 public event ParcelPropertiesRequest OnParcelPropertiesRequest;
633 public event ParcelDivideRequest OnParcelDivideRequest;
634 public event ParcelJoinRequest OnParcelJoinRequest;
635 public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest;
636 public event ParcelSelectObjects OnParcelSelectObjects;
637 public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest;
638 public event ParcelAbandonRequest OnParcelAbandonRequest;
639 public event ParcelGodForceOwner OnParcelGodForceOwner;
640 public event ParcelReclaim OnParcelReclaim;
641 public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest;
642 public event ParcelDeedToGroup OnParcelDeedToGroup;
643 public event RegionInfoRequest OnRegionInfoRequest;
644 public event EstateCovenantRequest OnEstateCovenantRequest;
645 public event FriendActionDelegate OnApproveFriendRequest;
646 public event FriendActionDelegate OnDenyFriendRequest;
647 public event FriendshipTermination OnTerminateFriendship;
648 public event MoneyTransferRequest OnMoneyTransferRequest;
649 public event EconomyDataRequest OnEconomyDataRequest;
650 public event MoneyBalanceRequest OnMoneyBalanceRequest;
651 public event ParcelBuy OnParcelBuy;
652 public event UUIDNameRequest OnTeleportHomeRequest;
653 public event UUIDNameRequest OnUUIDGroupNameRequest;
654 public event ScriptAnswer OnScriptAnswer;
655 public event RequestPayPrice OnRequestPayPrice;
656 public event ObjectSaleInfo OnObjectSaleInfo;
657 public event ObjectBuy OnObjectBuy;
658 public event BuyObjectInventory OnBuyObjectInventory;
659 public event AgentSit OnUndo;
660 public event ForceReleaseControls OnForceReleaseControls;
661 public event GodLandStatRequest OnLandStatRequest;
662 public event RequestObjectPropertiesFamily OnObjectGroupRequest;
663 public event DetailedEstateDataRequest OnDetailedEstateDataRequest;
664 public event SetEstateFlagsRequest OnSetEstateFlagsRequest;
665 public event SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture;
666 public event SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture;
667 public event SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights;
668 public event CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest;
669 public event SetRegionTerrainSettings OnSetRegionTerrainSettings;
670 public event BakeTerrain OnBakeTerrain;
671 public event RequestTerrain OnUploadTerrain;
672 public event EstateChangeInfo OnEstateChangeInfo;
673 public event EstateRestartSimRequest OnEstateRestartSimRequest;
674 public event EstateChangeCovenantRequest OnEstateChangeCovenantRequest;
675 public event UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest;
676 public event SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest;
677 public event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest;
678 public event EstateDebugRegionRequest OnEstateDebugRegionRequest;
679 public event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest;
680 public event EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest;
681 public event RegionHandleRequest OnRegionHandleRequest;
682 public event ParcelInfoRequest OnParcelInfoRequest;
683 public event ScriptReset OnScriptReset;
684 public event GetScriptRunning OnGetScriptRunning;
685 public event SetScriptRunning OnSetScriptRunning;
686 public event UpdateVector OnAutoPilotGo;
687 public event TerrainUnacked OnUnackedTerrain;
688 public event ActivateGesture OnActivateGesture;
689 public event DeactivateGesture OnDeactivateGesture;
690 public event ObjectOwner OnObjectOwner;
691 public event DirPlacesQuery OnDirPlacesQuery;
692 public event DirFindQuery OnDirFindQuery;
693 public event DirLandQuery OnDirLandQuery;
694 public event DirPopularQuery OnDirPopularQuery;
695 public event DirClassifiedQuery OnDirClassifiedQuery;
696 public event EventInfoRequest OnEventInfoRequest;
697 public event ParcelSetOtherCleanTime OnParcelSetOtherCleanTime;
698 public event MapItemRequest OnMapItemRequest;
699 public event OfferCallingCard OnOfferCallingCard;
700 public event AcceptCallingCard OnAcceptCallingCard;
701 public event DeclineCallingCard OnDeclineCallingCard;
702 public event SoundTrigger OnSoundTrigger;
703 public event StartLure OnStartLure;
704 public event TeleportLureRequest OnTeleportLureRequest;
705 public event NetworkStats OnNetworkStatsUpdate;
706 public event ClassifiedInfoRequest OnClassifiedInfoRequest;
707 public event ClassifiedInfoUpdate OnClassifiedInfoUpdate;
708 public event ClassifiedDelete OnClassifiedDelete;
709 public event ClassifiedDelete OnClassifiedGodDelete;
710 public event EventNotificationAddRequest OnEventNotificationAddRequest;
711 public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
712 public event EventGodDelete OnEventGodDelete;
713 public event ParcelDwellRequest OnParcelDwellRequest;
714 public event UserInfoRequest OnUserInfoRequest;
715 public event UpdateUserInfo OnUpdateUserInfo;
716 public event RetrieveInstantMessages OnRetrieveInstantMessages;
717 public event PickDelete OnPickDelete;
718 public event PickGodDelete OnPickGodDelete;
719 public event PickInfoUpdate OnPickInfoUpdate;
720 public event AvatarNotesUpdate OnAvatarNotesUpdate;
721 public event MuteListRequest OnMuteListRequest;
722 public event AvatarInterestUpdate OnAvatarInterestUpdate;
723 public event PlacesQuery OnPlacesQuery;
724
725 #endregion Events
726
727 public void ActivateGesture(UUID assetId, UUID gestureId) 702 public void ActivateGesture(UUID assetId, UUID gestureId)
728 { 703 {
729 } 704 }
@@ -3367,7 +3342,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3367 int length = 0; 3342 int length = 0;
3368 m_avatarTerseUpdates[count].ToBytes(blockbuffer, ref length); 3343 m_avatarTerseUpdates[count].ToBytes(blockbuffer, ref length);
3369 length = Helpers.ZeroEncode(blockbuffer, length, zerobuffer); 3344 length = Helpers.ZeroEncode(blockbuffer, length, zerobuffer);
3370 if (size + length > m_packetMTU) 3345 if (size + length > Packet.MTU)
3371 break; 3346 break;
3372 size += length; 3347 size += length;
3373 } 3348 }
@@ -3611,7 +3586,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3611 int length = 0; 3586 int length = 0;
3612 m_primFullUpdates[count].ToBytes(blockbuffer, ref length); 3587 m_primFullUpdates[count].ToBytes(blockbuffer, ref length);
3613 length = Helpers.ZeroEncode(blockbuffer, length, zerobuffer); 3588 length = Helpers.ZeroEncode(blockbuffer, length, zerobuffer);
3614 if (size + length > m_packetMTU) 3589 if (size + length > Packet.MTU)
3615 break; 3590 break;
3616 size += length; 3591 size += length;
3617 } 3592 }
@@ -3699,7 +3674,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3699 int length = 0; 3674 int length = 0;
3700 m_primTerseUpdates[count].ToBytes(blockbuffer, ref length); 3675 m_primTerseUpdates[count].ToBytes(blockbuffer, ref length);
3701 length = Helpers.ZeroEncode(blockbuffer, length, zerobuffer); 3676 length = Helpers.ZeroEncode(blockbuffer, length, zerobuffer);
3702 if (size + length > m_packetMTU) 3677 if (size + length > Packet.MTU)
3703 break; 3678 break;
3704 size += length; 3679 size += length;
3705 } 3680 }
@@ -4802,7 +4777,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4802 4777
4803 public bool HandleObjectGroupRequest(IClientAPI sender, Packet Pack) 4778 public bool HandleObjectGroupRequest(IClientAPI sender, Packet Pack)
4804 { 4779 {
4805
4806 ObjectGroupPacket ogpack = (ObjectGroupPacket)Pack; 4780 ObjectGroupPacket ogpack = (ObjectGroupPacket)Pack;
4807 if (ogpack.AgentData.SessionID != SessionId) return false; 4781 if (ogpack.AgentData.SessionID != SessionId) return false;
4808 4782