diff options
author | lbsa71 | 2007-09-18 09:59:33 +0000 |
---|---|---|
committer | lbsa71 | 2007-09-18 09:59:33 +0000 |
commit | a963b3057bdc80fc403e2b8402d0666c3d3f5c97 (patch) | |
tree | e2395d69fd3a7ef9fd4002498d9ebad914235645 /OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |
parent | * Merged ClientViewBase into ClientView for great justice (diff) | |
download | opensim-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.cs | 11 |
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; | |||
33 | using OpenSim.Framework.Inventory; | 33 | using OpenSim.Framework.Inventory; |
34 | using OpenSim.Framework.Types; | 34 | using OpenSim.Framework.Types; |
35 | using OpenSim.Framework.Utilities; | 35 | using OpenSim.Framework.Utilities; |
36 | using OpenSim.Framework.Interfaces; | ||
36 | 37 | ||
37 | namespace OpenSim.Region.ClientStack | 38 | namespace 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 | ||