Browse Source

Unused field removed

combat-2
MagicBot 6 months ago
parent
commit
1cb01b1cce
  1. 2
      src/engine/net/client/handlers/AbandonAssetMsgHandler.java
  2. 2
      src/engine/net/client/handlers/AbstractChatMsgHandler.java
  3. 4
      src/engine/net/client/handlers/AbstractClientMsgHandler.java
  4. 2
      src/engine/net/client/handlers/AcceptInviteToGuildHandler.java
  5. 2
      src/engine/net/client/handlers/AcceptSubInviteHandler.java
  6. 2
      src/engine/net/client/handlers/AcceptTradeRequestMsgHandler.java
  7. 2
      src/engine/net/client/handlers/ActivateNPCMsgHandler.java
  8. 2
      src/engine/net/client/handlers/AddGoldToTradeWindowMsgHandler.java
  9. 2
      src/engine/net/client/handlers/AddItemToTradeWindowMsgHandler.java
  10. 2
      src/engine/net/client/handlers/AllianceChangeMsgHandler.java
  11. 2
      src/engine/net/client/handlers/AllyEnemyListMsgHandler.java
  12. 2
      src/engine/net/client/handlers/AppointGroupLeaderHandler.java
  13. 3
      src/engine/net/client/handlers/ArcLoginNotifyMsgHandler.java
  14. 2
      src/engine/net/client/handlers/ArcMineChangeProductionMsgHandler.java
  15. 2
      src/engine/net/client/handlers/ArcMineWindowAvailableTimeHandler.java
  16. 2
      src/engine/net/client/handlers/ArcOwnedMinesListHandler.java
  17. 2
      src/engine/net/client/handlers/ArcSiegeSpireMsgHandler.java
  18. 2
      src/engine/net/client/handlers/ArcViewAssetTransactionsMsgHandler.java
  19. 2
      src/engine/net/client/handlers/AssetSupportMsgHandler.java
  20. 2
      src/engine/net/client/handlers/AttackCmdMsgHandler.java
  21. 2
      src/engine/net/client/handlers/BanishUnbanishHandler.java
  22. 2
      src/engine/net/client/handlers/BreakFealtyHandler.java
  23. 2
      src/engine/net/client/handlers/ChangeAltitudeHandler.java
  24. 2
      src/engine/net/client/handlers/ChangeGuildLeaderHandler.java
  25. 2
      src/engine/net/client/handlers/ChangeRankHandler.java
  26. 3
      src/engine/net/client/handlers/ChannelMuteMsgHandler.java
  27. 2
      src/engine/net/client/handlers/CityChoiceMsgHandler.java
  28. 2
      src/engine/net/client/handlers/CityDataHandler.java
  29. 2
      src/engine/net/client/handlers/ClaimAssetMsgHandler.java
  30. 2
      src/engine/net/client/handlers/ClaimGuildTreeMsgHandler.java
  31. 2
      src/engine/net/client/handlers/ClientAdminCommandMsgHandler.java
  32. 2
      src/engine/net/client/handlers/ClientLoginInfoMsgHandler.java
  33. 2
      src/engine/net/client/handlers/CloseTradeWindowMsgHandler.java
  34. 2
      src/engine/net/client/handlers/CommitNewCharacterMsgHandler.java
  35. 2
      src/engine/net/client/handlers/CommitToTradeMsgHandler.java
  36. 2
      src/engine/net/client/handlers/DeleteCharacterMsgHandler.java
  37. 4
      src/engine/net/client/handlers/DeleteItemMsgHandler.java
  38. 2
      src/engine/net/client/handlers/DestroyBuildingHandler.java
  39. 3
      src/engine/net/client/handlers/DisbandGroupHandler.java
  40. 7
      src/engine/net/client/handlers/DisbandGuildHandler.java
  41. 6
      src/engine/net/client/handlers/DismissGuildHandler.java
  42. 6
      src/engine/net/client/handlers/DoorTryOpenMsgHandler.java
  43. 2
      src/engine/net/client/handlers/FormationFollowHandler.java
  44. 4
      src/engine/net/client/handlers/FriendAcceptHandler.java
  45. 4
      src/engine/net/client/handlers/FriendDeclineHandler.java
  46. 4
      src/engine/net/client/handlers/FriendRequestHandler.java
  47. 4
      src/engine/net/client/handlers/FurnitureHandler.java
  48. 2
      src/engine/net/client/handlers/GameServerIPRequestMsgHandler.java
  49. 2
      src/engine/net/client/handlers/GoldFromVaultMsgHandler.java
  50. 2
      src/engine/net/client/handlers/GoldToVaultMsgHandler.java
  51. 6
      src/engine/net/client/handlers/GroupInviteHandler.java
  52. 4
      src/engine/net/client/handlers/GroupInviteResponseHandler.java
  53. 3
      src/engine/net/client/handlers/GroupUpdateHandler.java
  54. 4
      src/engine/net/client/handlers/GuildControlHandler.java
  55. 3
      src/engine/net/client/handlers/GuildCreationCloseHandler.java
  56. 2
      src/engine/net/client/handlers/GuildCreationFinalizeHandler.java
  57. 2
      src/engine/net/client/handlers/GuildCreationOptionsHandler.java
  58. 2
      src/engine/net/client/handlers/GuildInfoHandler.java
  59. 3
      src/engine/net/client/handlers/GuildListHandler.java
  60. 2
      src/engine/net/client/handlers/GuildTreeStatusMsgHandler.java
  61. 3
      src/engine/net/client/handlers/GuildUnknownHandler.java
  62. 2
      src/engine/net/client/handlers/HirelingServiceMsgHandler.java
  63. 2
      src/engine/net/client/handlers/IgnoreMsgHandler.java
  64. 2
      src/engine/net/client/handlers/InvalidTradeRequestMsgHandler.java
  65. 2
      src/engine/net/client/handlers/InviteToGuildHandler.java
  66. 2
      src/engine/net/client/handlers/InviteToSubHandler.java
  67. 2
      src/engine/net/client/handlers/ItemFromVaultMsgHandler.java
  68. 2
      src/engine/net/client/handlers/ItemProductionMsgHandler.java
  69. 2
      src/engine/net/client/handlers/ItemToVaultMsgHandler.java
  70. 2
      src/engine/net/client/handlers/KeepAliveServerClientHandler.java
  71. 3
      src/engine/net/client/handlers/LeaveGroupHandler.java
  72. 2
      src/engine/net/client/handlers/LeaveGuildHandler.java
  73. 3
      src/engine/net/client/handlers/LeaveWorldMsgHandler.java
  74. 2
      src/engine/net/client/handlers/LockUnlockDoorMsgHandler.java
  75. 2
      src/engine/net/client/handlers/LoginToGameServerMsgHandler.java
  76. 2
      src/engine/net/client/handlers/LootMsgHandler.java
  77. 2
      src/engine/net/client/handlers/LootWindowRequestMsgHandler.java
  78. 2
      src/engine/net/client/handlers/MOTDCommitHandler.java
  79. 2
      src/engine/net/client/handlers/MOTDEditHandler.java
  80. 2
      src/engine/net/client/handlers/ManageCityAssetMsgHandler.java
  81. 2
      src/engine/net/client/handlers/MerchantMsgHandler.java
  82. 2
      src/engine/net/client/handlers/MineWindowChangeHandler.java
  83. 2
      src/engine/net/client/handlers/MinionTrainingMsgHandler.java
  84. 2
      src/engine/net/client/handlers/ModifyStatMsgHandler.java
  85. 2
      src/engine/net/client/handlers/MoveToPointHandler.java
  86. 2
      src/engine/net/client/handlers/ObjectActionMsgHandler.java
  87. 2
      src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java
  88. 2
      src/engine/net/client/handlers/OrderNPCMsgHandler.java
  89. 2
      src/engine/net/client/handlers/PerformActionMsgHandler.java
  90. 2
      src/engine/net/client/handlers/PetAttackMsgHandler.java
  91. 2
      src/engine/net/client/handlers/PetCmdMsgHandler.java
  92. 2
      src/engine/net/client/handlers/PetitionReceivedMsgHandler.java
  93. 2
      src/engine/net/client/handlers/PlaceAssetMsgHandler.java
  94. 2
      src/engine/net/client/handlers/PromptRecallMsgHandler.java
  95. 2
      src/engine/net/client/handlers/RandomMsgHandler.java
  96. 2
      src/engine/net/client/handlers/RecommendNationMsgHandler.java
  97. 2
      src/engine/net/client/handlers/RecvSummonsMsgHandler.java
  98. 2
      src/engine/net/client/handlers/RefineMsgHandler.java
  99. 2
      src/engine/net/client/handlers/RefinerScreenMsgHandler.java
  100. 2
      src/engine/net/client/handlers/RemoveFriendHandler.java
  101. Some files were not shown because too many files have changed in this diff Show More

2
src/engine/net/client/handlers/AbandonAssetMsgHandler.java

@ -22,7 +22,7 @@ public class AbandonAssetMsgHandler extends AbstractClientMsgHandler {
// Instance variables // Instance variables
public AbandonAssetMsgHandler() { public AbandonAssetMsgHandler() {
super(AbandonAssetMsg.class); super();
} }

2
src/engine/net/client/handlers/AbstractChatMsgHandler.java

@ -22,7 +22,7 @@ import static engine.gameManager.ChatManager.FLOOD_TIME_THRESHOLD;
public class AbstractChatMsgHandler extends AbstractClientMsgHandler { public class AbstractChatMsgHandler extends AbstractClientMsgHandler {
public AbstractChatMsgHandler() { public AbstractChatMsgHandler() {
super(AbstractChatMsg.class); super();
} }
@Override @Override

4
src/engine/net/client/handlers/AbstractClientMsgHandler.java

@ -10,10 +10,8 @@ import engine.net.client.msg.ClientNetMsg;
*/ */
public abstract class AbstractClientMsgHandler { public abstract class AbstractClientMsgHandler {
private final Class<? extends ClientNetMsg> handler;
public AbstractClientMsgHandler(Class<? extends ClientNetMsg> handler) { public AbstractClientMsgHandler() {
this.handler = handler;
} }
public boolean handleNetMsg(ClientNetMsg msg) { public boolean handleNetMsg(ClientNetMsg msg) {

2
src/engine/net/client/handlers/AcceptInviteToGuildHandler.java

@ -32,7 +32,7 @@ import org.joda.time.DateTime;
public class AcceptInviteToGuildHandler extends AbstractClientMsgHandler { public class AcceptInviteToGuildHandler extends AbstractClientMsgHandler {
public AcceptInviteToGuildHandler() { public AcceptInviteToGuildHandler() {
super(AcceptInviteToGuildMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/AcceptSubInviteHandler.java

@ -31,7 +31,7 @@ import java.util.ArrayList;
public class AcceptSubInviteHandler extends AbstractClientMsgHandler { public class AcceptSubInviteHandler extends AbstractClientMsgHandler {
public AcceptSubInviteHandler() { public AcceptSubInviteHandler() {
super(AcceptSubInviteMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/AcceptTradeRequestMsgHandler.java

@ -28,7 +28,7 @@ import static engine.objects.CharacterItemManager.canTrade;
public class AcceptTradeRequestMsgHandler extends AbstractClientMsgHandler { public class AcceptTradeRequestMsgHandler extends AbstractClientMsgHandler {
public AcceptTradeRequestMsgHandler() { public AcceptTradeRequestMsgHandler() {
super(AcceptTradeRequestMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ActivateNPCMsgHandler.java

@ -23,7 +23,7 @@ import java.util.ArrayList;
public class ActivateNPCMsgHandler extends AbstractClientMsgHandler { public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
public ActivateNPCMsgHandler() { public ActivateNPCMsgHandler() {
super(ActivateNPCMessage.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/AddGoldToTradeWindowMsgHandler.java

@ -27,7 +27,7 @@ import static engine.objects.CharacterItemManager.canTrade;
public class AddGoldToTradeWindowMsgHandler extends AbstractClientMsgHandler { public class AddGoldToTradeWindowMsgHandler extends AbstractClientMsgHandler {
public AddGoldToTradeWindowMsgHandler() { public AddGoldToTradeWindowMsgHandler() {
super(AddGoldToTradeWindowMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/AddItemToTradeWindowMsgHandler.java

@ -25,7 +25,7 @@ import static engine.objects.CharacterItemManager.canTrade;
public class AddItemToTradeWindowMsgHandler extends AbstractClientMsgHandler { public class AddItemToTradeWindowMsgHandler extends AbstractClientMsgHandler {
public AddItemToTradeWindowMsgHandler() { public AddItemToTradeWindowMsgHandler() {
super(AddItemToTradeWindowMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/AllianceChangeMsgHandler.java

@ -21,7 +21,7 @@ import engine.objects.PlayerCharacter;
public class AllianceChangeMsgHandler extends AbstractClientMsgHandler { public class AllianceChangeMsgHandler extends AbstractClientMsgHandler {
public AllianceChangeMsgHandler() { public AllianceChangeMsgHandler() {
super(AllianceChangeMsg.class); super();
} }
private static void MakeEnemy(Guild fromGuild, Guild toGuild, AllianceChangeMsg msg, ClientConnection origin) { private static void MakeEnemy(Guild fromGuild, Guild toGuild, AllianceChangeMsg msg, ClientConnection origin) {

2
src/engine/net/client/handlers/AllyEnemyListMsgHandler.java

@ -19,7 +19,7 @@ import engine.objects.PlayerCharacter;
public class AllyEnemyListMsgHandler extends AbstractClientMsgHandler { public class AllyEnemyListMsgHandler extends AbstractClientMsgHandler {
public AllyEnemyListMsgHandler() { public AllyEnemyListMsgHandler() {
super(AllyEnemyListMsg.class); super();
} }
private static void showAllyEnemyList(Guild fromGuild, Guild toGuild, AllyEnemyListMsg msg, ClientConnection origin) { private static void showAllyEnemyList(Guild fromGuild, Guild toGuild, AllyEnemyListMsg msg, ClientConnection origin) {

2
src/engine/net/client/handlers/AppointGroupLeaderHandler.java

@ -26,7 +26,7 @@ import engine.objects.PlayerCharacter;
public class AppointGroupLeaderHandler extends AbstractClientMsgHandler { public class AppointGroupLeaderHandler extends AbstractClientMsgHandler {
public AppointGroupLeaderHandler() { public AppointGroupLeaderHandler() {
super(AppointGroupLeaderMsg.class); super();
} }
@Override @Override

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

@ -8,7 +8,6 @@ import engine.mbEnums.DispatchChannel;
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.ArcLoginNotifyMsg;
import engine.net.client.msg.ClientNetMsg; import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.HotzoneChangeMsg; import engine.net.client.msg.HotzoneChangeMsg;
import engine.net.client.msg.PetMsg; import engine.net.client.msg.PetMsg;
@ -23,7 +22,7 @@ import org.pmw.tinylog.Logger;
public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler { public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler {
public ArcLoginNotifyMsgHandler() { public ArcLoginNotifyMsgHandler() {
super(ArcLoginNotifyMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ArcMineChangeProductionMsgHandler.java

@ -21,7 +21,7 @@ import engine.objects.PlayerCharacter;
public class ArcMineChangeProductionMsgHandler extends AbstractClientMsgHandler { public class ArcMineChangeProductionMsgHandler extends AbstractClientMsgHandler {
public ArcMineChangeProductionMsgHandler() { public ArcMineChangeProductionMsgHandler() {
super(ArcMineChangeProductionMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ArcMineWindowAvailableTimeHandler.java

@ -23,7 +23,7 @@ import engine.objects.PlayerCharacter;
public class ArcMineWindowAvailableTimeHandler extends AbstractClientMsgHandler { public class ArcMineWindowAvailableTimeHandler extends AbstractClientMsgHandler {
public ArcMineWindowAvailableTimeHandler() { public ArcMineWindowAvailableTimeHandler() {
super(ArcMineWindowAvailableTimeMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ArcOwnedMinesListHandler.java

@ -20,7 +20,7 @@ import engine.objects.PlayerCharacter;
public class ArcOwnedMinesListHandler extends AbstractClientMsgHandler { public class ArcOwnedMinesListHandler extends AbstractClientMsgHandler {
public ArcOwnedMinesListHandler() { public ArcOwnedMinesListHandler() {
super(ArcOwnedMinesListMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ArcSiegeSpireMsgHandler.java

@ -22,7 +22,7 @@ import org.pmw.tinylog.Logger;
public class ArcSiegeSpireMsgHandler extends AbstractClientMsgHandler { public class ArcSiegeSpireMsgHandler extends AbstractClientMsgHandler {
public ArcSiegeSpireMsgHandler() { public ArcSiegeSpireMsgHandler() {
super(ArcSiegeSpireMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ArcViewAssetTransactionsMsgHandler.java

@ -23,7 +23,7 @@ import engine.objects.Warehouse;
public class ArcViewAssetTransactionsMsgHandler extends AbstractClientMsgHandler { public class ArcViewAssetTransactionsMsgHandler extends AbstractClientMsgHandler {
public ArcViewAssetTransactionsMsgHandler() { public ArcViewAssetTransactionsMsgHandler() {
super(ArcViewAssetTransactionsMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/AssetSupportMsgHandler.java

@ -22,7 +22,7 @@ import org.pmw.tinylog.Logger;
public class AssetSupportMsgHandler extends AbstractClientMsgHandler { public class AssetSupportMsgHandler extends AbstractClientMsgHandler {
public AssetSupportMsgHandler() { public AssetSupportMsgHandler() {
super(AssetSupportMsg.class); super();
} }
private static void protectAsset(AssetSupportMsg msg, Building targetBuilding, NPC vendor, ClientConnection origin) { private static void protectAsset(AssetSupportMsg msg, Building targetBuilding, NPC vendor, ClientConnection origin) {

2
src/engine/net/client/handlers/AttackCmdMsgHandler.java

@ -22,7 +22,7 @@ import engine.objects.PlayerCharacter;
public class AttackCmdMsgHandler extends AbstractClientMsgHandler { public class AttackCmdMsgHandler extends AbstractClientMsgHandler {
public AttackCmdMsgHandler() { public AttackCmdMsgHandler() {
super(AttackCmdMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/BanishUnbanishHandler.java

@ -31,7 +31,7 @@ import org.joda.time.DateTime;
public class BanishUnbanishHandler extends AbstractClientMsgHandler { public class BanishUnbanishHandler extends AbstractClientMsgHandler {
public BanishUnbanishHandler() { public BanishUnbanishHandler() {
super(BanishUnbanishMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/BreakFealtyHandler.java

@ -32,7 +32,7 @@ import java.util.ArrayList;
public class BreakFealtyHandler extends AbstractClientMsgHandler { public class BreakFealtyHandler extends AbstractClientMsgHandler {
public BreakFealtyHandler() { public BreakFealtyHandler() {
super(BreakFealtyMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ChangeAltitudeHandler.java

@ -25,7 +25,7 @@ import org.pmw.tinylog.Logger;
public class ChangeAltitudeHandler extends AbstractClientMsgHandler { public class ChangeAltitudeHandler extends AbstractClientMsgHandler {
public ChangeAltitudeHandler() { public ChangeAltitudeHandler() {
super(ChangeAltitudeMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ChangeGuildLeaderHandler.java

@ -29,7 +29,7 @@ import engine.objects.PlayerCharacter;
public class ChangeGuildLeaderHandler extends AbstractClientMsgHandler { public class ChangeGuildLeaderHandler extends AbstractClientMsgHandler {
public ChangeGuildLeaderHandler() { public ChangeGuildLeaderHandler() {
super(ChangeGuildLeaderMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ChangeRankHandler.java

@ -28,7 +28,7 @@ import engine.objects.PlayerCharacter;
public class ChangeRankHandler extends AbstractClientMsgHandler { public class ChangeRankHandler extends AbstractClientMsgHandler {
public ChangeRankHandler() { public ChangeRankHandler() {
super(ChangeRankMsg.class); super();
} }
@Override @Override

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

@ -8,7 +8,6 @@ import engine.gameManager.ZoneManager;
import engine.mbEnums.BuildingGroup; import engine.mbEnums.BuildingGroup;
import engine.mbEnums.GuildState; import engine.mbEnums.GuildState;
import engine.net.client.ClientConnection; import engine.net.client.ClientConnection;
import engine.net.client.msg.ChatFilterMsg;
import engine.net.client.msg.ClientNetMsg; import engine.net.client.msg.ClientNetMsg;
import engine.objects.*; import engine.objects.*;
import org.pmw.tinylog.Logger; import org.pmw.tinylog.Logger;
@ -23,7 +22,7 @@ public class ChannelMuteMsgHandler extends AbstractClientMsgHandler {
// Instance variables // Instance variables
public ChannelMuteMsgHandler() { public ChannelMuteMsgHandler() {
super(ChatFilterMsg.class); super();
} }

2
src/engine/net/client/handlers/CityChoiceMsgHandler.java

@ -23,7 +23,7 @@ import engine.objects.PlayerCharacter;
public class CityChoiceMsgHandler extends AbstractClientMsgHandler { public class CityChoiceMsgHandler extends AbstractClientMsgHandler {
public CityChoiceMsgHandler() { public CityChoiceMsgHandler() {
super(CityChoiceMsg.class); super();
} }
@Override @Override

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

@ -25,7 +25,7 @@ import engine.session.Session;
public class CityDataHandler extends AbstractClientMsgHandler { public class CityDataHandler extends AbstractClientMsgHandler {
public CityDataHandler() { public CityDataHandler() {
super(CityDataMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ClaimAssetMsgHandler.java

@ -39,7 +39,7 @@ public class ClaimAssetMsgHandler extends AbstractClientMsgHandler {
private final ReentrantReadWriteLock claimLock = new ReentrantReadWriteLock(); private final ReentrantReadWriteLock claimLock = new ReentrantReadWriteLock();
public ClaimAssetMsgHandler() { public ClaimAssetMsgHandler() {
super(ClaimAssetMsg.class); super();
} }

2
src/engine/net/client/handlers/ClaimGuildTreeMsgHandler.java

@ -40,7 +40,7 @@ public class ClaimGuildTreeMsgHandler extends AbstractClientMsgHandler {
private final ReentrantReadWriteLock claimLock = new ReentrantReadWriteLock(); private final ReentrantReadWriteLock claimLock = new ReentrantReadWriteLock();
public ClaimGuildTreeMsgHandler() { public ClaimGuildTreeMsgHandler() {
super(ClaimGuildTreeMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ClientAdminCommandMsgHandler.java

@ -25,7 +25,7 @@ import org.pmw.tinylog.Logger;
public class ClientAdminCommandMsgHandler extends AbstractClientMsgHandler { public class ClientAdminCommandMsgHandler extends AbstractClientMsgHandler {
public ClientAdminCommandMsgHandler() { public ClientAdminCommandMsgHandler() {
super(ClientAdminCommandMsg.class); super();
} }
public static boolean processDevCommand(AbstractWorldObject sender, String text) { public static boolean processDevCommand(AbstractWorldObject sender, String text) {

2
src/engine/net/client/handlers/ClientLoginInfoMsgHandler.java

@ -26,7 +26,7 @@ import org.pmw.tinylog.Logger;
public class ClientLoginInfoMsgHandler extends AbstractClientMsgHandler { public class ClientLoginInfoMsgHandler extends AbstractClientMsgHandler {
public ClientLoginInfoMsgHandler() { public ClientLoginInfoMsgHandler() {
super(ClientLoginInfoMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/CloseTradeWindowMsgHandler.java

@ -21,7 +21,7 @@ import engine.objects.PlayerCharacter;
public class CloseTradeWindowMsgHandler extends AbstractClientMsgHandler { public class CloseTradeWindowMsgHandler extends AbstractClientMsgHandler {
public CloseTradeWindowMsgHandler() { public CloseTradeWindowMsgHandler() {
super(CloseTradeWindowMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/CommitNewCharacterMsgHandler.java

@ -21,7 +21,7 @@ import org.pmw.tinylog.Logger;
public class CommitNewCharacterMsgHandler extends AbstractClientMsgHandler { public class CommitNewCharacterMsgHandler extends AbstractClientMsgHandler {
public CommitNewCharacterMsgHandler() { public CommitNewCharacterMsgHandler() {
super(CommitNewCharacterMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/CommitToTradeMsgHandler.java

@ -21,7 +21,7 @@ import static engine.objects.CharacterItemManager.canTrade;
public class CommitToTradeMsgHandler extends AbstractClientMsgHandler { public class CommitToTradeMsgHandler extends AbstractClientMsgHandler {
public CommitToTradeMsgHandler() { public CommitToTradeMsgHandler() {
super(CommitToTradeMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/DeleteCharacterMsgHandler.java

@ -23,7 +23,7 @@ import org.pmw.tinylog.Logger;
public class DeleteCharacterMsgHandler extends AbstractClientMsgHandler { public class DeleteCharacterMsgHandler extends AbstractClientMsgHandler {
public DeleteCharacterMsgHandler() { public DeleteCharacterMsgHandler() {
super(DeleteCharacterMsg.class); super();
} }
@Override @Override

4
src/engine/net/client/handlers/DeleteItemMsgHandler.java

@ -8,8 +8,8 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums.DispatchChannel;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.mbEnums.DispatchChannel;
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;
@ -22,7 +22,7 @@ import engine.objects.PlayerCharacter;
public class DeleteItemMsgHandler extends AbstractClientMsgHandler { public class DeleteItemMsgHandler extends AbstractClientMsgHandler {
public DeleteItemMsgHandler() { public DeleteItemMsgHandler() {
super(DeleteItemMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/DestroyBuildingHandler.java

@ -20,7 +20,7 @@ import engine.objects.*;
public class DestroyBuildingHandler extends AbstractClientMsgHandler { public class DestroyBuildingHandler extends AbstractClientMsgHandler {
public DestroyBuildingHandler() { public DestroyBuildingHandler() {
super(DestroyBuildingMsg.class); super();
} }
@Override @Override

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

@ -14,7 +14,6 @@ import engine.gameManager.GroupManager;
import engine.gameManager.SessionManager; import engine.gameManager.SessionManager;
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.group.DisbandGroupMsg;
import engine.net.client.msg.group.GroupUpdateMsg; import engine.net.client.msg.group.GroupUpdateMsg;
import engine.objects.Group; import engine.objects.Group;
import engine.objects.PlayerCharacter; import engine.objects.PlayerCharacter;
@ -22,7 +21,7 @@ import engine.objects.PlayerCharacter;
public class DisbandGroupHandler extends AbstractClientMsgHandler { public class DisbandGroupHandler extends AbstractClientMsgHandler {
public DisbandGroupHandler() { public DisbandGroupHandler() {
super(DisbandGroupMsg.class); super();
} }
@Override @Override

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

@ -9,8 +9,6 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums;
import engine.mbEnums.GuildHistoryType;
import engine.InterestManagement.WorldGrid; import engine.InterestManagement.WorldGrid;
import engine.db.archive.DataWarehouse; import engine.db.archive.DataWarehouse;
import engine.db.archive.GuildRecord; import engine.db.archive.GuildRecord;
@ -18,12 +16,13 @@ import engine.exception.MsgSendException;
import engine.gameManager.ChatManager; import engine.gameManager.ChatManager;
import engine.gameManager.DbManager; import engine.gameManager.DbManager;
import engine.gameManager.SessionManager; import engine.gameManager.SessionManager;
import engine.mbEnums;
import engine.mbEnums.GuildHistoryType;
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.ClientNetMsg; import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.ErrorPopupMsg; import engine.net.client.msg.ErrorPopupMsg;
import engine.net.client.msg.guild.DisbandGuildMsg;
import engine.net.client.msg.guild.LeaveGuildMsg; import engine.net.client.msg.guild.LeaveGuildMsg;
import engine.objects.Bane; import engine.objects.Bane;
import engine.objects.Guild; import engine.objects.Guild;
@ -33,7 +32,7 @@ import engine.objects.PlayerCharacter;
public class DisbandGuildHandler extends AbstractClientMsgHandler { public class DisbandGuildHandler extends AbstractClientMsgHandler {
public DisbandGuildHandler() { public DisbandGuildHandler() {
super(DisbandGuildMsg.class); super();
} }
@Override @Override

6
src/engine/net/client/handlers/DismissGuildHandler.java

@ -9,13 +9,13 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.ChatManager; import engine.gameManager.ChatManager;
import engine.gameManager.DbManager; import engine.gameManager.DbManager;
import engine.gameManager.GuildManager; import engine.gameManager.GuildManager;
import engine.gameManager.SessionManager; import engine.gameManager.SessionManager;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
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;
@ -32,7 +32,7 @@ import java.util.ArrayList;
public class DismissGuildHandler extends AbstractClientMsgHandler { public class DismissGuildHandler extends AbstractClientMsgHandler {
public DismissGuildHandler() { public DismissGuildHandler() {
super(DismissGuildMsg.class); super();
} }
@Override @Override

6
src/engine/net/client/handlers/DoorTryOpenMsgHandler.java

@ -1,10 +1,10 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums;
import engine.mbEnums.DoorState;
import engine.InterestManagement.WorldGrid; import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager; import engine.gameManager.BuildingManager;
import engine.mbEnums;
import engine.mbEnums.DoorState;
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;
@ -28,7 +28,7 @@ import java.util.HashSet;
public class DoorTryOpenMsgHandler extends AbstractClientMsgHandler { public class DoorTryOpenMsgHandler extends AbstractClientMsgHandler {
public DoorTryOpenMsgHandler() { public DoorTryOpenMsgHandler() {
super(DoorTryOpenMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/FormationFollowHandler.java

@ -23,7 +23,7 @@ import engine.objects.PlayerCharacter;
public class FormationFollowHandler extends AbstractClientMsgHandler { public class FormationFollowHandler extends AbstractClientMsgHandler {
public FormationFollowHandler() { public FormationFollowHandler() {
super(FormationFollowMsg.class); super();
} }
@Override @Override

4
src/engine/net/client/handlers/FriendAcceptHandler.java

@ -9,10 +9,10 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums.DispatchChannel;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.ChatManager; import engine.gameManager.ChatManager;
import engine.gameManager.SessionManager; import engine.gameManager.SessionManager;
import engine.mbEnums.DispatchChannel;
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;
@ -26,7 +26,7 @@ import engine.objects.PlayerFriends;
public class FriendAcceptHandler extends AbstractClientMsgHandler { public class FriendAcceptHandler extends AbstractClientMsgHandler {
public FriendAcceptHandler() { public FriendAcceptHandler() {
super(AcceptFriendMsg.class); super();
} }
//change to Request //change to Request

4
src/engine/net/client/handlers/FriendDeclineHandler.java

@ -9,9 +9,9 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums.DispatchChannel;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.SessionManager; import engine.gameManager.SessionManager;
import engine.mbEnums.DispatchChannel;
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;
@ -23,7 +23,7 @@ import engine.objects.PlayerCharacter;
public class FriendDeclineHandler extends AbstractClientMsgHandler { public class FriendDeclineHandler extends AbstractClientMsgHandler {
public FriendDeclineHandler() { public FriendDeclineHandler() {
super(DeclineFriendMsg.class); super();
} }
//change to Request //change to Request

4
src/engine/net/client/handlers/FriendRequestHandler.java

@ -9,10 +9,10 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums.DispatchChannel;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.ChatManager; import engine.gameManager.ChatManager;
import engine.gameManager.SessionManager; import engine.gameManager.SessionManager;
import engine.mbEnums.DispatchChannel;
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;
@ -24,7 +24,7 @@ import engine.objects.PlayerCharacter;
public class FriendRequestHandler extends AbstractClientMsgHandler { public class FriendRequestHandler extends AbstractClientMsgHandler {
public FriendRequestHandler() { public FriendRequestHandler() {
super(FriendRequestMsg.class); super();
} }
public static void HandleRequestFriend(PlayerCharacter player, FriendRequestMsg msg) { public static void HandleRequestFriend(PlayerCharacter player, FriendRequestMsg msg) {

4
src/engine/net/client/handlers/FurnitureHandler.java

@ -9,8 +9,8 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums.DispatchChannel;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.mbEnums.DispatchChannel;
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;
@ -21,7 +21,7 @@ import engine.objects.PlayerCharacter;
public class FurnitureHandler extends AbstractClientMsgHandler { public class FurnitureHandler extends AbstractClientMsgHandler {
public FurnitureHandler() { public FurnitureHandler() {
super(FurnitureMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/GameServerIPRequestMsgHandler.java

@ -26,7 +26,7 @@ import org.pmw.tinylog.Logger;
public class GameServerIPRequestMsgHandler extends AbstractClientMsgHandler { public class GameServerIPRequestMsgHandler extends AbstractClientMsgHandler {
public GameServerIPRequestMsgHandler() { public GameServerIPRequestMsgHandler() {
super(GameServerIPRequestMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/GoldFromVaultMsgHandler.java

@ -18,7 +18,7 @@ import engine.objects.PlayerCharacter;
public class GoldFromVaultMsgHandler extends AbstractClientMsgHandler { public class GoldFromVaultMsgHandler extends AbstractClientMsgHandler {
public GoldFromVaultMsgHandler() { public GoldFromVaultMsgHandler() {
super(GoldFromVaultMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/GoldToVaultMsgHandler.java

@ -18,7 +18,7 @@ import engine.objects.PlayerCharacter;
public class GoldToVaultMsgHandler extends AbstractClientMsgHandler { public class GoldToVaultMsgHandler extends AbstractClientMsgHandler {
public GoldToVaultMsgHandler() { public GoldToVaultMsgHandler() {
super(GoldToVaultMsg.class); super();
} }
@Override @Override

6
src/engine/net/client/handlers/GroupInviteHandler.java

@ -9,12 +9,12 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.ConfigManager; import engine.gameManager.ConfigManager;
import engine.gameManager.GroupManager; import engine.gameManager.GroupManager;
import engine.gameManager.SessionManager; import engine.gameManager.SessionManager;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
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;
@ -28,7 +28,7 @@ import engine.objects.PlayerCharacter;
public class GroupInviteHandler extends AbstractClientMsgHandler { public class GroupInviteHandler extends AbstractClientMsgHandler {
public GroupInviteHandler() { public GroupInviteHandler() {
super(GroupInviteMsg.class); super();
} }
private static Group createGroup(PlayerCharacter pc, ClientConnection origin) { private static Group createGroup(PlayerCharacter pc, ClientConnection origin) {

4
src/engine/net/client/handlers/GroupInviteResponseHandler.java

@ -9,10 +9,10 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.ChatManager; import engine.gameManager.ChatManager;
import engine.gameManager.GroupManager; import engine.gameManager.GroupManager;
import engine.mbEnums;
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;
@ -29,7 +29,7 @@ import static engine.util.KeyCloneAudit.KEYCLONEAUDIT;
public class GroupInviteResponseHandler extends AbstractClientMsgHandler { public class GroupInviteResponseHandler extends AbstractClientMsgHandler {
public GroupInviteResponseHandler() { public GroupInviteResponseHandler() {
super(GroupInviteResponseMsg.class); super();
} }
@Override @Override

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

@ -12,12 +12,11 @@ package engine.net.client.handlers;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
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.group.GroupUpdateMsg;
public class GroupUpdateHandler extends AbstractClientMsgHandler { public class GroupUpdateHandler extends AbstractClientMsgHandler {
public GroupUpdateHandler() { public GroupUpdateHandler() {
super(GroupUpdateMsg.class); super();
} }
@Override @Override

4
src/engine/net/client/handlers/GuildControlHandler.java

@ -9,9 +9,9 @@
package engine.net.client.handlers; package engine.net.client.handlers;
import engine.mbEnums;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
import engine.gameManager.SessionManager; import engine.gameManager.SessionManager;
import engine.mbEnums;
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;
@ -25,7 +25,7 @@ import engine.objects.PlayerCharacter;
public class GuildControlHandler extends AbstractClientMsgHandler { public class GuildControlHandler extends AbstractClientMsgHandler {
public GuildControlHandler() { public GuildControlHandler() {
super(GuildControlMsg.class); super();
} }
// TODO Don't think this protocolMsg (0x3235E5EA) is actually player history. so // TODO Don't think this protocolMsg (0x3235E5EA) is actually player history. so

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

@ -12,12 +12,11 @@ package engine.net.client.handlers;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
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.guild.GuildCreationCloseMsg;
public class GuildCreationCloseHandler extends AbstractClientMsgHandler { public class GuildCreationCloseHandler extends AbstractClientMsgHandler {
public GuildCreationCloseHandler() { public GuildCreationCloseHandler() {
super(GuildCreationCloseMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/GuildCreationFinalizeHandler.java

@ -34,7 +34,7 @@ import engine.util.StringUtils;
public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler { public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler {
public GuildCreationFinalizeHandler() { public GuildCreationFinalizeHandler() {
super(GuildCreationFinalizeMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/GuildCreationOptionsHandler.java

@ -21,7 +21,7 @@ import engine.objects.PlayerCharacter;
public class GuildCreationOptionsHandler extends AbstractClientMsgHandler { public class GuildCreationOptionsHandler extends AbstractClientMsgHandler {
public GuildCreationOptionsHandler() { public GuildCreationOptionsHandler() {
super(GuildCreationOptionsMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/GuildInfoHandler.java

@ -23,7 +23,7 @@ import engine.objects.PlayerCharacter;
public class GuildInfoHandler extends AbstractClientMsgHandler { public class GuildInfoHandler extends AbstractClientMsgHandler {
public GuildInfoHandler() { public GuildInfoHandler() {
super(GuildInfoMsg.class); super();
} }
@Override @Override

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

@ -12,12 +12,11 @@ package engine.net.client.handlers;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
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.guild.GuildListMsg;
public class GuildListHandler extends AbstractClientMsgHandler { public class GuildListHandler extends AbstractClientMsgHandler {
public GuildListHandler() { public GuildListHandler() {
super(GuildListMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/GuildTreeStatusMsgHandler.java

@ -23,7 +23,7 @@ import engine.objects.PlayerCharacter;
public class GuildTreeStatusMsgHandler extends AbstractClientMsgHandler { public class GuildTreeStatusMsgHandler extends AbstractClientMsgHandler {
public GuildTreeStatusMsgHandler() { public GuildTreeStatusMsgHandler() {
super(GuildTreeStatusMsg.class); super();
} }
@Override @Override

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

@ -12,12 +12,11 @@ package engine.net.client.handlers;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
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.guild.GuildUnknownMsg;
public class GuildUnknownHandler extends AbstractClientMsgHandler { public class GuildUnknownHandler extends AbstractClientMsgHandler {
public GuildUnknownHandler() { public GuildUnknownHandler() {
super(GuildUnknownMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/HirelingServiceMsgHandler.java

@ -27,7 +27,7 @@ import engine.objects.PlayerCharacter;
public class HirelingServiceMsgHandler extends AbstractClientMsgHandler { public class HirelingServiceMsgHandler extends AbstractClientMsgHandler {
public HirelingServiceMsgHandler() { public HirelingServiceMsgHandler() {
super(HirelingServiceMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/IgnoreMsgHandler.java

@ -20,7 +20,7 @@ import engine.objects.PlayerCharacter;
public class IgnoreMsgHandler extends AbstractClientMsgHandler { public class IgnoreMsgHandler extends AbstractClientMsgHandler {
public IgnoreMsgHandler() { public IgnoreMsgHandler() {
super(IgnoreMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/InvalidTradeRequestMsgHandler.java

@ -20,7 +20,7 @@ import engine.objects.PlayerCharacter;
public class InvalidTradeRequestMsgHandler extends AbstractClientMsgHandler { public class InvalidTradeRequestMsgHandler extends AbstractClientMsgHandler {
public InvalidTradeRequestMsgHandler() { public InvalidTradeRequestMsgHandler() {
super(InvalidTradeRequestMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/InviteToGuildHandler.java

@ -30,7 +30,7 @@ import engine.objects.PlayerCharacter;
public class InviteToGuildHandler extends AbstractClientMsgHandler { public class InviteToGuildHandler extends AbstractClientMsgHandler {
public InviteToGuildHandler() { public InviteToGuildHandler() {
super(InviteToGuildMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/InviteToSubHandler.java

@ -29,7 +29,7 @@ import engine.objects.PlayerCharacter;
public class InviteToSubHandler extends AbstractClientMsgHandler { public class InviteToSubHandler extends AbstractClientMsgHandler {
public InviteToSubHandler() { public InviteToSubHandler() {
super(InviteToSubMsg.class); super();
} }
private static void sendChat(PlayerCharacter source, String msg) { private static void sendChat(PlayerCharacter source, String msg) {

2
src/engine/net/client/handlers/ItemFromVaultMsgHandler.java

@ -22,7 +22,7 @@ import engine.objects.PlayerCharacter;
public class ItemFromVaultMsgHandler extends AbstractClientMsgHandler { public class ItemFromVaultMsgHandler extends AbstractClientMsgHandler {
public ItemFromVaultMsgHandler() { public ItemFromVaultMsgHandler() {
super(ItemFromVaultMsg.class); super();
} }
//call this if the transfer fails server side to kick the item back to inventory from vault //call this if the transfer fails server side to kick the item back to inventory from vault

2
src/engine/net/client/handlers/ItemProductionMsgHandler.java

@ -37,7 +37,7 @@ import java.util.HashMap;
public class ItemProductionMsgHandler extends AbstractClientMsgHandler { public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
public ItemProductionMsgHandler() { public ItemProductionMsgHandler() {
super(ItemProductionMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ItemToVaultMsgHandler.java

@ -22,7 +22,7 @@ import engine.objects.PlayerCharacter;
public class ItemToVaultMsgHandler extends AbstractClientMsgHandler { public class ItemToVaultMsgHandler extends AbstractClientMsgHandler {
public ItemToVaultMsgHandler() { public ItemToVaultMsgHandler() {
super(ItemToVaultMsg.class); super();
} }
//call this if the transfer fails server side to kick the item back to vault from inventory //call this if the transfer fails server side to kick the item back to vault from inventory

2
src/engine/net/client/handlers/KeepAliveServerClientHandler.java

@ -20,7 +20,7 @@ import engine.objects.PlayerCharacter;
public class KeepAliveServerClientHandler extends AbstractClientMsgHandler { public class KeepAliveServerClientHandler extends AbstractClientMsgHandler {
public KeepAliveServerClientHandler() { public KeepAliveServerClientHandler() {
super(KeepAliveServerClientMsg.class); super();
} }
@Override @Override

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

@ -13,12 +13,11 @@ import engine.exception.MsgSendException;
import engine.gameManager.GroupManager; import engine.gameManager.GroupManager;
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.group.LeaveGroupMsg;
public class LeaveGroupHandler extends AbstractClientMsgHandler { public class LeaveGroupHandler extends AbstractClientMsgHandler {
public LeaveGroupHandler() { public LeaveGroupHandler() {
super(LeaveGroupMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/LeaveGuildHandler.java

@ -29,7 +29,7 @@ import engine.objects.PlayerCharacter;
public class LeaveGuildHandler extends AbstractClientMsgHandler { public class LeaveGuildHandler extends AbstractClientMsgHandler {
public LeaveGuildHandler() { public LeaveGuildHandler() {
super(LeaveGuildMsg.class); super();
} }
@Override @Override

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

@ -11,12 +11,11 @@ package engine.net.client.handlers;
import engine.exception.MsgSendException; import engine.exception.MsgSendException;
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.LeaveWorldMsg;
public class LeaveWorldMsgHandler extends AbstractClientMsgHandler { public class LeaveWorldMsgHandler extends AbstractClientMsgHandler {
public LeaveWorldMsgHandler() { public LeaveWorldMsgHandler() {
super(LeaveWorldMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/LockUnlockDoorMsgHandler.java

@ -25,7 +25,7 @@ import org.pmw.tinylog.Logger;
public class LockUnlockDoorMsgHandler extends AbstractClientMsgHandler { public class LockUnlockDoorMsgHandler extends AbstractClientMsgHandler {
public LockUnlockDoorMsgHandler() { public LockUnlockDoorMsgHandler() {
super(LockUnlockDoorMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/LoginToGameServerMsgHandler.java

@ -26,7 +26,7 @@ import org.pmw.tinylog.Logger;
public class LoginToGameServerMsgHandler extends AbstractClientMsgHandler { public class LoginToGameServerMsgHandler extends AbstractClientMsgHandler {
public LoginToGameServerMsgHandler() { public LoginToGameServerMsgHandler() {
super(LoginToGameServerMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/LootMsgHandler.java

@ -26,7 +26,7 @@ import static engine.math.FastMath.sqr;
public class LootMsgHandler extends AbstractClientMsgHandler { public class LootMsgHandler extends AbstractClientMsgHandler {
public LootMsgHandler() { public LootMsgHandler() {
super(LootMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/LootWindowRequestMsgHandler.java

@ -28,7 +28,7 @@ import static engine.math.FastMath.sqr;
public class LootWindowRequestMsgHandler extends AbstractClientMsgHandler { public class LootWindowRequestMsgHandler extends AbstractClientMsgHandler {
public LootWindowRequestMsgHandler() { public LootWindowRequestMsgHandler() {
super(LootWindowRequestMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/MOTDCommitHandler.java

@ -25,7 +25,7 @@ import engine.objects.PlayerCharacter;
public class MOTDCommitHandler extends AbstractClientMsgHandler { public class MOTDCommitHandler extends AbstractClientMsgHandler {
public MOTDCommitHandler() { public MOTDCommitHandler() {
super(MOTDCommitMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/MOTDEditHandler.java

@ -26,7 +26,7 @@ import engine.objects.PlayerCharacter;
public class MOTDEditHandler extends AbstractClientMsgHandler { public class MOTDEditHandler extends AbstractClientMsgHandler {
public MOTDEditHandler() { public MOTDEditHandler() {
super(MOTDMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ManageCityAssetMsgHandler.java

@ -26,7 +26,7 @@ import org.joda.time.DateTime;
public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler { public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
public ManageCityAssetMsgHandler() { public ManageCityAssetMsgHandler() {
super(ManageCityAssetsMsg.class); super();
} }
public static boolean playerCanManageNotFriends(PlayerCharacter player, Building building) { public static boolean playerCanManageNotFriends(PlayerCharacter player, Building building) {

2
src/engine/net/client/handlers/MerchantMsgHandler.java

@ -27,7 +27,7 @@ import java.util.ArrayList;
public class MerchantMsgHandler extends AbstractClientMsgHandler { public class MerchantMsgHandler extends AbstractClientMsgHandler {
public MerchantMsgHandler() { public MerchantMsgHandler() {
super(MerchantMsg.class); super();
} }
private static void requestSwearAsSubGuild(MerchantMsg msg, ClientConnection origin, PlayerCharacter player, NPC npc) { private static void requestSwearAsSubGuild(MerchantMsg msg, ClientConnection origin, PlayerCharacter player, NPC npc) {

2
src/engine/net/client/handlers/MineWindowChangeHandler.java

@ -35,7 +35,7 @@ import java.time.LocalDateTime;
public class MineWindowChangeHandler extends AbstractClientMsgHandler { public class MineWindowChangeHandler extends AbstractClientMsgHandler {
public MineWindowChangeHandler() { public MineWindowChangeHandler() {
super(ArcMineWindowChangeMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/MinionTrainingMsgHandler.java

@ -24,7 +24,7 @@ import org.pmw.tinylog.Logger;
public class MinionTrainingMsgHandler extends AbstractClientMsgHandler { public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
public MinionTrainingMsgHandler() { public MinionTrainingMsgHandler() {
super(MinionTrainingMessage.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ModifyStatMsgHandler.java

@ -18,7 +18,7 @@ import engine.server.MBServerStatics;
public class ModifyStatMsgHandler extends AbstractClientMsgHandler { public class ModifyStatMsgHandler extends AbstractClientMsgHandler {
public ModifyStatMsgHandler() { public ModifyStatMsgHandler() {
super(ModifyStatMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/MoveToPointHandler.java

@ -19,7 +19,7 @@ import engine.objects.PlayerCharacter;
public class MoveToPointHandler extends AbstractClientMsgHandler { public class MoveToPointHandler extends AbstractClientMsgHandler {
public MoveToPointHandler() { public MoveToPointHandler() {
super(MoveToPointMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/ObjectActionMsgHandler.java

@ -28,7 +28,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock(); private final ReentrantReadWriteLock lock = new ReentrantReadWriteLock();
public ObjectActionMsgHandler() { public ObjectActionMsgHandler() {
super(ObjectActionMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java

@ -27,7 +27,7 @@ import java.util.ArrayList;
public class OpenFriendsCondemnListMsgHandler extends AbstractClientMsgHandler { public class OpenFriendsCondemnListMsgHandler extends AbstractClientMsgHandler {
public OpenFriendsCondemnListMsgHandler() { public OpenFriendsCondemnListMsgHandler() {
super(OpenFriendsCondemnListMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/OrderNPCMsgHandler.java

@ -33,7 +33,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
private static final int SVR_CLOSE_WINDOW = 4; private static final int SVR_CLOSE_WINDOW = 4;
public OrderNPCMsgHandler() { public OrderNPCMsgHandler() {
super(OrderNPCMsg.class); super();
} }
public static void processRedeedHireling(AbstractCharacter hireling, Building building, ClientConnection origin) { public static void processRedeedHireling(AbstractCharacter hireling, Building building, ClientConnection origin) {

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

@ -17,7 +17,7 @@ import engine.net.client.msg.PerformActionMsg;
public class PerformActionMsgHandler extends AbstractClientMsgHandler { public class PerformActionMsgHandler extends AbstractClientMsgHandler {
public PerformActionMsgHandler() { public PerformActionMsgHandler() {
super(PerformActionMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/PetAttackMsgHandler.java

@ -20,7 +20,7 @@ import engine.objects.PlayerCharacter;
public class PetAttackMsgHandler extends AbstractClientMsgHandler { public class PetAttackMsgHandler extends AbstractClientMsgHandler {
public PetAttackMsgHandler() { public PetAttackMsgHandler() {
super(PetAttackMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/PetCmdMsgHandler.java

@ -21,7 +21,7 @@ import engine.objects.PlayerCharacter;
public class PetCmdMsgHandler extends AbstractClientMsgHandler { public class PetCmdMsgHandler extends AbstractClientMsgHandler {
public PetCmdMsgHandler() { public PetCmdMsgHandler() {
super(PetCmdMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/PetitionReceivedMsgHandler.java

@ -18,7 +18,7 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler {
public static final int PETITION_CLOSE = 4; public static final int PETITION_CLOSE = 4;
public PetitionReceivedMsgHandler() { public PetitionReceivedMsgHandler() {
super(PetitionReceivedMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/PlaceAssetMsgHandler.java

@ -50,7 +50,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
public PlaceAssetMsgHandler() { public PlaceAssetMsgHandler() {
super(PlaceAssetMsg.class); super();
} }

2
src/engine/net/client/handlers/PromptRecallMsgHandler.java

@ -23,7 +23,7 @@ import static engine.math.FastMath.sqr;
public class PromptRecallMsgHandler extends AbstractClientMsgHandler { public class PromptRecallMsgHandler extends AbstractClientMsgHandler {
public PromptRecallMsgHandler() { public PromptRecallMsgHandler() {
super(PromptRecallMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/RandomMsgHandler.java

@ -22,7 +22,7 @@ import java.util.concurrent.ThreadLocalRandom;
public class RandomMsgHandler extends AbstractClientMsgHandler { public class RandomMsgHandler extends AbstractClientMsgHandler {
public RandomMsgHandler() { public RandomMsgHandler() {
super(RandomMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/RecommendNationMsgHandler.java

@ -20,7 +20,7 @@ import engine.objects.PlayerCharacter;
public class RecommendNationMsgHandler extends AbstractClientMsgHandler { public class RecommendNationMsgHandler extends AbstractClientMsgHandler {
public RecommendNationMsgHandler() { public RecommendNationMsgHandler() {
super(RecommendNationMsg.class); super();
} }
private static void RecommendNation(Guild fromGuild, Guild toGuild, RecommendNationMsg msg, ClientConnection origin) { private static void RecommendNation(Guild fromGuild, Guild toGuild, RecommendNationMsg msg, ClientConnection origin) {

2
src/engine/net/client/handlers/RecvSummonsMsgHandler.java

@ -27,7 +27,7 @@ import java.util.concurrent.ConcurrentHashMap;
public class RecvSummonsMsgHandler extends AbstractClientMsgHandler { public class RecvSummonsMsgHandler extends AbstractClientMsgHandler {
public RecvSummonsMsgHandler() { public RecvSummonsMsgHandler() {
super(RecvSummonsMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/RefineMsgHandler.java

@ -25,7 +25,7 @@ import java.util.concurrent.ConcurrentHashMap;
public class RefineMsgHandler extends AbstractClientMsgHandler { public class RefineMsgHandler extends AbstractClientMsgHandler {
public RefineMsgHandler() { public RefineMsgHandler() {
super(RefineMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/RefinerScreenMsgHandler.java

@ -21,7 +21,7 @@ import engine.objects.PlayerCharacter;
public class RefinerScreenMsgHandler extends AbstractClientMsgHandler { public class RefinerScreenMsgHandler extends AbstractClientMsgHandler {
public RefinerScreenMsgHandler() { public RefinerScreenMsgHandler() {
super(RefinerScreenMsg.class); super();
} }
@Override @Override

2
src/engine/net/client/handlers/RemoveFriendHandler.java

@ -23,7 +23,7 @@ import engine.objects.PlayerFriends;
public class RemoveFriendHandler extends AbstractClientMsgHandler { public class RemoveFriendHandler extends AbstractClientMsgHandler {
public RemoveFriendHandler() { public RemoveFriendHandler() {
super(RemoveFriendMessage.class); super();
} }
public static void HandleRemoveFriend(PlayerCharacter player, RemoveFriendMessage msg) { public static void HandleRemoveFriend(PlayerCharacter player, RemoveFriendMessage msg) {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save