aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
diff options
context:
space:
mode:
authorlbsa712007-09-18 09:59:33 +0000
committerlbsa712007-09-18 09:59:33 +0000
commita963b3057bdc80fc403e2b8402d0666c3d3f5c97 (patch)
treee2395d69fd3a7ef9fd4002498d9ebad914235645 /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
parent* Merged ClientViewBase into ClientView for great justice (diff)
downloadopensim-SC_OLD-a963b3057bdc80fc403e2b8402d0666c3d3f5c97.zip
opensim-SC_OLD-a963b3057bdc80fc403e2b8402d0666c3d3f5c97.tar.gz
opensim-SC_OLD-a963b3057bdc80fc403e2b8402d0666c3d3f5c97.tar.bz2
opensim-SC_OLD-a963b3057bdc80fc403e2b8402d0666c3d3f5c97.tar.xz
* Replaced usage of ClientView with IClientAPI
* Some propertification and hideousness of fields.
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs11
1 files changed, 6 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
index 80e499b..95ce3c5 100644
--- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
+++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs
@@ -33,6 +33,7 @@ using libsecondlife.Packets;
33using OpenSim.Framework.Inventory; 33using OpenSim.Framework.Inventory;
34using OpenSim.Framework.Types; 34using OpenSim.Framework.Types;
35using OpenSim.Framework.Utilities; 35using OpenSim.Framework.Utilities;
36using OpenSim.Framework.Interfaces;
36 37
37namespace OpenSim.Region.ClientStack 38namespace OpenSim.Region.ClientStack
38{ 39{
@@ -76,12 +77,12 @@ namespace OpenSim.Region.ClientStack
76 { 77 {
77 case PacketType.ViewerEffect: 78 case PacketType.ViewerEffect:
78 ViewerEffectPacket viewer = (ViewerEffectPacket)Pack; 79 ViewerEffectPacket viewer = (ViewerEffectPacket)Pack;
79 foreach (ClientView client in m_clientThreads.Values) 80 foreach (IClientAPI client in m_clientThreads.Values)
80 { 81 {
81 if (client.AgentID != this.AgentID) 82 if (client.AgentId != this.AgentId)
82 { 83 {
83 viewer.AgentData.AgentID = client.AgentID; 84 viewer.AgentData.AgentID = client.AgentId;
84 viewer.AgentData.SessionID = client.SessionID; 85 viewer.AgentData.SessionID = client.SessionId;
85 client.OutPacket(viewer); 86 client.OutPacket(viewer);
86 } 87 }
87 } 88 }
@@ -106,7 +107,7 @@ namespace OpenSim.Region.ClientStack
106 byte[] message = inchatpack.ChatData.Message; 107 byte[] message = inchatpack.ChatData.Message;
107 byte type = inchatpack.ChatData.Type; 108 byte type = inchatpack.ChatData.Type;
108 LLVector3 fromPos = new LLVector3(); // ClientAvatar.Pos; 109 LLVector3 fromPos = new LLVector3(); // ClientAvatar.Pos;
109 LLUUID fromAgentID = AgentID; 110 LLUUID fromAgentID = AgentId;
110 111
111 int channel = inchatpack.ChatData.Channel; 112 int channel = inchatpack.ChatData.Channel;
112 113