aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.RegionServer/OpenSimMain.cs')
-rw-r--r--OpenSim.RegionServer/OpenSimMain.cs16
1 files changed, 9 insertions, 7 deletions
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs
index ed957af..f004f91 100644
--- a/OpenSim.RegionServer/OpenSimMain.cs
+++ b/OpenSim.RegionServer/OpenSimMain.cs
@@ -350,13 +350,6 @@ namespace OpenSim
350 LocalWorld.Update(); 350 LocalWorld.Update();
351 } 351 }
352 352
353 protected virtual void RegisterClientPacketHandlers()
354 {
355 SimClient.AddPacketHandler(PacketType.ModifyLand, LocalWorld.ModifyTerrain);
356 SimClient.AddPacketHandler(PacketType.ChatFromViewer, LocalWorld.SimChat);
357 SimClient.AddPacketHandler(PacketType.UUIDNameRequest, this.RequestUUIDName);
358 }
359
360 public void RunCmd(string command, string[] cmdparams) 353 public void RunCmd(string command, string[] cmdparams)
361 { 354 {
362 switch (command) 355 switch (command)
@@ -404,6 +397,15 @@ namespace OpenSim
404 } 397 }
405 } 398 }
406 399
400 protected virtual void RegisterClientPacketHandlers()
401 {
402 SimClient.AddPacketHandler(PacketType.ModifyLand, LocalWorld.ModifyTerrain);
403 SimClient.AddPacketHandler(PacketType.ChatFromViewer, LocalWorld.SimChat);
404 SimClient.AddPacketHandler(PacketType.RezObject, LocalWorld.RezObject);
405 SimClient.AddPacketHandler(PacketType.DeRezObject, LocalWorld.DeRezObject);
406 SimClient.AddPacketHandler(PacketType.UUIDNameRequest, this.RequestUUIDName);
407 }
408
407 #region Client Packet Handlers 409 #region Client Packet Handlers
408 410
409 public bool RequestUUIDName(SimClient simClient, Packet packet) 411 public bool RequestUUIDName(SimClient simClient, Packet packet)