diff options
Diffstat (limited to 'OpenSim/OpenSim.Reg/Avatar.Client.cs')
-rw-r--r-- | OpenSim/OpenSim.Reg/Avatar.Client.cs | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.Reg/Avatar.Client.cs b/OpenSim/OpenSim.Reg/Avatar.Client.cs new file mode 100644 index 0000000..c180b36 --- /dev/null +++ b/OpenSim/OpenSim.Reg/Avatar.Client.cs | |||
@@ -0,0 +1,48 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using libsecondlife.Packets; | ||
5 | |||
6 | namespace OpenSim.Region | ||
7 | { | ||
8 | partial class Avatar | ||
9 | { | ||
10 | private List<ImprovedTerseObjectUpdatePacket.ObjectDataBlock> updateList = new List<ImprovedTerseObjectUpdatePacket.ObjectDataBlock>(); | ||
11 | private List<Entity> interestList = new List<Entity>(); | ||
12 | |||
13 | /// <summary> | ||
14 | /// Forwards a packet to the Avatar's client (IClientAPI object). | ||
15 | /// Note: Quite likely to be obsolete once the Client API is finished | ||
16 | /// </summary> | ||
17 | /// <param name="packet"></param> | ||
18 | public void SendPacketToViewer(Packet packet) | ||
19 | { | ||
20 | this.ControllingClient.OutPacket(packet); | ||
21 | } | ||
22 | |||
23 | /// <summary> | ||
24 | /// | ||
25 | /// </summary> | ||
26 | /// <param name="terseBlock"></param> | ||
27 | public void AddTerseUpdateToViewersList(ImprovedTerseObjectUpdatePacket.ObjectDataBlock terseBlock) | ||
28 | { | ||
29 | |||
30 | } | ||
31 | |||
32 | /// <summary> | ||
33 | /// | ||
34 | /// </summary> | ||
35 | public void SendUpdateListToViewer() | ||
36 | { | ||
37 | |||
38 | } | ||
39 | |||
40 | /// <summary> | ||
41 | /// | ||
42 | /// </summary> | ||
43 | private void UpdateInterestList() | ||
44 | { | ||
45 | |||
46 | } | ||
47 | } | ||
48 | } | ||