Generic getType method for packets.
This commit is contained in:
parent
7adffcbc46
commit
5b82379435
@ -29,8 +29,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ActionFailed;
|
|||||||
|
|
||||||
public final class Action extends L2GameClientPacket
|
public final class Action extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String __C__1F_ACTION = "[C] 1F Action";
|
|
||||||
|
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private int _originX;
|
private int _originX;
|
||||||
@ -165,10 +163,4 @@ public final class Action extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return __C__1F_ACTION;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -30,8 +30,6 @@ import com.l2jmobius.gameserver.network.serverpackets.TradeOwnAdd;
|
|||||||
*/
|
*/
|
||||||
public final class AddTradeItem extends L2GameClientPacket
|
public final class AddTradeItem extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__1B_ADDTRADEITEM = "[C] 1B AddTradeItem";
|
|
||||||
|
|
||||||
private int _tradeId;
|
private int _tradeId;
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
private long _count;
|
private long _count;
|
||||||
@ -99,10 +97,4 @@ public final class AddTradeItem extends L2GameClientPacket
|
|||||||
trade.getPartner().sendPacket(new TradeOtherAdd(item));
|
trade.getPartner().sendPacket(new TradeOtherAdd(item));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__1B_ADDTRADEITEM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
|||||||
|
|
||||||
public final class AllyDismiss extends L2GameClientPacket
|
public final class AllyDismiss extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__8F_ALLYDISMISS = "[C] 8F AllyDismiss";
|
|
||||||
|
|
||||||
private String _clanName;
|
private String _clanName;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -91,10 +89,4 @@ public final class AllyDismiss extends L2GameClientPacket
|
|||||||
|
|
||||||
player.sendPacket(SystemMessageId.YOU_HAVE_SUCCEEDED_IN_EXPELLING_THE_CLAN);
|
player.sendPacket(SystemMessageId.YOU_HAVE_SUCCEEDED_IN_EXPELLING_THE_CLAN);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__8F_ALLYDISMISS;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
|||||||
|
|
||||||
public final class AllyLeave extends L2GameClientPacket
|
public final class AllyLeave extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__8E_ALLYLEAVE = "[C] 8E AllyLeave";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -69,10 +67,4 @@ public final class AllyLeave extends L2GameClientPacket
|
|||||||
|
|
||||||
player.sendPacket(SystemMessageId.YOU_HAVE_WITHDRAWN_FROM_THE_ALLIANCE);
|
player.sendPacket(SystemMessageId.YOU_HAVE_WITHDRAWN_FROM_THE_ALLIANCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__8E_ALLYLEAVE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public class AnswerCoupleAction extends L2GameClientPacket
|
public class AnswerCoupleAction extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_7A_ANSWERCOUPLEACTION = "[C] D0:7A AnswerCoupleAction";
|
|
||||||
|
|
||||||
private int _charObjId;
|
private int _charObjId;
|
||||||
private int _actionId;
|
private int _actionId;
|
||||||
private int _answer;
|
private int _answer;
|
||||||
@ -86,10 +84,4 @@ public class AnswerCoupleAction extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
target.setMultiSocialAction(0, 0);
|
target.setMultiSocialAction(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_7A_ANSWERCOUPLEACTION;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public final class AnswerJoinPartyRoom extends L2GameClientPacket
|
public final class AnswerJoinPartyRoom extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_30_ANSWERJOINPARTYROOM = "[C] D0:30 AnswerJoinPartyRoom";
|
|
||||||
private int _answer; // 1 or 0
|
private int _answer; // 1 or 0
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -115,10 +114,4 @@ public final class AnswerJoinPartyRoom extends L2GameClientPacket
|
|||||||
player.setActiveRequester(null);
|
player.setActiveRequester(null);
|
||||||
partner.onTransactionResponse();
|
partner.onTransactionResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_30_ANSWERJOINPARTYROOM;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public class AnswerPartyLootModification extends L2GameClientPacket
|
public class AnswerPartyLootModification extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_79_ANSWERPARTYLOOTMODIFICATION = "[C] D0:79 AnswerPartyLootModification";
|
|
||||||
|
|
||||||
public int _answer;
|
public int _answer;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -48,10 +46,4 @@ public class AnswerPartyLootModification extends L2GameClientPacket
|
|||||||
party.answerLootChangeRequest(activeChar, _answer == 1);
|
party.answerLootChangeRequest(activeChar, _answer == 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_79_ANSWERPARTYLOOTMODIFICATION;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,6 @@ import com.l2jmobius.gameserver.network.serverpackets.TradeDone;
|
|||||||
*/
|
*/
|
||||||
public final class AnswerTradeRequest extends L2GameClientPacket
|
public final class AnswerTradeRequest extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__55_ANSWERTRADEREQUEST = "[C] 55 AnswerTradeRequest";
|
|
||||||
|
|
||||||
private int _response;
|
private int _response;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -88,10 +86,4 @@ public final class AnswerTradeRequest extends L2GameClientPacket
|
|||||||
player.setActiveRequester(null);
|
player.setActiveRequester(null);
|
||||||
partner.onTransactionResponse();
|
partner.onTransactionResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__55_ANSWERTRADEREQUEST;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -31,8 +31,6 @@ import com.l2jmobius.gameserver.network.serverpackets.UserInfo;
|
|||||||
*/
|
*/
|
||||||
public final class Appearing extends L2GameClientPacket
|
public final class Appearing extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__3A_APPEARING = "[C] 3A Appearing";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -56,12 +54,6 @@ public final class Appearing extends L2GameClientPacket
|
|||||||
sendPacket(new ExBrExtraUserInfo(activeChar));
|
sendPacket(new ExBrExtraUserInfo(activeChar));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__3A_APPEARING;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -32,8 +32,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ActionFailed;
|
|||||||
*/
|
*/
|
||||||
public final class Attack extends L2GameClientPacket
|
public final class Attack extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__01_ATTACK = "[C] 01 Attack";
|
|
||||||
|
|
||||||
// cddddc
|
// cddddc
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@ -139,10 +137,4 @@ public final class Attack extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__01_ATTACK;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -29,8 +29,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ActionFailed;
|
|||||||
|
|
||||||
public final class AttackRequest extends L2GameClientPacket
|
public final class AttackRequest extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__32_ATTACKREQUEST = "[C] 32 AttackRequest";
|
|
||||||
|
|
||||||
// cddddc
|
// cddddc
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@ -129,10 +127,4 @@ public final class AttackRequest extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__32_ATTACKREQUEST;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,6 @@ import com.l2jmobius.gameserver.network.serverpackets.L2GameServerPacket;
|
|||||||
*/
|
*/
|
||||||
public final class AuthLogin extends L2GameClientPacket
|
public final class AuthLogin extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__2B_AUTHLOGIN = "[C] 2B AuthLogin";
|
|
||||||
|
|
||||||
// loginName + keys must match what the loginserver used.
|
// loginName + keys must match what the loginserver used.
|
||||||
private String _loginName;
|
private String _loginName;
|
||||||
/*
|
/*
|
||||||
@ -75,10 +73,4 @@ public final class AuthLogin extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__2B_AUTHLOGIN;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExBrLoadEventTopRankers;
|
|||||||
*/
|
*/
|
||||||
public class BrEventRankerList extends L2GameClientPacket
|
public class BrEventRankerList extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_7B_BREVENTRANKERLIST = "[C] D0:7B BrEventRankerList";
|
|
||||||
|
|
||||||
private int _eventId;
|
private int _eventId;
|
||||||
private int _day;
|
private int _day;
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@ -47,10 +45,4 @@ public class BrEventRankerList extends L2GameClientPacket
|
|||||||
final int myScore = 0;
|
final int myScore = 0;
|
||||||
getClient().sendPacket(new ExBrLoadEventTopRankers(_eventId, _day, count, bestScore, myScore));
|
getClient().sendPacket(new ExBrLoadEventTopRankers(_eventId, _day, count, bestScore, myScore));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_7B_BREVENTRANKERLIST;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public class BypassUserCmd extends L2GameClientPacket
|
public class BypassUserCmd extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__B3_BYPASSUSERCMD = "[C] B3 BypassUserCmd";
|
|
||||||
|
|
||||||
private int _command;
|
private int _command;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -59,10 +57,4 @@ public class BypassUserCmd extends L2GameClientPacket
|
|||||||
handler.useUserCommand(_command, getClient().getActiveChar());
|
handler.useUserCommand(_command, getClient().getActiveChar());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__B3_BYPASSUSERCMD;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public final class CannotMoveAnymore extends L2GameClientPacket
|
public final class CannotMoveAnymore extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__47_STOPMOVE = "[C] 47 CannotMoveAnymore";
|
|
||||||
|
|
||||||
private int _x;
|
private int _x;
|
||||||
private int _y;
|
private int _y;
|
||||||
private int _z;
|
private int _z;
|
||||||
@ -73,10 +71,4 @@ public final class CannotMoveAnymore extends L2GameClientPacket
|
|||||||
// getClient().getActiveChar().sendPacket(sr);
|
// getClient().getActiveChar().sendPacket(sr);
|
||||||
// getClient().getActiveChar().broadcastPacket(sr);
|
// getClient().getActiveChar().broadcastPacket(sr);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__47_STOPMOVE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ import com.l2jmobius.gameserver.network.serverpackets.StopMoveInVehicle;
|
|||||||
*/
|
*/
|
||||||
public final class CannotMoveAnymoreInVehicle extends L2GameClientPacket
|
public final class CannotMoveAnymoreInVehicle extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__76_CANNOTMOVEANYMOREINVEHICLE = "[C] 76 CannotMoveAnymoreInVehicle";
|
|
||||||
|
|
||||||
private int _x;
|
private int _x;
|
||||||
private int _y;
|
private int _y;
|
||||||
private int _z;
|
private int _z;
|
||||||
@ -62,10 +60,4 @@ public final class CannotMoveAnymoreInVehicle extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__76_CANNOTMOVEANYMOREINVEHICLE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
public final class CharacterCreate extends L2GameClientPacket
|
public final class CharacterCreate extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__0C_CHARACTERCREATE = "[C] 0C CharacterCreate";
|
|
||||||
protected static final Logger _logAccounting = Logger.getLogger("accounting");
|
protected static final Logger _logAccounting = Logger.getLogger("accounting");
|
||||||
|
|
||||||
// cSdddddddddddd
|
// cSdddddddddddd
|
||||||
@ -311,10 +310,4 @@ public final class CharacterCreate extends L2GameClientPacket
|
|||||||
q.newQuestState(player).setState(State.STARTED);
|
q.newQuestState(player).setState(State.STARTED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__0C_CHARACTERCREATE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,6 @@ import com.l2jmobius.gameserver.network.serverpackets.CharSelectionInfo;
|
|||||||
*/
|
*/
|
||||||
public final class CharacterDelete extends L2GameClientPacket
|
public final class CharacterDelete extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__0C_CHARACTERDELETE = "[C] 0D CharacterDelete";
|
|
||||||
|
|
||||||
// cd
|
// cd
|
||||||
private int _charSlot;
|
private int _charSlot;
|
||||||
|
|
||||||
@ -89,10 +87,4 @@ public final class CharacterDelete extends L2GameClientPacket
|
|||||||
sendPacket(cl);
|
sendPacket(cl);
|
||||||
getClient().setCharSelection(cl.getCharInfo());
|
getClient().setCharSelection(cl.getCharInfo());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__0C_CHARACTERDELETE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,6 @@ import com.l2jmobius.gameserver.network.serverpackets.CharSelectionInfo;
|
|||||||
*/
|
*/
|
||||||
public final class CharacterRestore extends L2GameClientPacket
|
public final class CharacterRestore extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__7B_CHARACTERRESTORE = "[C] 7B CharacterRestore";
|
|
||||||
|
|
||||||
// cd
|
// cd
|
||||||
private int _charSlot;
|
private int _charSlot;
|
||||||
|
|
||||||
@ -53,10 +51,4 @@ public final class CharacterRestore extends L2GameClientPacket
|
|||||||
final CharSelectInfoPackage charInfo = getClient().getCharSelection(_charSlot);
|
final CharSelectInfoPackage charInfo = getClient().getCharSelection(_charSlot);
|
||||||
EventDispatcher.getInstance().notifyEvent(new OnPlayerRestore(charInfo.getObjectId(), charInfo.getName(), getClient()));
|
EventDispatcher.getInstance().notifyEvent(new OnPlayerRestore(charInfo.getObjectId(), charInfo.getName(), getClient()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__7B_CHARACTERRESTORE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ServerClose;
|
|||||||
*/
|
*/
|
||||||
public class CharacterSelect extends L2GameClientPacket
|
public class CharacterSelect extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__12_CHARACTERSELECT = "[C] 12 CharacterSelect";
|
|
||||||
protected static final Logger _logAccounting = Logger.getLogger("accounting");
|
protected static final Logger _logAccounting = Logger.getLogger("accounting");
|
||||||
|
|
||||||
// cd
|
// cd
|
||||||
@ -166,10 +165,4 @@ public class CharacterSelect extends L2GameClientPacket
|
|||||||
_logAccounting.log(record);
|
_logAccounting.log(record);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__12_CHARACTERSELECT;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,6 @@ import com.l2jmobius.gameserver.util.GMAudit;
|
|||||||
*/
|
*/
|
||||||
public final class DlgAnswer extends L2GameClientPacket
|
public final class DlgAnswer extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__C6_DLGANSWER = "[C] C6 DlgAnswer";
|
|
||||||
private int _messageId;
|
private int _messageId;
|
||||||
private int _answer;
|
private int _answer;
|
||||||
private int _requesterId;
|
private int _requesterId;
|
||||||
@ -121,10 +120,4 @@ public final class DlgAnswer extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__C6_DLGANSWER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -32,10 +32,4 @@ public final class DummyPacket extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return "DummyPacket";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public final class EndScenePlayer extends L2GameClientPacket
|
public final class EndScenePlayer extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_5B_ENDSCENEPLAYER = "[C] D0:5B EndScenePlayer";
|
|
||||||
|
|
||||||
private int _movieId;
|
private int _movieId;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -56,10 +54,4 @@ public final class EndScenePlayer extends L2GameClientPacket
|
|||||||
activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());
|
activeChar.spawnMe(activeChar.getX(), activeChar.getY(), activeChar.getZ());
|
||||||
activeChar.setIsTeleporting(false, false);
|
activeChar.setIsTeleporting(false, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_5B_ENDSCENEPLAYER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -98,8 +98,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ValidateLocation;
|
|||||||
*/
|
*/
|
||||||
public class EnterWorld extends L2GameClientPacket
|
public class EnterWorld extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__11_ENTERWORLD = "[C] 11 EnterWorld";
|
|
||||||
|
|
||||||
private final int[][] tracert = new int[5][4];
|
private final int[][] tracert = new int[5][4];
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -681,12 +679,6 @@ public class EnterWorld extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__11_ENTERWORLD;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -22,8 +22,6 @@ package com.l2jmobius.gameserver.network.clientpackets;
|
|||||||
*/
|
*/
|
||||||
public class ExGetOnAirShip extends L2GameClientPacket
|
public class ExGetOnAirShip extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_36_EXGETONAIRSHIP = "[C] D0:36 ExGetOnAirShip";
|
|
||||||
|
|
||||||
private int _x;
|
private int _x;
|
||||||
private int _y;
|
private int _y;
|
||||||
private int _z;
|
private int _z;
|
||||||
@ -46,10 +44,4 @@ public class ExGetOnAirShip extends L2GameClientPacket
|
|||||||
_log.info("[T1:ExGetOnAirShip] z: " + _z);
|
_log.info("[T1:ExGetOnAirShip] z: " + _z);
|
||||||
_log.info("[T1:ExGetOnAirShip] ship ID: " + _shipId);
|
_log.info("[T1:ExGetOnAirShip] ship ID: " + _shipId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_36_EXGETONAIRSHIP;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ import com.l2jmobius.gameserver.network.serverpackets.StopRotation;
|
|||||||
*/
|
*/
|
||||||
public final class FinishRotating extends L2GameClientPacket
|
public final class FinishRotating extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__5C_FINISHROTATING = "[C] 5C FinishRotating";
|
|
||||||
|
|
||||||
private int _degree;
|
private int _degree;
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private int _unknown;
|
private int _unknown;
|
||||||
@ -60,10 +58,4 @@ public final class FinishRotating extends L2GameClientPacket
|
|||||||
activeChar.broadcastPacket(sr);
|
activeChar.broadcastPacket(sr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__5C_FINISHROTATING;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,6 @@ import com.l2jmobius.gameserver.network.L2GameClient;
|
|||||||
*/
|
*/
|
||||||
public class GameGuardReply extends L2GameClientPacket
|
public class GameGuardReply extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__CB_GAMEGUARDREPLY = "[C] CB GameGuardReply";
|
|
||||||
|
|
||||||
private static final byte[] VALID =
|
private static final byte[] VALID =
|
||||||
{
|
{
|
||||||
(byte) 0x88,
|
(byte) 0x88,
|
||||||
@ -84,12 +82,6 @@ public class GameGuardReply extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__CB_GAMEGUARDREPLY;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -17,7 +17,6 @@
|
|||||||
package com.l2jmobius.gameserver.network.clientpackets;
|
package com.l2jmobius.gameserver.network.clientpackets;
|
||||||
|
|
||||||
import java.nio.BufferUnderflowException;
|
import java.nio.BufferUnderflowException;
|
||||||
import java.util.logging.Level;
|
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
import com.l2jmobius.commons.mmocore.ReceivablePacket;
|
import com.l2jmobius.commons.mmocore.ReceivablePacket;
|
||||||
@ -46,7 +45,7 @@ public abstract class L2GameClientPacket extends ReceivablePacket<L2GameClient>
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
_log.log(Level.SEVERE, "Client: " + getClient() + " - Failed reading: " + getType() + " ; " + e.getMessage(), e);
|
_log.severe("Client: " + getClient() + " - Failed reading: " + getType() + " ; " + e.getMessage());
|
||||||
|
|
||||||
if (e instanceof BufferUnderflowException)
|
if (e instanceof BufferUnderflowException)
|
||||||
{
|
{
|
||||||
@ -79,7 +78,7 @@ public abstract class L2GameClientPacket extends ReceivablePacket<L2GameClient>
|
|||||||
}
|
}
|
||||||
catch (Throwable t)
|
catch (Throwable t)
|
||||||
{
|
{
|
||||||
_log.log(Level.SEVERE, "Client: " + getClient() + " - Failed running: " + getType() + " ; " + t.getMessage(), t);
|
_log.severe("Client: " + getClient() + " - Failed reading: " + getType() + " ; " + t.getMessage() + " " + t);
|
||||||
// in case of EnterWorld error kick player from game
|
// in case of EnterWorld error kick player from game
|
||||||
if (this instanceof EnterWorld)
|
if (this instanceof EnterWorld)
|
||||||
{
|
{
|
||||||
@ -108,11 +107,6 @@ public abstract class L2GameClientPacket extends ReceivablePacket<L2GameClient>
|
|||||||
sendPacket(SystemMessage.getSystemMessage(id));
|
sendPacket(SystemMessage.getSystemMessage(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return A String with this packet name for debugging purposes
|
|
||||||
*/
|
|
||||||
public abstract String getType();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Overridden with true value on some packets that should disable spawn protection (RequestItemList and UseItem only)
|
* Overridden with true value on some packets that should disable spawn protection (RequestItemList and UseItem only)
|
||||||
* @return
|
* @return
|
||||||
@ -137,4 +131,9 @@ public abstract class L2GameClientPacket extends ReceivablePacket<L2GameClient>
|
|||||||
getClient().sendPacket(ActionFailed.STATIC_PACKET);
|
getClient().sendPacket(ActionFailed.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getType()
|
||||||
|
{
|
||||||
|
return "[C] " + getClass().getSimpleName();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,6 @@ import com.l2jmobius.gameserver.taskmanager.AttackStanceTaskManager;
|
|||||||
*/
|
*/
|
||||||
public final class Logout extends L2GameClientPacket
|
public final class Logout extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__00_LOGOUT = "[C] 00 Logout";
|
|
||||||
protected static final Logger _logAccounting = Logger.getLogger("accounting");
|
protected static final Logger _logAccounting = Logger.getLogger("accounting");
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -116,10 +115,4 @@ public final class Logout extends L2GameClientPacket
|
|||||||
|
|
||||||
player.logout();
|
player.logout();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__00_LOGOUT;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -32,8 +32,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
|
|
||||||
public class MoveBackwardToLocation extends L2GameClientPacket
|
public class MoveBackwardToLocation extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__0F_MOVEBACKWARDTOLOC = "[C] 0F MoveBackwardToLoc";
|
|
||||||
|
|
||||||
private int _targetX;
|
private int _targetX;
|
||||||
private int _targetY;
|
private int _targetY;
|
||||||
private int _targetZ;
|
private int _targetZ;
|
||||||
@ -131,10 +129,4 @@ public class MoveBackwardToLocation extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new Location(_targetX, _targetY, _targetZ));
|
activeChar.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new Location(_targetX, _targetY, _targetZ));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__0F_MOVEBACKWARDTOLOC;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
|||||||
|
|
||||||
public class MoveToLocationAirShip extends L2GameClientPacket
|
public class MoveToLocationAirShip extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_38_MOVETOLOCATIONAIRSHIP = "[C] D0:38 MoveToLocationAirShip";
|
|
||||||
|
|
||||||
public static final int MIN_Z = -895;
|
public static final int MIN_Z = -895;
|
||||||
public static final int MAX_Z = 6105;
|
public static final int MAX_Z = 6105;
|
||||||
public static final int STEP = 300;
|
public static final int STEP = 300;
|
||||||
@ -146,10 +144,4 @@ public class MoveToLocationAirShip extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_38_MOVETOLOCATIONAIRSHIP;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -30,8 +30,6 @@ import com.l2jmobius.gameserver.network.serverpackets.StopMoveInVehicle;
|
|||||||
*/
|
*/
|
||||||
public class MoveToLocationInAirShip extends L2GameClientPacket
|
public class MoveToLocationInAirShip extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_20_MOVETOLOCATIONINAIRSHIP = "[C] D0:20 MoveToLocationInAirShip";
|
|
||||||
|
|
||||||
private int _shipId;
|
private int _shipId;
|
||||||
private int _targetX;
|
private int _targetX;
|
||||||
private int _targetY;
|
private int _targetY;
|
||||||
@ -95,10 +93,4 @@ public class MoveToLocationInAirShip extends L2GameClientPacket
|
|||||||
activeChar.setInVehiclePosition(new Location(_targetX, _targetY, _targetZ));
|
activeChar.setInVehiclePosition(new Location(_targetX, _targetY, _targetZ));
|
||||||
activeChar.broadcastPacket(new ExMoveToLocationInAirShip(activeChar));
|
activeChar.broadcastPacket(new ExMoveToLocationInAirShip(activeChar));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_20_MOVETOLOCATIONINAIRSHIP;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -22,8 +22,6 @@ package com.l2jmobius.gameserver.network.clientpackets;
|
|||||||
*/
|
*/
|
||||||
public class MoveWithDelta extends L2GameClientPacket
|
public class MoveWithDelta extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__52_MOVEWITHDELTA = "[C] 52 MoveWithDelta";
|
|
||||||
|
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private int _dx;
|
private int _dx;
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
@ -44,10 +42,4 @@ public class MoveWithDelta extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
// TODO this
|
// TODO this
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__52_MOVEWITHDELTA;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -42,8 +42,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public class MultiSellChoose extends L2GameClientPacket
|
public class MultiSellChoose extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__B0_MULTISELLCHOOSE = "[C] B0 MultiSellChoose";
|
|
||||||
|
|
||||||
private int _listId;
|
private int _listId;
|
||||||
private int _entryId;
|
private int _entryId;
|
||||||
private long _amount;
|
private long _amount;
|
||||||
@ -466,10 +464,4 @@ public class MultiSellChoose extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__B0_MULTISELLCHOOSE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ import com.l2jmobius.gameserver.network.serverpackets.NewCharacterSuccess;
|
|||||||
*/
|
*/
|
||||||
public final class NewCharacter extends L2GameClientPacket
|
public final class NewCharacter extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__13_NEWCHARACTER = "[C] 13 NewCharacter";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -50,10 +48,4 @@ public final class NewCharacter extends L2GameClientPacket
|
|||||||
ct.addChar(PlayerTemplateData.getInstance().getTemplate(ClassId.femaleSoldier)); // Female Kamael Soldier
|
ct.addChar(PlayerTemplateData.getInstance().getTemplate(ClassId.femaleSoldier)); // Female Kamael Soldier
|
||||||
sendPacket(ct);
|
sendPacket(ct);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__13_NEWCHARACTER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public final class ObserverReturn extends L2GameClientPacket
|
public final class ObserverReturn extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String __C__C1_OBSERVERRETURN = "[C] C1 ObserverReturn";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -45,10 +43,4 @@ public final class ObserverReturn extends L2GameClientPacket
|
|||||||
// activeChar.teleToLocation(activeChar.getObsX(), activeChar.getObsY(), activeChar.getObsZ());
|
// activeChar.teleToLocation(activeChar.getObsX(), activeChar.getObsY(), activeChar.getObsZ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return __C__C1_OBSERVERRETURN;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -30,7 +30,6 @@ import com.l2jmobius.gameserver.network.serverpackets.L2GameServerPacket;
|
|||||||
*/
|
*/
|
||||||
public final class ProtocolVersion extends L2GameClientPacket
|
public final class ProtocolVersion extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__0E_PROTOCOLVERSION = "[C] 0E ProtocolVersion";
|
|
||||||
private static final Logger _logAccounting = Logger.getLogger("accounting");
|
private static final Logger _logAccounting = Logger.getLogger("accounting");
|
||||||
|
|
||||||
private int _version;
|
private int _version;
|
||||||
@ -70,10 +69,4 @@ public final class ProtocolVersion extends L2GameClientPacket
|
|||||||
getClient().setProtocolOk(true);
|
getClient().setProtocolOk(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__0E_PROTOCOLVERSION;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestAcquireSkill extends L2GameClientPacket
|
public final class RequestAcquireSkill extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__7C_REQUESTACQUIRESKILL = "[C] 7C RequestAcquireSkill";
|
|
||||||
private static final String[] QUEST_VAR_NAMES =
|
private static final String[] QUEST_VAR_NAMES =
|
||||||
{
|
{
|
||||||
"EmergentAbility65-",
|
"EmergentAbility65-",
|
||||||
@ -574,10 +573,4 @@ public final class RequestAcquireSkill extends L2GameClientPacket
|
|||||||
final QuestState st = player.getQuestState("Q00136_MoreThanMeetsTheEye");
|
final QuestState st = player.getQuestState("Q00136_MoreThanMeetsTheEye");
|
||||||
return (st != null) && st.isCompleted();
|
return (st != null) && st.isCompleted();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__7C_REQUESTACQUIRESKILL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,6 @@ import com.l2jmobius.gameserver.network.serverpackets.AcquireSkillInfo;
|
|||||||
*/
|
*/
|
||||||
public final class RequestAcquireSkillInfo extends L2GameClientPacket
|
public final class RequestAcquireSkillInfo extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__73_REQUESTACQUIRESKILLINFO = "[C] 73 RequestAcquireSkillInfo";
|
|
||||||
|
|
||||||
private int _id;
|
private int _id;
|
||||||
private int _level;
|
private int _level;
|
||||||
private AcquireSkillType _skillType;
|
private AcquireSkillType _skillType;
|
||||||
@ -140,10 +138,4 @@ public final class RequestAcquireSkillInfo extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__73_REQUESTACQUIRESKILLINFO;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -62,8 +62,6 @@ import com.l2jmobius.util.Rnd;
|
|||||||
*/
|
*/
|
||||||
public final class RequestActionUse extends L2GameClientPacket
|
public final class RequestActionUse extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__56_REQUESTACTIONUSE = "[C] 56 RequestActionUse";
|
|
||||||
|
|
||||||
private static final int SIN_EATER_ID = 12564;
|
private static final int SIN_EATER_ID = 12564;
|
||||||
private static final int SWITCH_STANCE_ID = 6054;
|
private static final int SWITCH_STANCE_ID = 6054;
|
||||||
private static final NpcStringId[] NPC_STRINGS =
|
private static final NpcStringId[] NPC_STRINGS =
|
||||||
@ -1522,12 +1520,6 @@ public final class RequestActionUse extends L2GameClientPacket
|
|||||||
partner.sendPacket(new ExAskCoupleAction(requester.getObjectId(), id));
|
partner.sendPacket(new ExAskCoupleAction(requester.getObjectId(), id));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__56_REQUESTACTIONUSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExShowAgitInfo;
|
|||||||
*/
|
*/
|
||||||
public class RequestAllAgitInfo extends L2GameClientPacket
|
public class RequestAllAgitInfo extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_3E_REQUESTALLAGITINFO = "[C] D0:3E RequestAllAgitInfo";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -41,10 +39,4 @@ public class RequestAllAgitInfo extends L2GameClientPacket
|
|||||||
client.sendPacket(new ExShowAgitInfo());
|
client.sendPacket(new ExShowAgitInfo());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_3E_REQUESTALLAGITINFO;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExShowCastleInfo;
|
|||||||
*/
|
*/
|
||||||
public class RequestAllCastleInfo extends L2GameClientPacket
|
public class RequestAllCastleInfo extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_3C_REQUESTALLCASTLEINFO = "[C] D0:3C RequestAllCastleInfo";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -47,10 +45,4 @@ public class RequestAllCastleInfo extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_3C_REQUESTALLCASTLEINFO;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExShowFortressInfo;
|
|||||||
*/
|
*/
|
||||||
public class RequestAllFortressInfo extends L2GameClientPacket
|
public class RequestAllFortressInfo extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_3D_REQUESTALLFORTRESSINFO = "[C] D0:3D RequestAllFortressInfo";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -47,10 +45,4 @@ public class RequestAllFortressInfo extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_3D_REQUESTALLFORTRESSINFO;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.serverpackets.AllyCrest;
|
|||||||
*/
|
*/
|
||||||
public final class RequestAllyCrest extends L2GameClientPacket
|
public final class RequestAllyCrest extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__92_REQUESTALLYCREST = "[C] 92 RequestAllyCrest";
|
|
||||||
|
|
||||||
private int _crestId;
|
private int _crestId;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -40,12 +38,6 @@ public final class RequestAllyCrest extends L2GameClientPacket
|
|||||||
sendPacket(new AllyCrest(_crestId));
|
sendPacket(new AllyCrest(_crestId));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__92_REQUESTALLYCREST;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public final class RequestAllyInfo extends L2GameClientPacket
|
public final class RequestAllyInfo extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__2E_REQUESTALLYINFO = "[C] 2E RequestAllyInfo";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void readImpl()
|
public void readImpl()
|
||||||
{
|
{
|
||||||
@ -107,10 +105,4 @@ public final class RequestAllyInfo extends L2GameClientPacket
|
|||||||
activeChar.sendPacket(SystemMessageId.YOU_ARE_NOT_CURRENTLY_ALLIED_WITH_ANY_CLANS);
|
activeChar.sendPacket(SystemMessageId.YOU_ARE_NOT_CURRENTLY_ALLIED_WITH_ANY_CLANS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__2E_REQUESTALLYINFO;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
|
|
||||||
public final class RequestAnswerFriendInvite extends L2GameClientPacket
|
public final class RequestAnswerFriendInvite extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__78_REQUESTANSWERFRIENDINVITE = "[C] 78 RequestAnswerFriendInvite";
|
|
||||||
|
|
||||||
private int _response;
|
private int _response;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -105,10 +103,4 @@ public final class RequestAnswerFriendInvite extends L2GameClientPacket
|
|||||||
player.setActiveRequester(null);
|
player.setActiveRequester(null);
|
||||||
requestor.onTransactionResponse();
|
requestor.onTransactionResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__78_REQUESTANSWERFRIENDINVITE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -22,8 +22,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
|||||||
|
|
||||||
public final class RequestAnswerJoinAlly extends L2GameClientPacket
|
public final class RequestAnswerJoinAlly extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__8D_REQUESTANSWERJOINALLY = "[C] 8D RequestAnswerJoinAlly";
|
|
||||||
|
|
||||||
private int _response;
|
private int _response;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -77,10 +75,4 @@ public final class RequestAnswerJoinAlly extends L2GameClientPacket
|
|||||||
|
|
||||||
activeChar.getRequest().onRequestResponse();
|
activeChar.getRequest().onRequestResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__8D_REQUESTANSWERJOINALLY;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
|
|
||||||
public final class RequestAnswerJoinParty extends L2GameClientPacket
|
public final class RequestAnswerJoinParty extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__43_REQUESTANSWERPARTY = "[C] 43 RequestAnswerJoinParty";
|
|
||||||
|
|
||||||
private int _response;
|
private int _response;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -142,10 +140,4 @@ public final class RequestAnswerJoinParty extends L2GameClientPacket
|
|||||||
player.setActiveRequester(null);
|
player.setActiveRequester(null);
|
||||||
requestor.onTransactionResponse();
|
requestor.onTransactionResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__43_REQUESTANSWERPARTY;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public final class RequestAnswerJoinPledge extends L2GameClientPacket
|
public final class RequestAnswerJoinPledge extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__27_REQUESTANSWERJOINPLEDGE = "[C] 27 RequestAnswerJoinPledge";
|
|
||||||
|
|
||||||
private int _answer;
|
private int _answer;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -122,10 +120,4 @@ public final class RequestAnswerJoinPledge extends L2GameClientPacket
|
|||||||
|
|
||||||
activeChar.getRequest().onRequestResponse();
|
activeChar.getRequest().onRequestResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__27_REQUESTANSWERJOINPLEDGE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -64,10 +64,4 @@ public class RequestAskJoinPartyRoom extends L2GameClientPacket
|
|||||||
player.sendPacket(SystemMessageId.THAT_PLAYER_IS_NOT_ONLINE);
|
player.sendPacket(SystemMessageId.THAT_PLAYER_IS_NOT_ONLINE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return "[C] D0:14 RequestAskJoinPartyRoom";
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -29,8 +29,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public final class RequestAutoSoulShot extends L2GameClientPacket
|
public final class RequestAutoSoulShot extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_0D_REQUESTAUTOSOULSHOT = "[C] D0:0D RequestAutoSoulShot";
|
|
||||||
|
|
||||||
// format cd
|
// format cd
|
||||||
private int _itemId;
|
private int _itemId;
|
||||||
private int _type; // 1 = on : 0 = off;
|
private int _type; // 1 = on : 0 = off;
|
||||||
@ -152,12 +150,6 @@ public final class RequestAutoSoulShot extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_0D_REQUESTAUTOSOULSHOT;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,6 @@ import com.l2jmobius.gameserver.handler.CommunityBoardHandler;
|
|||||||
*/
|
*/
|
||||||
public final class RequestBBSwrite extends L2GameClientPacket
|
public final class RequestBBSwrite extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__24_REQUESTBBSWRITE = "[C] 24 RequestBBSwrite";
|
|
||||||
private String _url;
|
private String _url;
|
||||||
private String _arg1;
|
private String _arg1;
|
||||||
private String _arg2;
|
private String _arg2;
|
||||||
@ -48,10 +47,4 @@ public final class RequestBBSwrite extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
CommunityBoardHandler.getInstance().handleWriteCommand(getActiveChar(), _url, _arg1, _arg2, _arg3, _arg4, _arg5);
|
CommunityBoardHandler.getInstance().handleWriteCommand(getActiveChar(), _url, _arg1, _arg2, _arg3, _arg4, _arg5);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public final String getType()
|
|
||||||
{
|
|
||||||
return _C__24_REQUESTBBSWRITE;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -27,8 +27,6 @@ import com.l2jmobius.gameserver.model.itemcontainer.Inventory;
|
|||||||
*/
|
*/
|
||||||
public final class RequestBidItemAuction extends L2GameClientPacket
|
public final class RequestBidItemAuction extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_39_REQUESTBIDITEMAUCTION = "[C] D0:39 RequestBidItemAuction";
|
|
||||||
|
|
||||||
private int _instanceId;
|
private int _instanceId;
|
||||||
private long _bid;
|
private long _bid;
|
||||||
|
|
||||||
@ -70,10 +68,4 @@ public final class RequestBidItemAuction extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public final String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_39_REQUESTBIDITEMAUCTION;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -23,8 +23,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
|||||||
|
|
||||||
public final class RequestBlock extends L2GameClientPacket
|
public final class RequestBlock extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__A9_REQUESTBLOCK = "[C] A9 RequestBlock";
|
|
||||||
|
|
||||||
private static final int BLOCK = 0;
|
private static final int BLOCK = 0;
|
||||||
private static final int UNBLOCK = 1;
|
private static final int UNBLOCK = 1;
|
||||||
private static final int BLOCKLIST = 2;
|
private static final int BLOCKLIST = 2;
|
||||||
@ -112,10 +110,4 @@ public final class RequestBlock extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__A9_REQUESTBLOCK;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExGetBookMarkInfoPacket;
|
|||||||
*/
|
*/
|
||||||
public final class RequestBookMarkSlotInfo extends L2GameClientPacket
|
public final class RequestBookMarkSlotInfo extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_51_00_REQUESTBOOKMARKSLOTINFO = "[C] D0:51:00 RequestBookMarkSlotInfo";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -38,10 +36,4 @@ public final class RequestBookMarkSlotInfo extends L2GameClientPacket
|
|||||||
final L2PcInstance player = getClient().getActiveChar();
|
final L2PcInstance player = getClient().getActiveChar();
|
||||||
player.sendPacket(new ExGetBookMarkInfoPacket(player));
|
player.sendPacket(new ExGetBookMarkInfoPacket(player));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_51_00_REQUESTBOOKMARKSLOTINFO;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
|
|
||||||
public final class RequestBuyItem extends L2GameClientPacket
|
public final class RequestBuyItem extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__40_REQUESTBUYITEM = "[C] 40 RequestBuyItem";
|
|
||||||
|
|
||||||
private static final int BATCH_LENGTH = 12;
|
private static final int BATCH_LENGTH = 12;
|
||||||
private static final int CUSTOM_CB_SELL_LIST = 423;
|
private static final int CUSTOM_CB_SELL_LIST = 423;
|
||||||
|
|
||||||
@ -277,10 +275,4 @@ public final class RequestBuyItem extends L2GameClientPacket
|
|||||||
player.sendPacket(su);
|
player.sendPacket(su);
|
||||||
player.sendPacket(new ExBuySellList(player, true));
|
player.sendPacket(new ExBuySellList(player, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__40_REQUESTBUYITEM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -199,10 +199,4 @@ public class RequestBuySeed extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return "[C] C5 RequestBuySeed";
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -21,8 +21,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ItemList;
|
|||||||
|
|
||||||
public class RequestBuySellUIClose extends L2GameClientPacket
|
public class RequestBuySellUIClose extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_76_REQUESTBUYSELLUICLOSE = "[C] D0:76 RequestBuySellUIClose";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -40,10 +38,4 @@ public class RequestBuySellUIClose extends L2GameClientPacket
|
|||||||
|
|
||||||
activeChar.sendPacket(new ItemList(activeChar, true));
|
activeChar.sendPacket(new ItemList(activeChar, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_76_REQUESTBUYSELLUICLOSE;
|
|
||||||
}
|
|
||||||
}
|
}
|
@ -52,7 +52,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestBypassToServer extends L2GameClientPacket
|
public final class RequestBypassToServer extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__23_REQUESTBYPASSTOSERVER = "[C] 23 RequestBypassToServer";
|
|
||||||
// FIXME: This is for compatibility, will be changed when bypass functionality got an overhaul by NosBit
|
// FIXME: This is for compatibility, will be changed when bypass functionality got an overhaul by NosBit
|
||||||
private static final String[] _possibleNonHtmlCommands =
|
private static final String[] _possibleNonHtmlCommands =
|
||||||
{
|
{
|
||||||
@ -341,10 +340,4 @@ public final class RequestBypassToServer extends L2GameClientPacket
|
|||||||
temp.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, activeChar.getLocation());
|
temp.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, activeChar.getLocation());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__23_REQUESTBYPASSTOSERVER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -39,8 +39,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestCancelPostAttachment extends L2GameClientPacket
|
public final class RequestCancelPostAttachment extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_6F_REQUESTCANCELPOSTATTACHMENT = "[C] D0:6F RequestCancelPostAttachment";
|
|
||||||
|
|
||||||
private int _msgId;
|
private int _msgId;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -227,12 +225,6 @@ public final class RequestCancelPostAttachment extends L2GameClientPacket
|
|||||||
activeChar.sendPacket(SystemMessageId.MAIL_SUCCESSFULLY_CANCELLED);
|
activeChar.sendPacket(SystemMessageId.MAIL_SUCCESSFULLY_CANCELLED);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_6F_REQUESTCANCELPOSTATTACHMENT;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -21,8 +21,6 @@ package com.l2jmobius.gameserver.network.clientpackets;
|
|||||||
*/
|
*/
|
||||||
public final class RequestChangeBookMarkSlot extends L2GameClientPacket
|
public final class RequestChangeBookMarkSlot extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_51_05_REQUESCHANGEBOOKMARKSLOT = "[C] D0:51:05 RequestChangeBookMarkSlot";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -34,10 +32,4 @@ public final class RequestChangeBookMarkSlot extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_51_05_REQUESCHANGEBOOKMARKSLOT;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.model.items.instance.L2ItemInstance;
|
|||||||
*/
|
*/
|
||||||
public class RequestChangeNicknameColor extends L2GameClientPacket
|
public class RequestChangeNicknameColor extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_4F_REQUESTCHANGENICKNAMECOLOR = "[C] D0:4F RequestChangeNicknameColor";
|
|
||||||
|
|
||||||
private static final int COLORS[] =
|
private static final int COLORS[] =
|
||||||
{
|
{
|
||||||
0x9393FF, // Pink
|
0x9393FF, // Pink
|
||||||
@ -37,8 +35,7 @@ public class RequestChangeNicknameColor extends L2GameClientPacket
|
|||||||
0xA0A601, // Peacock Green
|
0xA0A601, // Peacock Green
|
||||||
0x7898AF, // Yellow Ochre
|
0x7898AF, // Yellow Ochre
|
||||||
0x486295, // Chocolate
|
0x486295, // Chocolate
|
||||||
0x999999
|
0x999999, // Silver
|
||||||
// Silver
|
|
||||||
};
|
};
|
||||||
|
|
||||||
private int _colorNum, _itemObjectId;
|
private int _colorNum, _itemObjectId;
|
||||||
@ -79,10 +76,4 @@ public class RequestChangeNicknameColor extends L2GameClientPacket
|
|||||||
activeChar.broadcastUserInfo();
|
activeChar.broadcastUserInfo();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_4F_REQUESTCHANGENICKNAMECOLOR;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public final class RequestChangePartyLeader extends L2GameClientPacket
|
public final class RequestChangePartyLeader extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_0C_REQUESTCHANGEPARTYLEADER = "[C] D0:0C RequestChangePartyLeader";
|
|
||||||
|
|
||||||
private String _name;
|
private String _name;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -49,10 +47,4 @@ public final class RequestChangePartyLeader extends L2GameClientPacket
|
|||||||
party.changePartyLeader(_name);
|
party.changePartyLeader(_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_0C_REQUESTCHANGEPARTYLEADER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
|||||||
*/
|
*/
|
||||||
public final class RequestChangePetName extends L2GameClientPacket
|
public final class RequestChangePetName extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__93_REQUESTCHANGEPETNAME = "[C] 93 RequestChangePetName";
|
|
||||||
|
|
||||||
private String _name;
|
private String _name;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -86,10 +84,4 @@ public final class RequestChangePetName extends L2GameClientPacket
|
|||||||
pet.setName(_name);
|
pet.setName(_name);
|
||||||
pet.updateAndBroadcastStatus(1);
|
pet.updateAndBroadcastStatus(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__93_REQUESTCHANGEPETNAME;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestConfirmCancelItem extends L2GameClientPacket
|
public final class RequestConfirmCancelItem extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_42_REQUESTCONFIRMCANCELITEM = "[C] D0:42 RequestConfirmCancelItem";
|
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -138,10 +137,4 @@ public final class RequestConfirmCancelItem extends L2GameClientPacket
|
|||||||
|
|
||||||
activeChar.sendPacket(new ExPutItemResultForVariationCancel(item, price));
|
activeChar.sendPacket(new ExPutItemResultForVariationCancel(item, price));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_42_REQUESTCONFIRMCANCELITEM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExPutCommissionResultForVa
|
|||||||
*/
|
*/
|
||||||
public final class RequestConfirmGemStone extends AbstractRefinePacket
|
public final class RequestConfirmGemStone extends AbstractRefinePacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_28_REQUESTCONFIRMGEMSTONE = "[C] D0:28 RequestConfirmGemStone";
|
|
||||||
private int _targetItemObjId;
|
private int _targetItemObjId;
|
||||||
private int _refinerItemObjId;
|
private int _refinerItemObjId;
|
||||||
private int _gemstoneItemObjId;
|
private int _gemstoneItemObjId;
|
||||||
@ -88,10 +87,4 @@ public final class RequestConfirmGemStone extends AbstractRefinePacket
|
|||||||
|
|
||||||
activeChar.sendPacket(new ExPutCommissionResultForVariationMake(_gemstoneItemObjId, _gemStoneCount, gemStoneItem.getId()));
|
activeChar.sendPacket(new ExPutCommissionResultForVariationMake(_gemstoneItemObjId, _gemStoneCount, gemStoneItem.getId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_28_REQUESTCONFIRMGEMSTONE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExPutIntensiveResultForVar
|
|||||||
*/
|
*/
|
||||||
public class RequestConfirmRefinerItem extends AbstractRefinePacket
|
public class RequestConfirmRefinerItem extends AbstractRefinePacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_27_REQUESTCONFIRMREFINERITEM = "[C] D0:27 RequestConfirmRefinerItem";
|
|
||||||
|
|
||||||
private int _targetItemObjId;
|
private int _targetItemObjId;
|
||||||
private int _refinerItemObjId;
|
private int _refinerItemObjId;
|
||||||
|
|
||||||
@ -75,11 +73,4 @@ public class RequestConfirmRefinerItem extends AbstractRefinePacket
|
|||||||
|
|
||||||
activeChar.sendPacket(new ExPutIntensiveResultForVariationMake(_refinerItemObjId, refinerItemId, gemStoneId, gemStoneCount));
|
activeChar.sendPacket(new ExPutIntensiveResultForVariationMake(_refinerItemObjId, refinerItemId, gemStoneId, gemStoneCount));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_27_REQUESTCONFIRMREFINERITEM;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SiegeDefenderList;
|
|||||||
*/
|
*/
|
||||||
public final class RequestConfirmSiegeWaitingList extends L2GameClientPacket
|
public final class RequestConfirmSiegeWaitingList extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__AE_RequestConfirmSiegeWaitingList = "[C] AE RequestConfirmSiegeWaitingList";
|
|
||||||
|
|
||||||
private int _approved;
|
private int _approved;
|
||||||
private int _castleId;
|
private int _castleId;
|
||||||
private int _clanId;
|
private int _clanId;
|
||||||
@ -100,12 +98,5 @@ public final class RequestConfirmSiegeWaitingList extends L2GameClientPacket
|
|||||||
|
|
||||||
// Update the defender list
|
// Update the defender list
|
||||||
activeChar.sendPacket(new SiegeDefenderList(castle));
|
activeChar.sendPacket(new SiegeDefenderList(castle));
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__AE_RequestConfirmSiegeWaitingList;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExPutItemResultForVariatio
|
|||||||
*/
|
*/
|
||||||
public final class RequestConfirmTargetItem extends AbstractRefinePacket
|
public final class RequestConfirmTargetItem extends AbstractRefinePacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_26_REQUESTCONFIRMTARGETITEM = "[C] D0:26 RequestConfirmTargetItem";
|
|
||||||
private int _itemObjId;
|
private int _itemObjId;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -66,10 +65,4 @@ public final class RequestConfirmTargetItem extends AbstractRefinePacket
|
|||||||
|
|
||||||
activeChar.sendPacket(new ExPutItemResultForVariationMake(_itemObjId, item.getId()));
|
activeChar.sendPacket(new ExPutItemResultForVariationMake(_itemObjId, item.getId()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_26_REQUESTCONFIRMTARGETITEM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestCrystallizeItem extends L2GameClientPacket
|
public final class RequestCrystallizeItem extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__2F_REQUESTDCRYSTALLIZEITEM = "[C] 2F RequestCrystallizeItem";
|
|
||||||
|
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
private long _count;
|
private long _count;
|
||||||
|
|
||||||
@ -231,10 +229,4 @@ public final class RequestCrystallizeItem extends L2GameClientPacket
|
|||||||
|
|
||||||
activeChar.setInCrystallize(false);
|
activeChar.setInCrystallize(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__2F_REQUESTDCRYSTALLIZEITEM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -29,8 +29,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExCursedWeaponList;
|
|||||||
*/
|
*/
|
||||||
public class RequestCursedWeaponList extends L2GameClientPacket
|
public class RequestCursedWeaponList extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_2A_REQUESTCURSEDWEAPONLIST = "[C] D0:2A RequestCursedWeaponList";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -56,12 +54,6 @@ public class RequestCursedWeaponList extends L2GameClientPacket
|
|||||||
activeChar.sendPacket(new ExCursedWeaponList(list));
|
activeChar.sendPacket(new ExCursedWeaponList(list));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_2A_REQUESTCURSEDWEAPONLIST;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -32,8 +32,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExCursedWeaponLocation.Cur
|
|||||||
*/
|
*/
|
||||||
public final class RequestCursedWeaponLocation extends L2GameClientPacket
|
public final class RequestCursedWeaponLocation extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_2B_REQUESTCURSEDWEAPONLOCATION = "[C] D0:2B RequestCursedWeaponLocation";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -71,12 +69,6 @@ public final class RequestCursedWeaponLocation extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_2B_REQUESTCURSEDWEAPONLOCATION;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDeleteBookMarkSlot extends L2GameClientPacket
|
public final class RequestDeleteBookMarkSlot extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_51_03_REQUESTDELETEBOOKMARKSLOT = "[C] D0:51:03 RequestDeleteBookMarkSlot";
|
|
||||||
|
|
||||||
private int id;
|
private int id;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -45,10 +43,4 @@ public final class RequestDeleteBookMarkSlot extends L2GameClientPacket
|
|||||||
|
|
||||||
activeChar.teleportBookmarkDelete(id);
|
activeChar.teleportBookmarkDelete(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_51_03_REQUESTDELETEBOOKMARKSLOT;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,6 @@ package com.l2jmobius.gameserver.network.clientpackets;
|
|||||||
|
|
||||||
public final class RequestDeleteMacro extends L2GameClientPacket
|
public final class RequestDeleteMacro extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__CE_REQUESTDELETEMACRO = "[C] CE RequestDeleteMacro";
|
|
||||||
|
|
||||||
private int _id;
|
private int _id;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -37,10 +35,4 @@ public final class RequestDeleteMacro extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
getClient().getActiveChar().deleteMacro(_id);
|
getClient().getActiveChar().deleteMacro(_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__CE_REQUESTDELETEMACRO;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -30,8 +30,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDeleteReceivedPost extends L2GameClientPacket
|
public final class RequestDeleteReceivedPost extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_68_REQUESTDELETERECEIVEDPOST = "[C] D0:68 RequestDeleteReceivedPost";
|
|
||||||
|
|
||||||
private static final int BATCH_LENGTH = 4; // length of the one item
|
private static final int BATCH_LENGTH = 4; // length of the one item
|
||||||
|
|
||||||
int[] _msgIds = null;
|
int[] _msgIds = null;
|
||||||
@ -90,12 +88,6 @@ public final class RequestDeleteReceivedPost extends L2GameClientPacket
|
|||||||
activeChar.sendPacket(new ExChangePostState(true, _msgIds, Message.DELETED));
|
activeChar.sendPacket(new ExChangePostState(true, _msgIds, Message.DELETED));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_68_REQUESTDELETERECEIVEDPOST;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -30,8 +30,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDeleteSentPost extends L2GameClientPacket
|
public final class RequestDeleteSentPost extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_6D_REQUESTDELETESENTPOST = "[C] D0:6D RequestDeleteSentPost";
|
|
||||||
|
|
||||||
private static final int BATCH_LENGTH = 4; // length of the one item
|
private static final int BATCH_LENGTH = 4; // length of the one item
|
||||||
|
|
||||||
int[] _msgIds = null;
|
int[] _msgIds = null;
|
||||||
@ -90,12 +88,6 @@ public final class RequestDeleteSentPost extends L2GameClientPacket
|
|||||||
activeChar.sendPacket(new ExChangePostState(false, _msgIds, Message.DELETED));
|
activeChar.sendPacket(new ExChangePostState(false, _msgIds, Message.DELETED));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_6D_REQUESTDELETESENTPOST;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -40,8 +40,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDestroyItem extends L2GameClientPacket
|
public final class RequestDestroyItem extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__60_REQUESTDESTROYITEM = "[C] 60 RequestDestroyItem";
|
|
||||||
|
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
private long _count;
|
private long _count;
|
||||||
|
|
||||||
@ -222,10 +220,4 @@ public final class RequestDestroyItem extends L2GameClientPacket
|
|||||||
su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
|
su.addAttribute(StatusUpdate.CUR_LOAD, activeChar.getCurrentLoad());
|
||||||
activeChar.sendPacket(su);
|
activeChar.sendPacket(su);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__60_REQUESTDESTROYITEM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ import com.l2jmobius.gameserver.network.SystemMessageId;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDismissAlly extends L2GameClientPacket
|
public final class RequestDismissAlly extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__90_REQUESTDISMISSALLY = "[C] 90 RequestDismissAlly";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -48,10 +46,4 @@ public final class RequestDismissAlly extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
activeChar.getClan().dissolveAlly(activeChar);
|
activeChar.getClan().dissolveAlly(activeChar);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__90_REQUESTDISMISSALLY;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public class RequestDismissPartyRoom extends L2GameClientPacket
|
public class RequestDismissPartyRoom extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_0A_REQUESTDISMISSPARTYROOM = "[C] D0:0A RequestDismissPartyRoom";
|
|
||||||
|
|
||||||
private int _roomid;
|
private int _roomid;
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private int _data2;
|
private int _data2;
|
||||||
@ -57,11 +55,4 @@ public class RequestDismissPartyRoom extends L2GameClientPacket
|
|||||||
|
|
||||||
PartyMatchRoomList.getInstance().deleteRoom(_roomid);
|
PartyMatchRoomList.getInstance().deleteRoom(_roomid);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_0A_REQUESTDISMISSPARTYROOM;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -27,8 +27,6 @@ import com.l2jmobius.gameserver.model.skills.Skill;
|
|||||||
*/
|
*/
|
||||||
public class RequestDispel extends L2GameClientPacket
|
public class RequestDispel extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C_D0_4B_REQUESTDISPEL = "[C] D0:4B RequestDispel";
|
|
||||||
|
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
private int _skillId;
|
private int _skillId;
|
||||||
private int _skillLevel;
|
private int _skillLevel;
|
||||||
@ -82,10 +80,4 @@ public class RequestDispel extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C_D0_4B_REQUESTDISPEL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExShowOwnthingPos;
|
|||||||
*/
|
*/
|
||||||
public class RequestDominionInfo extends L2GameClientPacket
|
public class RequestDominionInfo extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_58_REQUESTDOMINIONINFO = "[C] D0:58 RequestDominionInfo";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -44,10 +42,4 @@ public class RequestDominionInfo extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_58_REQUESTDOMINIONINFO;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,6 @@ import com.l2jmobius.gameserver.util.Util;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDropItem extends L2GameClientPacket
|
public final class RequestDropItem extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__17_REQUESTDROPITEM = "[C] 17 RequestDropItem";
|
|
||||||
|
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
private long _count;
|
private long _count;
|
||||||
private int _x;
|
private int _x;
|
||||||
@ -207,12 +205,6 @@ public final class RequestDropItem extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__17_REQUESTDROPITEM;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean triggersOnActionRequest()
|
protected boolean triggersOnActionRequest()
|
||||||
{
|
{
|
||||||
|
@ -27,7 +27,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDuelAnswerStart extends L2GameClientPacket
|
public final class RequestDuelAnswerStart extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_1C_REQUESTDUELANSWERSTART = "[C] D0:1C RequestDuelAnswerStart";
|
|
||||||
private int _partyDuel;
|
private int _partyDuel;
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private int _unk1;
|
private int _unk1;
|
||||||
@ -118,10 +117,4 @@ public final class RequestDuelAnswerStart extends L2GameClientPacket
|
|||||||
player.setActiveRequester(null);
|
player.setActiveRequester(null);
|
||||||
requestor.onTransactionResponse();
|
requestor.onTransactionResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_1C_REQUESTDUELANSWERSTART;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDuelStart extends L2GameClientPacket
|
public final class RequestDuelStart extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_1B_REQUESTDUELSTART = "[C] D0:1B RequestDuelStart";
|
|
||||||
|
|
||||||
private String _player;
|
private String _player;
|
||||||
private int _partyDuel;
|
private int _partyDuel;
|
||||||
|
|
||||||
@ -173,10 +171,4 @@ public final class RequestDuelStart extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_1B_REQUESTDUELSTART;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.instancemanager.DuelManager;
|
|||||||
*/
|
*/
|
||||||
public final class RequestDuelSurrender extends L2GameClientPacket
|
public final class RequestDuelSurrender extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_45_REQUESTDUELSURRENDER = "[C] D0:45 RequestDuelSurrender";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -37,10 +35,4 @@ public final class RequestDuelSurrender extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
DuelManager.getInstance().doSurrender(getClient().getActiveChar());
|
DuelManager.getInstance().doSurrender(getClient().getActiveChar());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_45_REQUESTDUELSURRENDER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -44,8 +44,6 @@ public final class RequestEnchantItem extends L2GameClientPacket
|
|||||||
{
|
{
|
||||||
protected static final Logger _logEnchant = Logger.getLogger("enchant");
|
protected static final Logger _logEnchant = Logger.getLogger("enchant");
|
||||||
|
|
||||||
private static final String _C__5F_REQUESTENCHANTITEM = "[C] 5F RequestEnchantItem";
|
|
||||||
|
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
private int _supportId;
|
private int _supportId;
|
||||||
|
|
||||||
@ -416,10 +414,4 @@ public final class RequestEnchantItem extends L2GameClientPacket
|
|||||||
activeChar.setActiveEnchantItemId(L2PcInstance.ID_NONE);
|
activeChar.setActiveEnchantItemId(L2PcInstance.ID_NONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__5F_REQUESTENCHANTITEM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ import com.l2jmobius.gameserver.network.serverpackets.Ex2ndPasswordCheck;
|
|||||||
*/
|
*/
|
||||||
public class RequestEx2ndPasswordCheck extends L2GameClientPacket
|
public class RequestEx2ndPasswordCheck extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_AD_REQUESTEX2NDPASSWORDCHECK = "[C] D0:AD RequestEx2ndPasswordCheck";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -44,10 +42,4 @@ public class RequestEx2ndPasswordCheck extends L2GameClientPacket
|
|||||||
|
|
||||||
getClient().getSecondaryAuth().openDialog();
|
getClient().getSecondaryAuth().openDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_AD_REQUESTEX2NDPASSWORDCHECK;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,6 @@ import com.l2jmobius.gameserver.security.SecondaryPasswordAuth;
|
|||||||
*/
|
*/
|
||||||
public class RequestEx2ndPasswordReq extends L2GameClientPacket
|
public class RequestEx2ndPasswordReq extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_AF_REQUESTEX2NDPASSWORDREQ = "[C] D0:AF RequestEx2ndPasswordReq";
|
|
||||||
|
|
||||||
private int _changePass;
|
private int _changePass;
|
||||||
private String _password, _newPassword;
|
private String _password, _newPassword;
|
||||||
|
|
||||||
@ -67,10 +65,4 @@ public class RequestEx2ndPasswordReq extends L2GameClientPacket
|
|||||||
getClient().sendPacket(new Ex2ndPasswordAck(Ex2ndPasswordAck.SUCCESS));
|
getClient().sendPacket(new Ex2ndPasswordAck(Ex2ndPasswordAck.SUCCESS));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_AF_REQUESTEX2NDPASSWORDREQ;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.data.xml.impl.SecondaryAuthData;
|
|||||||
*/
|
*/
|
||||||
public class RequestEx2ndPasswordVerify extends L2GameClientPacket
|
public class RequestEx2ndPasswordVerify extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_AE_REQUESTEX2NDPASSWORDVERIFY = "[C] D0:AE RequestEx2ndPasswordVerify";
|
|
||||||
|
|
||||||
private String _password;
|
private String _password;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -44,10 +42,4 @@ public class RequestEx2ndPasswordVerify extends L2GameClientPacket
|
|||||||
|
|
||||||
getClient().getSecondaryAuth().checkPassword(_password, false);
|
getClient().getSecondaryAuth().checkPassword(_password, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_AE_REQUESTEX2NDPASSWORDVERIFY;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public final class RequestExAcceptJoinMPCC extends L2GameClientPacket
|
public final class RequestExAcceptJoinMPCC extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_07_REQUESTEXASKJOINMPCC = "[C] D0:07 RequestExAcceptJoinMPCC";
|
|
||||||
private int _response;
|
private int _response;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -74,12 +73,5 @@ public final class RequestExAcceptJoinMPCC extends L2GameClientPacket
|
|||||||
player.setActiveRequester(null);
|
player.setActiveRequester(null);
|
||||||
requestor.onTransactionResponse();
|
requestor.onTransactionResponse();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_07_REQUESTEXASKJOINMPCC;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExConfirmAddingContact;
|
|||||||
*/
|
*/
|
||||||
public class RequestExAddContactToContactList extends L2GameClientPacket
|
public class RequestExAddContactToContactList extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_84_REQUESTEXADDCONTACTTOCONTACTLIST = "[C] D0:84 RequestExAddContactToContactList";
|
|
||||||
private String _name;
|
private String _name;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -57,10 +56,4 @@ public class RequestExAddContactToContactList extends L2GameClientPacket
|
|||||||
final boolean charAdded = activeChar.getContactList().add(_name);
|
final boolean charAdded = activeChar.getContactList().add(_name);
|
||||||
activeChar.sendPacket(new ExConfirmAddingContact(_name, charAdded));
|
activeChar.sendPacket(new ExConfirmAddingContact(_name, charAdded));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_84_REQUESTEXADDCONTACTTOCONTACTLIST;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,6 @@ import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
|||||||
*/
|
*/
|
||||||
public final class RequestExAskJoinMPCC extends L2GameClientPacket
|
public final class RequestExAskJoinMPCC extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_06_REQUESTEXASKJOINMPCC = "[C] D0:06 RequestExAskJoinMPCC";
|
|
||||||
private String _name;
|
private String _name;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -178,10 +177,4 @@ public final class RequestExAskJoinMPCC extends L2GameClientPacket
|
|||||||
requestor.sendPacket(sm);
|
requestor.sendPacket(sm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_06_REQUESTEXASKJOINMPCC;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.serverpackets.EnchantResult;
|
|||||||
*/
|
*/
|
||||||
public class RequestExCancelEnchantItem extends L2GameClientPacket
|
public class RequestExCancelEnchantItem extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_4E_REQUESTEXCANCELENCHANTITEM = "[C] D0:4E RequestExCancelEnchantItem";
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void readImpl()
|
protected void readImpl()
|
||||||
{
|
{
|
||||||
@ -42,10 +40,4 @@ public class RequestExCancelEnchantItem extends L2GameClientPacket
|
|||||||
activeChar.setActiveEnchantItemId(L2PcInstance.ID_NONE);
|
activeChar.setActiveEnchantItemId(L2PcInstance.ID_NONE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_4E_REQUESTEXCANCELENCHANTITEM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -24,8 +24,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExNeedToChangeName;
|
|||||||
*/
|
*/
|
||||||
public class RequestExChangeName extends L2GameClientPacket
|
public class RequestExChangeName extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_3B_REQUESTEXCHANGENAME = "[C] D0:3B RequestExChangeName";
|
|
||||||
|
|
||||||
private String _newName;
|
private String _newName;
|
||||||
private int _type;
|
private int _type;
|
||||||
private int _charSlot;
|
private int _charSlot;
|
||||||
@ -42,12 +40,5 @@ public class RequestExChangeName extends L2GameClientPacket
|
|||||||
protected void runImpl()
|
protected void runImpl()
|
||||||
{
|
{
|
||||||
_log.info("Recieved " + getType() + " name: " + _newName + " type: " + _type + " CharSlot: " + _charSlot);
|
_log.info("Recieved " + getType() + " name: " + _newName + " type: " + _type + " CharSlot: " + _charSlot);
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_3B_REQUESTEXCHANGENAME;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public final class RequestExCubeGameChangeTeam extends L2GameClientPacket
|
public final class RequestExCubeGameChangeTeam extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_5A_REQUESTEXCUBEGAMECHANGETEAM = "[C] D0:5A RequestExCubeGameChangeTeam";
|
|
||||||
|
|
||||||
private int _arena;
|
private int _arena;
|
||||||
private int _team;
|
private int _team;
|
||||||
|
|
||||||
@ -78,10 +76,4 @@ public final class RequestExCubeGameChangeTeam extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_5A_REQUESTEXCUBEGAMECHANGETEAM;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -25,8 +25,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public final class RequestExCubeGameReadyAnswer extends L2GameClientPacket
|
public final class RequestExCubeGameReadyAnswer extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_5C_REQUESTEXCUBEGAMEREADYANSWER = "[C] D0:5C RequestExCubeGameReadyAnswer";
|
|
||||||
|
|
||||||
private int _arena;
|
private int _arena;
|
||||||
private int _answer;
|
private int _answer;
|
||||||
|
|
||||||
@ -69,10 +67,4 @@ public final class RequestExCubeGameReadyAnswer extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_5C_REQUESTEXCUBEGAMEREADYANSWER;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,6 @@ import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
|||||||
*/
|
*/
|
||||||
public class RequestExDeleteContactFromContactList extends L2GameClientPacket
|
public class RequestExDeleteContactFromContactList extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_85_REQUESTEXDELETECONTACTFROMCONTACTLIST = "[C] D0:85 RequestExDeleteContactFromContactList";
|
|
||||||
private String _name;
|
private String _name;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -55,10 +54,4 @@ public class RequestExDeleteContactFromContactList extends L2GameClientPacket
|
|||||||
|
|
||||||
activeChar.getContactList().remove(_name);
|
activeChar.getContactList().remove(_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_85_REQUESTEXDELETECONTACTFROMCONTACTLIST;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,6 @@ import com.l2jmobius.util.Rnd;
|
|||||||
|
|
||||||
public class RequestExEnchantItemAttribute extends L2GameClientPacket
|
public class RequestExEnchantItemAttribute extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_35_REQUESTEXENCHANTITEMATTRIBUTE = "[C] D0:35 RequestExEnchantItemAttribute";
|
|
||||||
|
|
||||||
private int _objectId;
|
private int _objectId;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -296,10 +294,4 @@ public class RequestExEnchantItemAttribute extends L2GameClientPacket
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_35_REQUESTEXENCHANTITEMATTRIBUTE;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,6 @@ import com.l2jmobius.util.Rnd;
|
|||||||
*/
|
*/
|
||||||
public final class RequestExEnchantSkill extends L2GameClientPacket
|
public final class RequestExEnchantSkill extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_0F_REQUESTEXENCHANTSKILL = "[C] D0:0F RequestExEnchantSkill";
|
|
||||||
private static final Logger _logEnchant = Logger.getLogger("enchant");
|
private static final Logger _logEnchant = Logger.getLogger("enchant");
|
||||||
|
|
||||||
private int _skillId;
|
private int _skillId;
|
||||||
@ -201,10 +200,4 @@ public final class RequestExEnchantSkill extends L2GameClientPacket
|
|||||||
player.sendPacket(SystemMessageId.YOU_DO_NOT_HAVE_ENOUGH_SP_TO_ENCHANT_THAT_SKILL);
|
player.sendPacket(SystemMessageId.YOU_DO_NOT_HAVE_ENOUGH_SP_TO_ENCHANT_THAT_SKILL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_0F_REQUESTEXENCHANTSKILL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -28,8 +28,6 @@ import com.l2jmobius.gameserver.network.serverpackets.ExEnchantSkillInfo;
|
|||||||
*/
|
*/
|
||||||
public final class RequestExEnchantSkillInfo extends L2GameClientPacket
|
public final class RequestExEnchantSkillInfo extends L2GameClientPacket
|
||||||
{
|
{
|
||||||
private static final String _C__D0_0E_REQUESTEXENCHANTSKILLINFO = "[C] D0:0E RequestExEnchantSkillInfo";
|
|
||||||
|
|
||||||
private int _skillId;
|
private int _skillId;
|
||||||
private int _skillLvl;
|
private int _skillLvl;
|
||||||
|
|
||||||
@ -79,10 +77,4 @@ public final class RequestExEnchantSkillInfo extends L2GameClientPacket
|
|||||||
|
|
||||||
activeChar.sendPacket(new ExEnchantSkillInfo(_skillId, _skillLvl));
|
activeChar.sendPacket(new ExEnchantSkillInfo(_skillId, _skillLvl));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getType()
|
|
||||||
{
|
|
||||||
return _C__D0_0E_REQUESTEXENCHANTSKILLINFO;
|
|
||||||
}
|
|
||||||
}
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user