aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/SimClient.PacketHandlers.cs
diff options
context:
space:
mode:
authorMW2007-05-16 16:01:01 +0000
committerMW2007-05-16 16:01:01 +0000
commitbd6e69b97c0d62eafd65ce6079675ad43a26309e (patch)
treec85d01460b3b46431d8783b62e11686633da90e1 /OpenSim.RegionServer/SimClient.PacketHandlers.cs
parentMore refactoring. (diff)
downloadopensim-SC_OLD-bd6e69b97c0d62eafd65ce6079675ad43a26309e.zip
opensim-SC_OLD-bd6e69b97c0d62eafd65ce6079675ad43a26309e.tar.gz
opensim-SC_OLD-bd6e69b97c0d62eafd65ce6079675ad43a26309e.tar.bz2
opensim-SC_OLD-bd6e69b97c0d62eafd65ce6079675ad43a26309e.tar.xz
Yet more cleanup/refactoring
Diffstat (limited to 'OpenSim.RegionServer/SimClient.PacketHandlers.cs')
-rw-r--r--OpenSim.RegionServer/SimClient.PacketHandlers.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim.RegionServer/SimClient.PacketHandlers.cs b/OpenSim.RegionServer/SimClient.PacketHandlers.cs
index f4de974..bc49898 100644
--- a/OpenSim.RegionServer/SimClient.PacketHandlers.cs
+++ b/OpenSim.RegionServer/SimClient.PacketHandlers.cs
@@ -20,6 +20,13 @@ namespace OpenSim
20{ 20{
21 public partial class SimClient 21 public partial class SimClient
22 { 22 {
23 protected virtual void RegisterLocalPacketHandlers()
24 {
25 this.AddLocalPacketHandler(PacketType.LogoutRequest, this.Logout);
26 this.AddLocalPacketHandler(PacketType.AgentCachedTexture, this.AgentTextureCached);
27 this.AddLocalPacketHandler(PacketType.MultipleObjectUpdate, this.MultipleObjUpdate);
28 }
29
23 protected virtual bool Logout(SimClient simClient, Packet packet) 30 protected virtual bool Logout(SimClient simClient, Packet packet)
24 { 31 {
25 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "OpenSimClient.cs:ProcessInPacket() - Got a logout request"); 32 OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "OpenSimClient.cs:ProcessInPacket() - Got a logout request");