aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IClientAPI.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-11-18 15:54:05 +0000
committerTeravus Ovares2007-11-18 15:54:05 +0000
commit615b40b68b2311433b855f8c1e961a8b71eb9b65 (patch)
treece9620d6f9e59e5e841f9746d738f6a71063eae4 /OpenSim/Framework/IClientAPI.cs
parentcleaned up some mono compiler warnings (diff)
downloadopensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.zip
opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.gz
opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.bz2
opensim-SC_OLD-615b40b68b2311433b855f8c1e961a8b71eb9b65.tar.xz
* Refactored IClientAPI.OutPacket to require a second mandatory parameter. This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
Diffstat (limited to 'OpenSim/Framework/IClientAPI.cs')
-rw-r--r--OpenSim/Framework/IClientAPI.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 23181bf..0e8b82d 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -54,6 +54,16 @@ namespace OpenSim.Framework
54 StopTyping = 5, 54 StopTyping = 5,
55 Broadcast = 0xFF 55 Broadcast = 0xFF
56 } ; 56 } ;
57 public enum ThrottleOutPacketType : int
58 {
59 Resend = 0,
60 Land = 1,
61 Wind = 2,
62 Cloud = 3,
63 Task = 4,
64 Texture = 5,
65 Asset = 6
66 }
57 67
58 /// <summary> 68 /// <summary>
59 /// ChatFromViewer Arguments 69 /// ChatFromViewer Arguments
@@ -378,7 +388,7 @@ namespace OpenSim.Framework
378 388
379 uint CircuitCode { get; set; } 389 uint CircuitCode { get; set; }
380 390
381 void OutPacket(Packet newPack); 391 void OutPacket(Packet newPack, ThrottleOutPacketType packType);
382 void SendWearables(AvatarWearable[] wearables, int serial); 392 void SendWearables(AvatarWearable[] wearables, int serial);
383 void SendAppearance(LLUUID agentID, byte[] visualParams, byte[] textureEntry); 393 void SendAppearance(LLUUID agentID, byte[] visualParams, byte[] textureEntry);
384 void SendStartPingCheck(byte seq); 394 void SendStartPingCheck(byte seq);