diff options
author | MW | 2007-05-16 16:01:01 +0000 |
---|---|---|
committer | MW | 2007-05-16 16:01:01 +0000 |
commit | bd6e69b97c0d62eafd65ce6079675ad43a26309e (patch) | |
tree | c85d01460b3b46431d8783b62e11686633da90e1 /OpenSim.RegionServer/SimClient.PacketHandlers.cs | |
parent | More refactoring. (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim.RegionServer/SimClient.PacketHandlers.cs | 7 |
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"); |