aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorlbsa712008-07-08 11:25:18 +0000
committerlbsa712008-07-08 11:25:18 +0000
commitd9b802bb26ee659a68270ac05ea0406389afc883 (patch)
tree54a53c343d14e15a6236a0c36daa228f07ae57b6 /OpenSim/Framework
parentRegionInfo.configMember can be null for dynamically created regions (diff)
downloadopensim-SC_OLD-d9b802bb26ee659a68270ac05ea0406389afc883.zip
opensim-SC_OLD-d9b802bb26ee659a68270ac05ea0406389afc883.tar.gz
opensim-SC_OLD-d9b802bb26ee659a68270ac05ea0406389afc883.tar.bz2
opensim-SC_OLD-d9b802bb26ee659a68270ac05ea0406389afc883.tar.xz
* Split out various classes from IClientAPI into their own files, in accordance with code standards
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/AgentUpdateArgs.cs21
-rw-r--r--OpenSim/Framework/AvatarPickerReplyAgentDataArgs.cs11
-rw-r--r--OpenSim/Framework/AvatarPickerReplyDataArgs.cs12
-rw-r--r--OpenSim/Framework/AvatarWearingArgs.cs36
-rw-r--r--OpenSim/Framework/ChatFromViewerArgs.cs118
-rw-r--r--OpenSim/Framework/ChatTypeEnum.cs16
-rw-r--r--OpenSim/Framework/ClientInfo.cs22
-rw-r--r--OpenSim/Framework/IClientAPI.cs368
-rw-r--r--OpenSim/Framework/LandUpdateArgs.cs26
-rw-r--r--OpenSim/Framework/RegionHandshakeArgs.cs32
-rw-r--r--OpenSim/Framework/RegionInfoForEstateMenuArgs.cs24
-rw-r--r--OpenSim/Framework/RequestAssetArgs.cs13
-rw-r--r--OpenSim/Framework/TextureRequestArgs.cs46
-rw-r--r--OpenSim/Framework/ThrottleOutPacketType.cs15
-rw-r--r--OpenSim/Framework/UpdateShapeArgs.cs27
-rw-r--r--OpenSim/Framework/ViewerEffectEventHandlerArg.cs15
16 files changed, 437 insertions, 365 deletions
diff --git a/OpenSim/Framework/AgentUpdateArgs.cs b/OpenSim/Framework/AgentUpdateArgs.cs
new file mode 100644
index 0000000..8709434
--- /dev/null
+++ b/OpenSim/Framework/AgentUpdateArgs.cs
@@ -0,0 +1,21 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public class AgentUpdateArgs : EventArgs
7 {
8 public LLUUID AgentID;
9 public LLQuaternion BodyRotation;
10 public LLVector3 CameraAtAxis;
11 public LLVector3 CameraCenter;
12 public LLVector3 CameraLeftAxis;
13 public LLVector3 CameraUpAxis;
14 public uint ControlFlags;
15 public float Far;
16 public byte Flags;
17 public LLQuaternion HeadRotation;
18 public LLUUID SessionID;
19 public byte State;
20 }
21} \ No newline at end of file
diff --git a/OpenSim/Framework/AvatarPickerReplyAgentDataArgs.cs b/OpenSim/Framework/AvatarPickerReplyAgentDataArgs.cs
new file mode 100644
index 0000000..c2b4b0e
--- /dev/null
+++ b/OpenSim/Framework/AvatarPickerReplyAgentDataArgs.cs
@@ -0,0 +1,11 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public class AvatarPickerReplyAgentDataArgs : EventArgs
7 {
8 public LLUUID AgentID;
9 public LLUUID QueryID;
10 }
11} \ No newline at end of file
diff --git a/OpenSim/Framework/AvatarPickerReplyDataArgs.cs b/OpenSim/Framework/AvatarPickerReplyDataArgs.cs
new file mode 100644
index 0000000..654a135
--- /dev/null
+++ b/OpenSim/Framework/AvatarPickerReplyDataArgs.cs
@@ -0,0 +1,12 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public class AvatarPickerReplyDataArgs : EventArgs
7 {
8 public LLUUID AvatarID;
9 public byte[] FirstName;
10 public byte[] LastName;
11 }
12} \ No newline at end of file
diff --git a/OpenSim/Framework/AvatarWearingArgs.cs b/OpenSim/Framework/AvatarWearingArgs.cs
new file mode 100644
index 0000000..2e64601
--- /dev/null
+++ b/OpenSim/Framework/AvatarWearingArgs.cs
@@ -0,0 +1,36 @@
1using System;
2using System.Collections.Generic;
3using libsecondlife;
4
5namespace OpenSim.Framework
6{
7 public class AvatarWearingArgs : EventArgs
8 {
9 private List<Wearable> m_nowWearing = new List<Wearable>();
10
11 /// <summary>
12 ///
13 /// </summary>
14 public List<Wearable> NowWearing
15 {
16 get { return m_nowWearing; }
17 set { m_nowWearing = value; }
18 }
19
20 #region Nested type: Wearable
21
22 public class Wearable
23 {
24 public LLUUID ItemID = new LLUUID("00000000-0000-0000-0000-000000000000");
25 public byte Type = 0;
26
27 public Wearable(LLUUID itemId, byte type)
28 {
29 ItemID = itemId;
30 Type = type;
31 }
32 }
33
34 #endregion
35 }
36} \ No newline at end of file
diff --git a/OpenSim/Framework/ChatFromViewerArgs.cs b/OpenSim/Framework/ChatFromViewerArgs.cs
new file mode 100644
index 0000000..5000fc6
--- /dev/null
+++ b/OpenSim/Framework/ChatFromViewerArgs.cs
@@ -0,0 +1,118 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public interface IEventArgs
7 {
8 IScene Scene { get; set; }
9 IClientAPI Sender { get; set; }
10 }
11
12 /// <summary>
13 /// ChatFromViewer Arguments
14 /// </summary>
15 public class ChatFromViewerArgs : EventArgs, IEventArgs
16 {
17 protected int m_channel;
18 protected string m_from;
19 protected string m_message;
20 protected LLVector3 m_position;
21
22 protected IScene m_scene;
23 protected IClientAPI m_sender;
24 protected object m_senderObject;
25 protected ChatTypeEnum m_type;
26 protected LLUUID m_fromID;
27
28 public ChatFromViewerArgs()
29 {
30 m_position = new LLVector3();
31 }
32
33 /// <summary>
34 /// The message sent by the user
35 /// </summary>
36 public string Message
37 {
38 get { return m_message; }
39 set { m_message = value; }
40 }
41
42 /// <summary>
43 /// The type of message, eg say, shout, broadcast.
44 /// </summary>
45 public ChatTypeEnum Type
46 {
47 get { return m_type; }
48 set { m_type = value; }
49 }
50
51 /// <summary>
52 /// Which channel was this message sent on? Different channels may have different listeners. Public chat is on channel zero.
53 /// </summary>
54 public int Channel
55 {
56 get { return m_channel; }
57 set { m_channel = value; }
58 }
59
60 /// <summary>
61 /// The position of the sender at the time of the message broadcast.
62 /// </summary>
63 public LLVector3 Position
64 {
65 get { return m_position; }
66 set { m_position = value; }
67 }
68
69 /// <summary>
70 /// The name of the sender (needed for scripts)
71 /// </summary>
72 public string From
73 {
74 get { return m_from; }
75 set { m_from = value; }
76 }
77
78 #region IEventArgs Members
79
80 /// TODO: Sender and SenderObject should just be Sender and of
81 /// type IChatSender
82
83 /// <summary>
84 /// The client responsible for sending the message, or null.
85 /// </summary>
86 public IClientAPI Sender
87 {
88 get { return m_sender; }
89 set { m_sender = value; }
90 }
91
92 /// <summary>
93 /// The object responsible for sending the message, or null.
94 /// </summary>
95 public object SenderObject
96 {
97 get { return m_senderObject; }
98 set { m_senderObject = value; }
99 }
100
101 public LLUUID SenderUUID
102 {
103 get { return m_fromID; }
104 set { m_fromID = value; }
105 }
106
107 /// <summary>
108 ///
109 /// </summary>
110 public IScene Scene
111 {
112 get { return m_scene; }
113 set { m_scene = value; }
114 }
115
116 #endregion
117 }
118} \ No newline at end of file
diff --git a/OpenSim/Framework/ChatTypeEnum.cs b/OpenSim/Framework/ChatTypeEnum.cs
new file mode 100644
index 0000000..afde12e
--- /dev/null
+++ b/OpenSim/Framework/ChatTypeEnum.cs
@@ -0,0 +1,16 @@
1namespace OpenSim.Framework
2{
3 public enum ChatTypeEnum
4 {
5 Whisper = 0,
6 Say = 1,
7 Shout = 2,
8 // 3 is an obsolete version of Say
9 StartTyping = 4,
10 StopTyping = 5,
11 DebugChannel = 6,
12 Region = 7,
13 Owner = 8,
14 Broadcast = 0xFF
15 }
16} \ No newline at end of file
diff --git a/OpenSim/Framework/ClientInfo.cs b/OpenSim/Framework/ClientInfo.cs
new file mode 100644
index 0000000..099449d
--- /dev/null
+++ b/OpenSim/Framework/ClientInfo.cs
@@ -0,0 +1,22 @@
1using System;
2using System.Collections.Generic;
3using System.Net;
4
5namespace OpenSim.Framework
6{
7 [Serializable]
8 public class ClientInfo
9 {
10 public sAgentCircuitData agentcircuit;
11
12 public Dictionary<uint, byte[]> needAck;
13
14 public List<byte[]> out_packets;
15 public Dictionary<uint, uint> pendingAcks;
16 public EndPoint proxyEP;
17
18 public uint sequence;
19 public byte[] usecircuit;
20 public EndPoint userEP;
21 }
22} \ No newline at end of file
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index 9307aef..f2eb6a0 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -33,360 +33,12 @@ using libsecondlife.Packets;
33 33
34namespace OpenSim.Framework 34namespace OpenSim.Framework
35{ 35{
36 // Base Args Interface 36 #region Client API Delegate definitions
37 public interface IEventArgs
38 {
39 IScene Scene { get; set; }
40 IClientAPI Sender { get; set; }
41 }
42 37
43 public delegate void ViewerEffectEventHandler(IClientAPI sender, List<ViewerEffectEventHandlerArg> args); 38 public delegate void ViewerEffectEventHandler(IClientAPI sender, List<ViewerEffectEventHandlerArg> args);
44 39
45 public delegate void ChatFromViewer(Object sender, ChatFromViewerArgs e); 40 public delegate void ChatFromViewer(Object sender, ChatFromViewerArgs e);
46 41
47 public enum ChatTypeEnum
48 {
49 Whisper = 0,
50 Say = 1,
51 Shout = 2,
52 // 3 is an obsolete version of Say
53 StartTyping = 4,
54 StopTyping = 5,
55 DebugChannel = 6,
56 Region = 7,
57 Owner = 8,
58 Broadcast = 0xFF
59 }
60
61 public enum ThrottleOutPacketType : int
62 {
63 Resend = 0,
64 Land = 1,
65 Wind = 2,
66 Cloud = 3,
67 Task = 4,
68 Texture = 5,
69 Asset = 6,
70 Unknown = 7, // Also doubles as 'do not throttle'
71 Back = 8
72 }
73
74 /// <summary>
75 /// ChatFromViewer Arguments
76 /// </summary>
77 public class ChatFromViewerArgs : EventArgs, IEventArgs
78 {
79 protected int m_channel;
80 protected string m_from;
81 protected string m_message;
82 protected LLVector3 m_position;
83
84 protected IScene m_scene;
85 protected IClientAPI m_sender;
86 protected object m_senderObject;
87 protected ChatTypeEnum m_type;
88 protected LLUUID m_fromID;
89
90 public ChatFromViewerArgs()
91 {
92 m_position = new LLVector3();
93 }
94
95 /// <summary>
96 /// The message sent by the user
97 /// </summary>
98 public string Message
99 {
100 get { return m_message; }
101 set { m_message = value; }
102 }
103
104 /// <summary>
105 /// The type of message, eg say, shout, broadcast.
106 /// </summary>
107 public ChatTypeEnum Type
108 {
109 get { return m_type; }
110 set { m_type = value; }
111 }
112
113 /// <summary>
114 /// Which channel was this message sent on? Different channels may have different listeners. Public chat is on channel zero.
115 /// </summary>
116 public int Channel
117 {
118 get { return m_channel; }
119 set { m_channel = value; }
120 }
121
122 /// <summary>
123 /// The position of the sender at the time of the message broadcast.
124 /// </summary>
125 public LLVector3 Position
126 {
127 get { return m_position; }
128 set { m_position = value; }
129 }
130
131 /// <summary>
132 /// The name of the sender (needed for scripts)
133 /// </summary>
134 public string From
135 {
136 get { return m_from; }
137 set { m_from = value; }
138 }
139
140 #region IEventArgs Members
141
142 /// TODO: Sender and SenderObject should just be Sender and of
143 /// type IChatSender
144
145 /// <summary>
146 /// The client responsible for sending the message, or null.
147 /// </summary>
148 public IClientAPI Sender
149 {
150 get { return m_sender; }
151 set { m_sender = value; }
152 }
153
154 /// <summary>
155 /// The object responsible for sending the message, or null.
156 /// </summary>
157 public object SenderObject
158 {
159 get { return m_senderObject; }
160 set { m_senderObject = value; }
161 }
162
163 public LLUUID SenderUUID
164 {
165 get { return m_fromID; }
166 set { m_fromID = value; }
167 }
168
169 /// <summary>
170 ///
171 /// </summary>
172 public IScene Scene
173 {
174 get { return m_scene; }
175 set { m_scene = value; }
176 }
177
178 #endregion
179 }
180
181 public class TextureRequestArgs : EventArgs
182 {
183 private sbyte m_discardLevel;
184 private uint m_packetNumber;
185 private float m_priority;
186 protected LLUUID m_requestedAssetID;
187
188 public float Priority
189 {
190 get { return m_priority; }
191 set { m_priority = value; }
192 }
193
194 /// <summary>
195 ///
196 /// </summary>
197 public uint PacketNumber
198 {
199 get { return m_packetNumber; }
200 set { m_packetNumber = value; }
201 }
202
203 /// <summary>
204 ///
205 /// </summary>
206 public sbyte DiscardLevel
207 {
208 get { return m_discardLevel; }
209 set { m_discardLevel = value; }
210 }
211
212 /// <summary>
213 ///
214 /// </summary>
215 public LLUUID RequestedAssetID
216 {
217 get { return m_requestedAssetID; }
218 set { m_requestedAssetID = value; }
219 }
220 }
221
222 public class AvatarWearingArgs : EventArgs
223 {
224 private List<Wearable> m_nowWearing = new List<Wearable>();
225
226 /// <summary>
227 ///
228 /// </summary>
229 public List<Wearable> NowWearing
230 {
231 get { return m_nowWearing; }
232 set { m_nowWearing = value; }
233 }
234
235 #region Nested type: Wearable
236
237 public class Wearable
238 {
239 public LLUUID ItemID = new LLUUID("00000000-0000-0000-0000-000000000000");
240 public byte Type = 0;
241
242 public Wearable(LLUUID itemId, byte type)
243 {
244 ItemID = itemId;
245 Type = type;
246 }
247 }
248
249 #endregion
250 }
251
252 public class ViewerEffectEventHandlerArg : EventArgs
253 {
254 public LLUUID AgentID;
255 public byte[] Color;
256 public float Duration;
257 public LLUUID ID;
258 public byte Type;
259 public byte[] TypeData;
260 }
261
262 public class LandUpdateArgs : EventArgs
263 {
264 public LLUUID AuthBuyerID;
265 public Parcel.ParcelCategory Category;
266 public string Desc;
267 public LLUUID GroupID;
268 public byte LandingType;
269 public byte MediaAutoScale;
270 public LLUUID MediaID;
271 public string MediaURL;
272 public string MusicURL;
273 public string Name;
274 public uint ParcelFlags;
275 public float PassHours;
276 public int PassPrice;
277 public int SalePrice;
278 public LLUUID SnapshotID;
279 public LLVector3 UserLocation;
280 public LLVector3 UserLookAt;
281 }
282
283 public class RegionHandshakeArgs : EventArgs
284 {
285 public bool isEstateManager;
286 public float billableFactor;
287 public float terrainHeightRange0;
288 public float terrainHeightRange1;
289 public float terrainHeightRange2;
290 public float terrainHeightRange3;
291 public float terrainStartHeight0;
292 public float terrainStartHeight1;
293 public float terrainStartHeight2;
294 public float terrainStartHeight3;
295 public byte simAccess;
296 public float waterHeight;
297 public uint regionFlags;
298 public string regionName;
299 public LLUUID SimOwner;
300 public LLUUID terrainBase0;
301 public LLUUID terrainBase1;
302 public LLUUID terrainBase2;
303 public LLUUID terrainBase3;
304 public LLUUID terrainDetail0;
305 public LLUUID terrainDetail1;
306 public LLUUID terrainDetail2;
307 public LLUUID terrainDetail3;
308 }
309
310 public class RegionInfoForEstateMenuArgs : EventArgs
311 {
312 public float billableFactor;
313 public uint estateID;
314 public byte maxAgents;
315 public float objectBonusFactor;
316 public uint parentEstateID;
317 public int pricePerMeter;
318 public int redirectGridX;
319 public int redirectGridY;
320 public uint regionFlags;
321 public byte simAccess;
322 public float sunHour;
323 public float terrainLowerLimit;
324 public float terrainRaiseLimit;
325 public bool useEstateSun;
326 public float waterHeight;
327 public string simName;
328 }
329
330 public class UpdateShapeArgs : EventArgs
331 {
332 public uint ObjectLocalID;
333 public ushort PathBegin;
334 public byte PathCurve;
335 public ushort PathEnd;
336 public sbyte PathRadiusOffset;
337 public byte PathRevolutions;
338 public byte PathScaleX;
339 public byte PathScaleY;
340 public byte PathShearX;
341 public byte PathShearY;
342 public sbyte PathSkew;
343 public sbyte PathTaperX;
344 public sbyte PathTaperY;
345 public sbyte PathTwist;
346 public sbyte PathTwistBegin;
347 public ushort ProfileBegin;
348 public byte ProfileCurve;
349 public ushort ProfileEnd;
350 public ushort ProfileHollow;
351 }
352
353 public class RequestAssetArgs : EventArgs
354 {
355 public int ChannelType;
356 public float Priority;
357 public int SourceType;
358 public LLUUID TransferID;
359 }
360
361 public class AgentUpdateArgs : EventArgs
362 {
363 public LLUUID AgentID;
364 public LLQuaternion BodyRotation;
365 public LLVector3 CameraAtAxis;
366 public LLVector3 CameraCenter;
367 public LLVector3 CameraLeftAxis;
368 public LLVector3 CameraUpAxis;
369 public uint ControlFlags;
370 public float Far;
371 public byte Flags;
372 public LLQuaternion HeadRotation;
373 public LLUUID SessionID;
374 public byte State;
375 }
376
377 public class AvatarPickerReplyAgentDataArgs : EventArgs
378 {
379 public LLUUID AgentID;
380 public LLUUID QueryID;
381 }
382
383 public class AvatarPickerReplyDataArgs : EventArgs
384 {
385 public LLUUID AvatarID;
386 public byte[] FirstName;
387 public byte[] LastName;
388 }
389
390 public delegate void TextureRequest(Object sender, TextureRequestArgs e); 42 public delegate void TextureRequest(Object sender, TextureRequestArgs e);
391 43
392 public delegate void AvatarNowWearing(Object sender, AvatarWearingArgs e); 44 public delegate void AvatarNowWearing(Object sender, AvatarWearingArgs e);
@@ -646,6 +298,8 @@ namespace OpenSim.Framework
646 public delegate void GetScriptRunning(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID); 298 public delegate void GetScriptRunning(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID);
647 public delegate void SetScriptRunning(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID, bool running); 299 public delegate void SetScriptRunning(IClientAPI remoteClient, LLUUID objectID, LLUUID itemID, bool running);
648 300
301 #endregion
302
649 public interface IClientAPI 303 public interface IClientAPI
650 { 304 {
651 LLVector3 StartPos { get; set; } 305 LLVector3 StartPos { get; set; }
@@ -1044,20 +698,4 @@ namespace OpenSim.Framework
1044 void SetClientInfo(ClientInfo info); 698 void SetClientInfo(ClientInfo info);
1045 void Terminate(); 699 void Terminate();
1046 } 700 }
1047
1048 [Serializable]
1049 public class ClientInfo
1050 {
1051 public sAgentCircuitData agentcircuit;
1052
1053 public Dictionary<uint, byte[]> needAck;
1054
1055 public List<byte[]> out_packets;
1056 public Dictionary<uint, uint> pendingAcks;
1057 public EndPoint proxyEP;
1058
1059 public uint sequence;
1060 public byte[] usecircuit;
1061 public EndPoint userEP;
1062 }
1063} 701}
diff --git a/OpenSim/Framework/LandUpdateArgs.cs b/OpenSim/Framework/LandUpdateArgs.cs
new file mode 100644
index 0000000..1f685f4
--- /dev/null
+++ b/OpenSim/Framework/LandUpdateArgs.cs
@@ -0,0 +1,26 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public class LandUpdateArgs : EventArgs
7 {
8 public LLUUID AuthBuyerID;
9 public Parcel.ParcelCategory Category;
10 public string Desc;
11 public LLUUID GroupID;
12 public byte LandingType;
13 public byte MediaAutoScale;
14 public LLUUID MediaID;
15 public string MediaURL;
16 public string MusicURL;
17 public string Name;
18 public uint ParcelFlags;
19 public float PassHours;
20 public int PassPrice;
21 public int SalePrice;
22 public LLUUID SnapshotID;
23 public LLVector3 UserLocation;
24 public LLVector3 UserLookAt;
25 }
26} \ No newline at end of file
diff --git a/OpenSim/Framework/RegionHandshakeArgs.cs b/OpenSim/Framework/RegionHandshakeArgs.cs
new file mode 100644
index 0000000..e618d3c
--- /dev/null
+++ b/OpenSim/Framework/RegionHandshakeArgs.cs
@@ -0,0 +1,32 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public class RegionHandshakeArgs : EventArgs
7 {
8 public bool isEstateManager;
9 public float billableFactor;
10 public float terrainHeightRange0;
11 public float terrainHeightRange1;
12 public float terrainHeightRange2;
13 public float terrainHeightRange3;
14 public float terrainStartHeight0;
15 public float terrainStartHeight1;
16 public float terrainStartHeight2;
17 public float terrainStartHeight3;
18 public byte simAccess;
19 public float waterHeight;
20 public uint regionFlags;
21 public string regionName;
22 public LLUUID SimOwner;
23 public LLUUID terrainBase0;
24 public LLUUID terrainBase1;
25 public LLUUID terrainBase2;
26 public LLUUID terrainBase3;
27 public LLUUID terrainDetail0;
28 public LLUUID terrainDetail1;
29 public LLUUID terrainDetail2;
30 public LLUUID terrainDetail3;
31 }
32} \ No newline at end of file
diff --git a/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs b/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs
new file mode 100644
index 0000000..081017b
--- /dev/null
+++ b/OpenSim/Framework/RegionInfoForEstateMenuArgs.cs
@@ -0,0 +1,24 @@
1using System;
2
3namespace OpenSim.Framework
4{
5 public class RegionInfoForEstateMenuArgs : EventArgs
6 {
7 public float billableFactor;
8 public uint estateID;
9 public byte maxAgents;
10 public float objectBonusFactor;
11 public uint parentEstateID;
12 public int pricePerMeter;
13 public int redirectGridX;
14 public int redirectGridY;
15 public uint regionFlags;
16 public byte simAccess;
17 public float sunHour;
18 public float terrainLowerLimit;
19 public float terrainRaiseLimit;
20 public bool useEstateSun;
21 public float waterHeight;
22 public string simName;
23 }
24} \ No newline at end of file
diff --git a/OpenSim/Framework/RequestAssetArgs.cs b/OpenSim/Framework/RequestAssetArgs.cs
new file mode 100644
index 0000000..0602421
--- /dev/null
+++ b/OpenSim/Framework/RequestAssetArgs.cs
@@ -0,0 +1,13 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public class RequestAssetArgs : EventArgs
7 {
8 public int ChannelType;
9 public float Priority;
10 public int SourceType;
11 public LLUUID TransferID;
12 }
13} \ No newline at end of file
diff --git a/OpenSim/Framework/TextureRequestArgs.cs b/OpenSim/Framework/TextureRequestArgs.cs
new file mode 100644
index 0000000..1c894ae
--- /dev/null
+++ b/OpenSim/Framework/TextureRequestArgs.cs
@@ -0,0 +1,46 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public class TextureRequestArgs : EventArgs
7 {
8 private sbyte m_discardLevel;
9 private uint m_packetNumber;
10 private float m_priority;
11 protected LLUUID m_requestedAssetID;
12
13 public float Priority
14 {
15 get { return m_priority; }
16 set { m_priority = value; }
17 }
18
19 /// <summary>
20 ///
21 /// </summary>
22 public uint PacketNumber
23 {
24 get { return m_packetNumber; }
25 set { m_packetNumber = value; }
26 }
27
28 /// <summary>
29 ///
30 /// </summary>
31 public sbyte DiscardLevel
32 {
33 get { return m_discardLevel; }
34 set { m_discardLevel = value; }
35 }
36
37 /// <summary>
38 ///
39 /// </summary>
40 public LLUUID RequestedAssetID
41 {
42 get { return m_requestedAssetID; }
43 set { m_requestedAssetID = value; }
44 }
45 }
46} \ No newline at end of file
diff --git a/OpenSim/Framework/ThrottleOutPacketType.cs b/OpenSim/Framework/ThrottleOutPacketType.cs
new file mode 100644
index 0000000..465c0d0
--- /dev/null
+++ b/OpenSim/Framework/ThrottleOutPacketType.cs
@@ -0,0 +1,15 @@
1namespace OpenSim.Framework
2{
3 public enum ThrottleOutPacketType : int
4 {
5 Resend = 0,
6 Land = 1,
7 Wind = 2,
8 Cloud = 3,
9 Task = 4,
10 Texture = 5,
11 Asset = 6,
12 Unknown = 7, // Also doubles as 'do not throttle'
13 Back = 8
14 }
15} \ No newline at end of file
diff --git a/OpenSim/Framework/UpdateShapeArgs.cs b/OpenSim/Framework/UpdateShapeArgs.cs
new file mode 100644
index 0000000..7dad33f
--- /dev/null
+++ b/OpenSim/Framework/UpdateShapeArgs.cs
@@ -0,0 +1,27 @@
1using System;
2
3namespace OpenSim.Framework
4{
5 public class UpdateShapeArgs : EventArgs
6 {
7 public uint ObjectLocalID;
8 public ushort PathBegin;
9 public byte PathCurve;
10 public ushort PathEnd;
11 public sbyte PathRadiusOffset;
12 public byte PathRevolutions;
13 public byte PathScaleX;
14 public byte PathScaleY;
15 public byte PathShearX;
16 public byte PathShearY;
17 public sbyte PathSkew;
18 public sbyte PathTaperX;
19 public sbyte PathTaperY;
20 public sbyte PathTwist;
21 public sbyte PathTwistBegin;
22 public ushort ProfileBegin;
23 public byte ProfileCurve;
24 public ushort ProfileEnd;
25 public ushort ProfileHollow;
26 }
27} \ No newline at end of file
diff --git a/OpenSim/Framework/ViewerEffectEventHandlerArg.cs b/OpenSim/Framework/ViewerEffectEventHandlerArg.cs
new file mode 100644
index 0000000..a000a53
--- /dev/null
+++ b/OpenSim/Framework/ViewerEffectEventHandlerArg.cs
@@ -0,0 +1,15 @@
1using System;
2using libsecondlife;
3
4namespace OpenSim.Framework
5{
6 public class ViewerEffectEventHandlerArg : EventArgs
7 {
8 public LLUUID AgentID;
9 public byte[] Color;
10 public float Duration;
11 public LLUUID ID;
12 public byte Type;
13 public byte[] TypeData;
14 }
15} \ No newline at end of file