Browse Source

Cleanup of handler super calls

combat-2
MagicBot 8 months ago
parent
commit
41f77364aa
  1. 7
      src/engine/net/client/handlers/CityDataHandler.java
  2. 3
      src/engine/net/client/handlers/PerformActionMsgHandler.java
  3. 3
      src/engine/net/client/handlers/UseCharterMsgHandler.java

7
src/engine/net/client/handlers/CityDataHandler.java

@ -8,7 +8,10 @@ import engine.gameManager.ZoneManager;
import engine.net.Dispatch; import engine.net.Dispatch;
import engine.net.DispatchMessage; import engine.net.DispatchMessage;
import engine.net.client.ClientConnection; import engine.net.client.ClientConnection;
import engine.net.client.msg.*; import engine.net.client.msg.CityDataMsg;
import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.HotzoneChangeMsg;
import engine.net.client.msg.WorldRealmMsg;
import engine.objects.City; import engine.objects.City;
import engine.objects.PlayerCharacter; import engine.objects.PlayerCharacter;
import engine.session.Session; import engine.session.Session;
@ -22,7 +25,7 @@ import engine.session.Session;
public class CityDataHandler extends AbstractClientMsgHandler { public class CityDataHandler extends AbstractClientMsgHandler {
public CityDataHandler() { public CityDataHandler() {
super(KeepAliveServerClientMsg.class); super(CityDataMsg.class);
} }
@Override @Override

3
src/engine/net/client/handlers/PerformActionMsgHandler.java

@ -12,13 +12,12 @@ import engine.exception.MsgSendException;
import engine.gameManager.PowersManager; import engine.gameManager.PowersManager;
import engine.net.client.ClientConnection; import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg; import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.KeepAliveServerClientMsg;
import engine.net.client.msg.PerformActionMsg; import engine.net.client.msg.PerformActionMsg;
public class PerformActionMsgHandler extends AbstractClientMsgHandler { public class PerformActionMsgHandler extends AbstractClientMsgHandler {
public PerformActionMsgHandler() { public PerformActionMsgHandler() {
super(KeepAliveServerClientMsg.class); super(PerformActionMsg.class);
} }
@Override @Override

3
src/engine/net/client/handlers/UseCharterMsgHandler.java

@ -14,13 +14,12 @@ import engine.net.Dispatch;
import engine.net.DispatchMessage; import engine.net.DispatchMessage;
import engine.net.client.ClientConnection; import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg; import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.KeepAliveServerClientMsg;
import engine.net.client.msg.UseCharterMsg; import engine.net.client.msg.UseCharterMsg;
public class UseCharterMsgHandler extends AbstractClientMsgHandler { public class UseCharterMsgHandler extends AbstractClientMsgHandler {
public UseCharterMsgHandler() { public UseCharterMsgHandler() {
super(KeepAliveServerClientMsg.class); super(UseCharterMsg.class);
} }
@Override @Override

Loading…
Cancel
Save