From 615b40b68b2311433b855f8c1e961a8b71eb9b65 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 18 Nov 2007 15:54:05 +0000 Subject: * 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. --- OpenSim/Framework/IClientAPI.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/IClientAPI.cs') 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 StopTyping = 5, Broadcast = 0xFF } ; + public enum ThrottleOutPacketType : int + { + Resend = 0, + Land = 1, + Wind = 2, + Cloud = 3, + Task = 4, + Texture = 5, + Asset = 6 + } /// /// ChatFromViewer Arguments @@ -378,7 +388,7 @@ namespace OpenSim.Framework uint CircuitCode { get; set; } - void OutPacket(Packet newPack); + void OutPacket(Packet newPack, ThrottleOutPacketType packType); void SendWearables(AvatarWearable[] wearables, int serial); void SendAppearance(LLUUID agentID, byte[] visualParams, byte[] textureEntry); void SendStartPingCheck(byte seq); -- cgit v1.1