forked from MagicBane/Server
Class moved up in package
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
package engine.net;
|
||||
|
||||
import engine.job.JobManager;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.client.msg.ClientNetMsg;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
package engine.net;
|
||||
|
||||
import engine.exception.SerializationException;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.server.MBServerStatics;
|
||||
import engine.util.StringUtils;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
package engine.net;
|
||||
|
||||
import engine.job.AbstractJob;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.client.msg.ClientNetMsg;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ package engine.net;
|
||||
import engine.exception.FactoryBuildException;
|
||||
import engine.gameManager.ChatManager;
|
||||
import engine.net.client.ClientConnection;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
import engine.server.MBServerStatics;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
|
||||
package engine.net;
|
||||
|
||||
import engine.net.client.Protocol;
|
||||
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
package engine.net.client;
|
||||
package engine.net;
|
||||
|
||||
/* This class defines Magicbane's application network protocol.
|
||||
--> Name / Opcode / Message / Handler
|
||||
*/
|
||||
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.client.handlers.*;
|
||||
import engine.net.client.msg.*;
|
||||
import engine.net.client.msg.chat.*;
|
||||
@@ -17,6 +17,7 @@ import engine.mbEnums;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.AbstractNetMsg;
|
||||
import engine.net.Network;
|
||||
import engine.net.Protocol;
|
||||
import engine.net.client.msg.ClientNetMsg;
|
||||
import engine.net.client.msg.login.LoginErrorMsg;
|
||||
import engine.objects.Account;
|
||||
|
||||
@@ -10,8 +10,8 @@ package engine.net.client.handlers;
|
||||
|
||||
import engine.exception.MsgSendException;
|
||||
import engine.gameManager.ChatManager;
|
||||
import engine.net.Protocol;
|
||||
import engine.net.client.ClientConnection;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.client.msg.ClientNetMsg;
|
||||
import engine.net.client.msg.chat.*;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
@@ -13,7 +13,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class AbandonAssetMsg extends ClientNetMsg {
|
||||
|
||||
@@ -9,7 +9,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractGameObject;
|
||||
|
||||
/**
|
||||
|
||||
@@ -10,11 +10,7 @@
|
||||
package engine.net.client.msg;
|
||||
|
||||
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.AbstractNetMsg;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.*;
|
||||
import engine.objects.Item;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -10,7 +10,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class AddGoldToTradeWindowMsg extends ClientNetMsg {
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractGameObject;
|
||||
|
||||
public class AddItemToTradeWindowMsg extends ClientNetMsg {
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Guild;
|
||||
import engine.objects.GuildAlliances;
|
||||
import engine.objects.GuildTag;
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class ApplyBuildingEffectMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractWorldObject;
|
||||
|
||||
public class ApplyEffectMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,6 @@ import engine.gameManager.DbManager;
|
||||
import engine.mbEnums;
|
||||
import engine.net.*;
|
||||
import engine.net.client.ClientConnection;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.objects.CharacterRune;
|
||||
import engine.objects.PlayerCharacter;
|
||||
import engine.objects.RuneBase;
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class ArcLoginNotifyMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class ArcMineChangeProductionMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Building;
|
||||
import engine.objects.Guild;
|
||||
import engine.server.MBServerStatics;
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class ArcMineWindowChangeMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Mine;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class ArcSiegeSpireMsg extends ClientNetMsg {
|
||||
|
||||
@@ -16,7 +16,7 @@ import engine.mbEnums.TransactionType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -15,7 +15,7 @@ import engine.mbEnums;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class AttackCmdMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
public class ChangeAltitudeMsg extends ClientNetMsg {
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class ChangeGuildLeaderMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class ChatFilterMsg extends ClientNetMsg {
|
||||
|
||||
@@ -17,7 +17,7 @@ import engine.mbEnums.ProtectionState;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Building;
|
||||
import engine.objects.City;
|
||||
import engine.objects.Zone;
|
||||
|
||||
@@ -10,11 +10,7 @@
|
||||
package engine.net.client.msg;
|
||||
|
||||
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.AbstractNetMsg;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.*;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
|
||||
|
||||
@@ -11,11 +11,7 @@ package engine.net.client.msg;
|
||||
|
||||
import engine.gameManager.DbManager;
|
||||
import engine.mbEnums;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.Network;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.*;
|
||||
import engine.objects.AbstractGameObject;
|
||||
import engine.objects.City;
|
||||
import engine.objects.Mine;
|
||||
|
||||
@@ -13,7 +13,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Zone;
|
||||
|
||||
public class CityZoneMsg extends ClientNetMsg {
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class ClaimAssetMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,11 +11,7 @@ package engine.net.client.msg;
|
||||
|
||||
|
||||
import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.AbstractNetMsg;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.*;
|
||||
|
||||
public abstract class ClientNetMsg extends AbstractNetMsg {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractGameObject;
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class ConfirmPromoteMsg extends ClientNetMsg {
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class DeleteItemMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class DestroyBuildingMsg extends ClientNetMsg {
|
||||
private int pad = 0;
|
||||
|
||||
@@ -22,7 +22,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class DoorTryOpenMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class DropGoldMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class EnterWorldReceivedMsg extends ClientNetMsg {
|
||||
|
||||
@@ -11,7 +11,6 @@ package engine.net.client.msg;
|
||||
|
||||
import engine.mbEnums;
|
||||
import engine.net.*;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
public class ErrorPopupMsg extends ClientNetMsg {
|
||||
|
||||
@@ -9,7 +9,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
package engine.net.client.msg;
|
||||
|
||||
import engine.mbEnums.GameObjectType;
|
||||
import engine.exception.SerializationException;
|
||||
import engine.math.Vector3fImmutable;
|
||||
import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class FurnitureMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
/**
|
||||
* Transfer gold from vault to inventory
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
package engine.net.client.msg;
|
||||
|
||||
import engine.mbEnums.GameObjectType;
|
||||
import engine.exception.SerializationException;
|
||||
import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
/**
|
||||
* Transfer gold from inventory to vault
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.PlayerCharacter;
|
||||
|
||||
public class GrantExperienceMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.*;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class HirelingServiceMsg extends ClientNetMsg {
|
||||
|
||||
@@ -15,7 +15,7 @@ import engine.gameManager.ZoneManager;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
import java.time.Duration;
|
||||
import java.time.Instant;
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class IgnoreMsg extends ClientNetMsg {
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractGameObject;
|
||||
|
||||
/**
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractWorldObject;
|
||||
|
||||
public class ItemEffectMsg extends ClientNetMsg {
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
/**
|
||||
* Transfer item from Vault to inventory
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class ItemHealthUpdateMsg extends ClientNetMsg {
|
||||
|
||||
@@ -12,11 +12,7 @@ package engine.net.client.msg;
|
||||
import engine.gameManager.BuildingManager;
|
||||
import engine.gameManager.PowersManager;
|
||||
import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.AbstractNetMsg;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.*;
|
||||
import engine.objects.Building;
|
||||
import engine.objects.Item;
|
||||
import engine.objects.MobLoot;
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
/**
|
||||
* Transfer item from inventory to vault
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class KeepAliveServerClientMsg extends ClientNetMsg {
|
||||
|
||||
@@ -15,7 +15,7 @@ import engine.mbEnums.ShrineType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Building;
|
||||
import engine.objects.Guild;
|
||||
import engine.objects.GuildTag;
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class LeaveWorldMsg extends ClientNetMsg {
|
||||
|
||||
@@ -10,11 +10,7 @@
|
||||
package engine.net.client.msg;
|
||||
|
||||
import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.AbstractNetMsg;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.*;
|
||||
import engine.objects.AbstractCharacter;
|
||||
import engine.objects.Corpse;
|
||||
|
||||
|
||||
@@ -10,11 +10,7 @@
|
||||
package engine.net.client.msg;
|
||||
|
||||
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.AbstractNetMsg;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.*;
|
||||
import engine.objects.Building;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class LockUnlockDoorMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class LoginToGameServerMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Item;
|
||||
|
||||
public class LootMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class LootWindowRequestMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Item;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -16,7 +16,7 @@ import engine.mbEnums.*;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.*;
|
||||
import org.joda.time.DateTime;
|
||||
import org.joda.time.Period;
|
||||
|
||||
@@ -16,7 +16,7 @@ import engine.mbEnums.MinionType;
|
||||
import engine.mbEnums.ProtectionState;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.*;
|
||||
import engine.powers.EffectsBase;
|
||||
import org.joda.time.DateTime;
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class MerchantMsg extends ClientNetMsg {
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class MinionTrainingMessage extends ClientNetMsg {
|
||||
private int npcID;
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractGameObject;
|
||||
|
||||
/**
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractCharacter;
|
||||
|
||||
public class ModifyHealthKillMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractCharacter;
|
||||
import engine.objects.Building;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class ModifyStatMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.math.Vector3fImmutable;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractCharacter;
|
||||
|
||||
public class MoveCorrectionMsg extends ClientNetMsg {
|
||||
|
||||
@@ -15,7 +15,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractCharacter;
|
||||
import engine.objects.Building;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.Protocol;
|
||||
import engine.net.client.ClientConnection;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.objects.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractGameObject;
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractGameObject;
|
||||
|
||||
/**
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.mbEnums.GameObjectType;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
|
||||
public class PassiveMessageTriggerMsg extends ClientNetMsg {
|
||||
|
||||
@@ -15,7 +15,7 @@ import engine.math.Vector3fImmutable;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class PerformActionMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class PetAttackMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class PetCmdMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.Mob;
|
||||
|
||||
public class PetMsg extends ClientNetMsg {
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
import java.util.stream.IntStream;
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ import engine.math.Vector3fImmutable;
|
||||
import engine.mbEnums;
|
||||
import engine.net.*;
|
||||
import engine.net.client.ClientConnection;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.objects.Zone;
|
||||
import org.pmw.tinylog.Logger;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
import engine.objects.AbstractWorldObject;
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ package engine.net.client.msg;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
import engine.net.Protocol;
|
||||
|
||||
public class PromptRecallMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user