Simplified EffectList class name.
This commit is contained in:
@ -59,9 +59,9 @@ import com.l2jmobius.gameserver.network.serverpackets.ShortBuffStatusUpdate;
|
||||
* Methods may resemble List interface, although it doesn't implement such interface.
|
||||
* @author Zoey76
|
||||
*/
|
||||
public final class CharEffectList
|
||||
public final class EffectList
|
||||
{
|
||||
private static final Logger LOGGER = Logger.getLogger(CharEffectList.class.getName());
|
||||
private static final Logger LOGGER = Logger.getLogger(EffectList.class.getName());
|
||||
/** Queue containing all effects from buffs for this effect list. */
|
||||
private volatile Queue<BuffInfo> _buffs = new ConcurrentLinkedQueue<>();
|
||||
/** Queue containing all triggered skills for this effect list. */
|
||||
@ -101,7 +101,7 @@ public final class CharEffectList
|
||||
* Constructor for effect list.
|
||||
* @param owner the creature that owns this effect list
|
||||
*/
|
||||
public CharEffectList(Creature owner)
|
||||
public EffectList(Creature owner)
|
||||
{
|
||||
_owner = owner;
|
||||
}
|
@ -59,7 +59,7 @@ import com.l2jmobius.gameserver.instancemanager.QuestManager;
|
||||
import com.l2jmobius.gameserver.instancemanager.TerritoryWarManager;
|
||||
import com.l2jmobius.gameserver.instancemanager.ZoneManager;
|
||||
import com.l2jmobius.gameserver.model.AccessLevel;
|
||||
import com.l2jmobius.gameserver.model.CharEffectList;
|
||||
import com.l2jmobius.gameserver.model.EffectList;
|
||||
import com.l2jmobius.gameserver.model.Location;
|
||||
import com.l2jmobius.gameserver.model.Party;
|
||||
import com.l2jmobius.gameserver.model.PlayerCondOverride;
|
||||
@ -235,7 +235,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
|
||||
private volatile Map<Integer, InvulSkillHolder> _invulAgainst;
|
||||
/** Creatures effect list. */
|
||||
private final CharEffectList _effectList = new CharEffectList(this);
|
||||
private final EffectList _effectList = new EffectList(this);
|
||||
/** The creature that summons this character. */
|
||||
private Creature _summoner = null;
|
||||
|
||||
@ -358,7 +358,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
setIsInvul(true);
|
||||
}
|
||||
|
||||
public final CharEffectList getEffectList()
|
||||
public final EffectList getEffectList()
|
||||
{
|
||||
return _effectList;
|
||||
}
|
||||
@ -6232,7 +6232,7 @@ public abstract class Creature extends WorldObject implements ISkillsHolder, IDe
|
||||
|
||||
/**
|
||||
* Check if target is affected with special buff
|
||||
* @see CharEffectList#isAffected(EffectFlag)
|
||||
* @see EffectList#isAffected(EffectFlag)
|
||||
* @param flag int
|
||||
* @return boolean
|
||||
*/
|
||||
|
@ -25,7 +25,7 @@ import java.util.concurrent.ScheduledFuture;
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.commons.concurrent.ThreadPool;
|
||||
import com.l2jmobius.gameserver.GameTimeController;
|
||||
import com.l2jmobius.gameserver.model.CharEffectList;
|
||||
import com.l2jmobius.gameserver.model.EffectList;
|
||||
import com.l2jmobius.gameserver.model.actor.Creature;
|
||||
import com.l2jmobius.gameserver.model.actor.Summon;
|
||||
import com.l2jmobius.gameserver.model.effects.AbstractEffect;
|
||||
@ -221,7 +221,7 @@ public final class BuffInfo
|
||||
* Stops all the effects for this buff info.<br>
|
||||
* Removes effects stats.<br>
|
||||
* <b>It will not remove the buff info from the effect list</b>.<br>
|
||||
* Instead call {@link CharEffectList#stopSkillEffects(boolean, Skill)}
|
||||
* Instead call {@link EffectList#stopSkillEffects(boolean, Skill)}
|
||||
* @param removed if {@code true} the skill will be handled as removed
|
||||
*/
|
||||
public void stopAllEffects(boolean removed)
|
||||
|
Reference in New Issue
Block a user