diff options
* Optimized usings (the 'LL ate my scripts' commit)
* added some licensing info
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs index 0456e3c..e4512d1 100644 --- a/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs +++ b/OpenSim/Region/ClientStack/ClientView.PacketHandlers.cs | |||
@@ -25,22 +25,9 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | using System; | ||
29 | using System.Collections; | ||
30 | using System.Collections.Generic; | ||
31 | using libsecondlife; | 28 | using libsecondlife; |
32 | using libsecondlife.Packets; | 29 | using libsecondlife.Packets; |
33 | using Nwc.XmlRpc; | 30 | using OpenSim.Framework.Console; |
34 | using System.Net; | ||
35 | using System.Net.Sockets; | ||
36 | using System.IO; | ||
37 | using System.Threading; | ||
38 | using System.Timers; | ||
39 | using OpenSim.Framework.Interfaces; | ||
40 | using OpenSim.Framework.Types; | ||
41 | using OpenSim.Framework.Inventory; | ||
42 | using OpenSim.Framework.Utilities; | ||
43 | using OpenSim.Assets; | ||
44 | 31 | ||
45 | namespace OpenSim.Region.ClientStack | 32 | namespace OpenSim.Region.ClientStack |
46 | { | 33 | { |
@@ -55,7 +42,7 @@ namespace OpenSim.Region.ClientStack | |||
55 | 42 | ||
56 | protected virtual bool Logout(ClientView simClient, Packet packet) | 43 | protected virtual bool Logout(ClientView simClient, Packet packet) |
57 | { | 44 | { |
58 | OpenSim.Framework.Console.MainLog.Instance.Verbose( "OpenSimClient.cs:ProcessInPacket() - Got a logout request"); | 45 | MainLog.Instance.Verbose( "OpenSimClient.cs:ProcessInPacket() - Got a logout request"); |
59 | //send reply to let the client logout | 46 | //send reply to let the client logout |
60 | LogoutReplyPacket logReply = new LogoutReplyPacket(); | 47 | LogoutReplyPacket logReply = new LogoutReplyPacket(); |
61 | logReply.AgentData.AgentID = this.AgentID; | 48 | logReply.AgentData.AgentID = this.AgentID; |
@@ -120,7 +107,7 @@ namespace OpenSim.Region.ClientStack | |||
120 | { | 107 | { |
121 | if (OnUpdatePrimPosition != null) | 108 | if (OnUpdatePrimPosition != null) |
122 | { | 109 | { |
123 | libsecondlife.LLVector3 pos = new LLVector3(multipleupdate.ObjectData[i].Data, 0); | 110 | LLVector3 pos = new LLVector3(multipleupdate.ObjectData[i].Data, 0); |
124 | OnUpdatePrimPosition(multipleupdate.ObjectData[i].ObjectLocalID, pos, this); | 111 | OnUpdatePrimPosition(multipleupdate.ObjectData[i].ObjectLocalID, pos, this); |
125 | } | 112 | } |
126 | //should update stored position of the prim | 113 | //should update stored position of the prim |
@@ -129,7 +116,7 @@ namespace OpenSim.Region.ClientStack | |||
129 | { | 116 | { |
130 | if (OnUpdatePrimRotation != null) | 117 | if (OnUpdatePrimRotation != null) |
131 | { | 118 | { |
132 | libsecondlife.LLQuaternion rot = new LLQuaternion(multipleupdate.ObjectData[i].Data, 0, true); | 119 | LLQuaternion rot = new LLQuaternion(multipleupdate.ObjectData[i].Data, 0, true); |
133 | OnUpdatePrimRotation(multipleupdate.ObjectData[i].ObjectLocalID, rot, this); | 120 | OnUpdatePrimRotation(multipleupdate.ObjectData[i].ObjectLocalID, rot, this); |
134 | } | 121 | } |
135 | } | 122 | } |
@@ -137,7 +124,7 @@ namespace OpenSim.Region.ClientStack | |||
137 | { | 124 | { |
138 | if (OnUpdatePrimScale != null) | 125 | if (OnUpdatePrimScale != null) |
139 | { | 126 | { |
140 | libsecondlife.LLVector3 scale = new LLVector3(multipleupdate.ObjectData[i].Data, 12); | 127 | LLVector3 scale = new LLVector3(multipleupdate.ObjectData[i].Data, 12); |
141 | OnUpdatePrimScale(multipleupdate.ObjectData[i].ObjectLocalID, scale, this); | 128 | OnUpdatePrimScale(multipleupdate.ObjectData[i].ObjectLocalID, scale, this); |
142 | } | 129 | } |
143 | } | 130 | } |