瀏覽代碼

BETA: Dropping unused class `TaskPriority`.

Rumen Nikiforov 11 年之前
父節點
當前提交
eca9317100

+ 0 - 29
L2J_Server_BETA/java/com/l2jserver/gameserver/TaskPriority.java

@@ -1,29 +0,0 @@
-/*
- * Copyright (C) 2004-2014 L2J Server
- * 
- * This file is part of L2J Server.
- * 
- * L2J Server is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- * 
- * L2J Server is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-package com.l2jserver.gameserver;
-
-/**
- * @author mkizub
- */
-public enum TaskPriority
-{
-	PR_NORMAL,
-	PR_HIGH,
-	PR_URGENT;
-}

+ 0 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/EnterWorld.java

@@ -22,7 +22,6 @@ import com.l2jserver.Config;
 import com.l2jserver.gameserver.Announcements;
 import com.l2jserver.gameserver.LoginServerThread;
 import com.l2jserver.gameserver.SevenSigns;
-import com.l2jserver.gameserver.TaskPriority;
 import com.l2jserver.gameserver.cache.HtmCache;
 import com.l2jserver.gameserver.communitybbs.Manager.RegionBBSManager;
 import com.l2jserver.gameserver.datatables.AdminTable;
@@ -105,11 +104,6 @@ public class EnterWorld extends L2GameClientPacket
 	
 	private final int[][] tracert = new int[5][4];
 	
-	public TaskPriority getPriority()
-	{
-		return TaskPriority.PR_URGENT;
-	}
-	
 	@Override
 	protected void readImpl()
 	{

+ 0 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/MoveBackwardToLocation.java

@@ -21,7 +21,6 @@ package com.l2jserver.gameserver.network.clientpackets;
 import java.nio.BufferUnderflowException;
 
 import com.l2jserver.Config;
-import com.l2jserver.gameserver.TaskPriority;
 import com.l2jserver.gameserver.ai.CtrlIntention;
 import com.l2jserver.gameserver.model.Location;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
@@ -53,11 +52,6 @@ public class MoveBackwardToLocation extends L2GameClientPacket
 	@SuppressWarnings("unused")
 	private int _curZ;
 	
-	public TaskPriority getPriority()
-	{
-		return TaskPriority.PR_HIGH;
-	}
-	
 	@Override
 	protected void readImpl()
 	{

+ 0 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/MoveToLocationAirShip.java

@@ -18,7 +18,6 @@
  */
 package com.l2jserver.gameserver.network.clientpackets;
 
-import com.l2jserver.gameserver.TaskPriority;
 import com.l2jserver.gameserver.ai.CtrlIntention;
 import com.l2jserver.gameserver.instancemanager.AirShipManager;
 import com.l2jserver.gameserver.model.L2World;
@@ -40,11 +39,6 @@ public class MoveToLocationAirShip extends L2GameClientPacket
 	private int _param1;
 	private int _param2 = 0;
 	
-	public TaskPriority getPriority()
-	{
-		return TaskPriority.PR_HIGH;
-	}
-	
 	@Override
 	protected void readImpl()
 	{

+ 0 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/MoveToLocationInAirShip.java

@@ -18,7 +18,6 @@
  */
 package com.l2jserver.gameserver.network.clientpackets;
 
-import com.l2jserver.gameserver.TaskPriority;
 import com.l2jserver.gameserver.model.Location;
 import com.l2jserver.gameserver.model.actor.instance.L2AirShipInstance;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
@@ -43,11 +42,6 @@ public class MoveToLocationInAirShip extends L2GameClientPacket
 	private int _originY;
 	private int _originZ;
 	
-	public TaskPriority getPriority()
-	{
-		return TaskPriority.PR_HIGH;
-	}
-	
 	@Override
 	protected void readImpl()
 	{

+ 0 - 6
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/RequestMoveToLocationInVehicle.java

@@ -19,7 +19,6 @@
 package com.l2jserver.gameserver.network.clientpackets;
 
 import com.l2jserver.Config;
-import com.l2jserver.gameserver.TaskPriority;
 import com.l2jserver.gameserver.instancemanager.BoatManager;
 import com.l2jserver.gameserver.model.Location;
 import com.l2jserver.gameserver.model.actor.instance.L2BoatInstance;
@@ -42,11 +41,6 @@ public final class RequestMoveToLocationInVehicle extends L2GameClientPacket
 	private int _originY;
 	private int _originZ;
 	
-	public TaskPriority getPriority()
-	{
-		return TaskPriority.PR_HIGH;
-	}
-	
 	@Override
 	protected void readImpl()
 	{

+ 0 - 10
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/RequestRecordInfo.java

@@ -20,7 +20,6 @@ package com.l2jserver.gameserver.network.clientpackets;
 
 import java.util.Collection;
 
-import com.l2jserver.gameserver.TaskPriority;
 import com.l2jserver.gameserver.model.L2Object;
 import com.l2jserver.gameserver.model.actor.L2Character;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
@@ -32,15 +31,6 @@ public class RequestRecordInfo extends L2GameClientPacket
 {
 	private static final String _C__6E_REQUEST_RECORD_INFO = "[C] 6E RequestRecordInfo";
 	
-	/**
-	 * urgent messages, execute immediately
-	 * @return
-	 */
-	public TaskPriority getPriority()
-	{
-		return TaskPriority.PR_NORMAL;
-	}
-	
 	@Override
 	protected void readImpl()
 	{

+ 0 - 10
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/ValidatePosition.java

@@ -19,7 +19,6 @@
 package com.l2jserver.gameserver.network.clientpackets;
 
 import com.l2jserver.Config;
-import com.l2jserver.gameserver.TaskPriority;
 import com.l2jserver.gameserver.geoeditorcon.GeoEditorListener;
 import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
 import com.l2jserver.gameserver.model.zone.ZoneId;
@@ -34,15 +33,6 @@ public class ValidatePosition extends L2GameClientPacket
 {
 	private static final String _C__59_VALIDATEPOSITION = "[C] 59 ValidatePosition";
 	
-	/**
-	 * urgent messages, execute immediately
-	 * @return
-	 */
-	public TaskPriority getPriority()
-	{
-		return TaskPriority.PR_HIGH;
-	}
-	
 	private int _x;
 	private int _y;
 	private int _z;