From bd6e69b97c0d62eafd65ce6079675ad43a26309e Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 16 May 2007 16:01:01 +0000 Subject: Yet more cleanup/refactoring --- OpenSim.RegionServer/SimClient.PacketHandlers.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim.RegionServer/SimClient.PacketHandlers.cs') 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 { public partial class SimClient { + protected virtual void RegisterLocalPacketHandlers() + { + this.AddLocalPacketHandler(PacketType.LogoutRequest, this.Logout); + this.AddLocalPacketHandler(PacketType.AgentCachedTexture, this.AgentTextureCached); + this.AddLocalPacketHandler(PacketType.MultipleObjectUpdate, this.MultipleObjUpdate); + } + protected virtual bool Logout(SimClient simClient, Packet packet) { OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "OpenSimClient.cs:ProcessInPacket() - Got a logout request"); -- cgit v1.1