Fixed access emulated by synthetic accessors.

This commit is contained in:
MobiusDevelopment
2021-05-26 22:54:07 +00:00
parent 965594c906
commit b129f85e5c
82 changed files with 98 additions and 98 deletions

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -32,7 +32,7 @@ public class GameTimeTaskManager extends Thread
{ {
private long _gameStartTime = Chronos.currentTimeMillis() - 3600000L; private long _gameStartTime = Chronos.currentTimeMillis() - 3600000L;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
} }

View File

@@ -32,7 +32,7 @@ public class DamageZone extends ZoneType
private final int _startTask; private final int _startTask;
private final int _reuseTask; private final int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -44,7 +44,7 @@ public class EffectZone extends ZoneType
boolean _enabled; boolean _enabled;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -84,6 +84,7 @@ public class GameClient extends ChannelInboundHandler<GameClient>
(byte) 0x87 // The last 4 bytes are fixed. (byte) 0x87 // The last 4 bytes are fixed.
}; };
protected PlayerInstance _player;
private final FloodProtectors _floodProtectors = new FloodProtectors(this); private final FloodProtectors _floodProtectors = new FloodProtectors(this);
private final ReentrantLock _playerLock = new ReentrantLock(); private final ReentrantLock _playerLock = new ReentrantLock();
private final Crypt _crypt; private final Crypt _crypt;
@@ -91,7 +92,6 @@ public class GameClient extends ChannelInboundHandler<GameClient>
private Channel _channel; private Channel _channel;
private String _accountName; private String _accountName;
private SessionKey _sessionId; private SessionKey _sessionId;
private PlayerInstance _player;
private final List<Integer> _charSlotMapping = new ArrayList<>(); private final List<Integer> _charSlotMapping = new ArrayList<>();
private volatile boolean _isDetached = false; private volatile boolean _isDetached = false;
private boolean _isAuthedGG; private boolean _isAuthedGG;

View File

@@ -36,7 +36,7 @@ import org.l2jmobius.gameserver.util.UnboundArrayList;
*/ */
public class GameTimeTaskManager public class GameTimeTaskManager
{ {
private static final Logger LOGGER = Logger.getLogger(GameTimeTaskManager.class.getName()); protected static final Logger LOGGER = Logger.getLogger(GameTimeTaskManager.class.getName());
public static final int TICKS_PER_SECOND = 10; public static final int TICKS_PER_SECOND = 10;
public static final int MILLIS_IN_TICK = 1000 / TICKS_PER_SECOND; public static final int MILLIS_IN_TICK = 1000 / TICKS_PER_SECOND;
@@ -50,7 +50,7 @@ public class GameTimeTaskManager
protected static TimerThread _timer; protected static TimerThread _timer;
private final ScheduledFuture<?> _timerWatcher; private final ScheduledFuture<?> _timerWatcher;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
_gameStartTime = Chronos.currentTimeMillis() - 3600000; // offset so that the server starts a day begin _gameStartTime = Chronos.currentTimeMillis() - 3600000; // offset so that the server starts a day begin
_gameTicks = 3600000 / MILLIS_IN_TICK; // offset so that the server starts a day begin _gameTicks = 3600000 / MILLIS_IN_TICK; // offset so that the server starts a day begin
@@ -193,7 +193,7 @@ public class GameTimeTaskManager
} }
} }
private class TimerWatcher implements Runnable protected class TimerWatcher implements Runnable
{ {
@Override @Override
public void run() public void run()
@@ -243,7 +243,7 @@ public class GameTimeTaskManager
} }
} }
private class BroadcastSunState implements Runnable protected class BroadcastSunState implements Runnable
{ {
@Override @Override
public void run() public void run()

View File

@@ -32,7 +32,7 @@ public class DamageZone extends ZoneType
private final int _startTask; private final int _startTask;
private final int _reuseTask; private final int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -45,7 +45,7 @@ public class EffectZone extends ZoneType
boolean _enabled; boolean _enabled;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -72,6 +72,7 @@ public class GameClient extends ChannelInboundHandler<GameClient>
protected static final Logger LOGGER = Logger.getLogger(GameClient.class.getName()); protected static final Logger LOGGER = Logger.getLogger(GameClient.class.getName());
protected static final Logger LOGGER_ACCOUNTING = Logger.getLogger("accounting"); protected static final Logger LOGGER_ACCOUNTING = Logger.getLogger("accounting");
protected PlayerInstance _player;
private final FloodProtectors _floodProtectors = new FloodProtectors(this); private final FloodProtectors _floodProtectors = new FloodProtectors(this);
private final ReentrantLock _playerLock = new ReentrantLock(); private final ReentrantLock _playerLock = new ReentrantLock();
private final Crypt _crypt; private final Crypt _crypt;
@@ -79,7 +80,6 @@ public class GameClient extends ChannelInboundHandler<GameClient>
private Channel _channel; private Channel _channel;
private String _accountName; private String _accountName;
private SessionKey _sessionId; private SessionKey _sessionId;
private PlayerInstance _player;
private final List<Integer> _charSlotMapping = new ArrayList<>(); private final List<Integer> _charSlotMapping = new ArrayList<>();
private volatile boolean _isDetached = false; private volatile boolean _isDetached = false;
private boolean _isAuthedGG; private boolean _isAuthedGG;

View File

@@ -36,7 +36,7 @@ import org.l2jmobius.gameserver.util.UnboundArrayList;
*/ */
public class GameTimeTaskManager public class GameTimeTaskManager
{ {
private static final Logger LOGGER = Logger.getLogger(GameTimeTaskManager.class.getName()); protected static final Logger LOGGER = Logger.getLogger(GameTimeTaskManager.class.getName());
public static final int TICKS_PER_SECOND = 10; public static final int TICKS_PER_SECOND = 10;
public static final int MILLIS_IN_TICK = 1000 / TICKS_PER_SECOND; public static final int MILLIS_IN_TICK = 1000 / TICKS_PER_SECOND;
@@ -50,7 +50,7 @@ public class GameTimeTaskManager
protected static TimerThread _timer; protected static TimerThread _timer;
private final ScheduledFuture<?> _timerWatcher; private final ScheduledFuture<?> _timerWatcher;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
_gameStartTime = Chronos.currentTimeMillis() - 3600000; // offset so that the server starts a day begin _gameStartTime = Chronos.currentTimeMillis() - 3600000; // offset so that the server starts a day begin
_gameTicks = 3600000 / MILLIS_IN_TICK; // offset so that the server starts a day begin _gameTicks = 3600000 / MILLIS_IN_TICK; // offset so that the server starts a day begin
@@ -193,7 +193,7 @@ public class GameTimeTaskManager
} }
} }
private class TimerWatcher implements Runnable protected class TimerWatcher implements Runnable
{ {
@Override @Override
public void run() public void run()
@@ -243,7 +243,7 @@ public class GameTimeTaskManager
} }
} }
private class BroadcastSunState implements Runnable protected class BroadcastSunState implements Runnable
{ {
@Override @Override
public void run() public void run()

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -46,7 +46,7 @@ public class GameTimeTaskManager extends Thread
private static final UnboundArrayList<Creature> _movingObjects = new UnboundArrayList<>(); private static final UnboundArrayList<Creature> _movingObjects = new UnboundArrayList<>();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -46,7 +46,7 @@ public class GameTimeTaskManager extends Thread
private static final UnboundArrayList<Creature> _movingObjects = new UnboundArrayList<>(); private static final UnboundArrayList<Creature> _movingObjects = new UnboundArrayList<>();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -43,7 +43,7 @@ public final class VipManager
private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this); private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this);
private VipManager() protected VipManager()
{ {
if (!Config.VIP_SYSTEM_ENABLED) if (!Config.VIP_SYSTEM_ENABLED)
{ {
@@ -213,6 +213,6 @@ public final class VipManager
private static class Singleton private static class Singleton
{ {
private static final VipManager INSTANCE = new VipManager(); protected static final VipManager INSTANCE = new VipManager();
} }
} }

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -43,7 +43,7 @@ public final class VipManager
private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this); private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this);
private VipManager() protected VipManager()
{ {
if (!Config.VIP_SYSTEM_ENABLED) if (!Config.VIP_SYSTEM_ENABLED)
{ {
@@ -213,6 +213,6 @@ public final class VipManager
private static class Singleton private static class Singleton
{ {
private static final VipManager INSTANCE = new VipManager(); protected static final VipManager INSTANCE = new VipManager();
} }
} }

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -43,7 +43,7 @@ public final class VipManager
private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this); private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this);
private VipManager() protected VipManager()
{ {
if (!Config.VIP_SYSTEM_ENABLED) if (!Config.VIP_SYSTEM_ENABLED)
{ {
@@ -213,6 +213,6 @@ public final class VipManager
private static class Singleton private static class Singleton
{ {
private static final VipManager INSTANCE = new VipManager(); protected static final VipManager INSTANCE = new VipManager();
} }
} }

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -43,7 +43,7 @@ public final class VipManager
private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this); private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this);
private VipManager() protected VipManager()
{ {
if (!Config.VIP_SYSTEM_ENABLED) if (!Config.VIP_SYSTEM_ENABLED)
{ {
@@ -213,6 +213,6 @@ public final class VipManager
private static class Singleton private static class Singleton
{ {
private static final VipManager INSTANCE = new VipManager(); protected static final VipManager INSTANCE = new VipManager();
} }
} }

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -43,7 +43,7 @@ public final class VipManager
private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this); private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this);
private VipManager() protected VipManager()
{ {
if (!Config.VIP_SYSTEM_ENABLED) if (!Config.VIP_SYSTEM_ENABLED)
{ {
@@ -213,6 +213,6 @@ public final class VipManager
private static class Singleton private static class Singleton
{ {
private static final VipManager INSTANCE = new VipManager(); protected static final VipManager INSTANCE = new VipManager();
} }
} }

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -43,7 +43,7 @@ public final class VipManager
private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this); private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this);
private VipManager() protected VipManager()
{ {
if (!Config.VIP_SYSTEM_ENABLED) if (!Config.VIP_SYSTEM_ENABLED)
{ {
@@ -213,6 +213,6 @@ public final class VipManager
private static class Singleton private static class Singleton
{ {
private static final VipManager INSTANCE = new VipManager(); protected static final VipManager INSTANCE = new VipManager();
} }
} }

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -94,11 +94,11 @@ public class PetInstance extends Summon
private static final String SELECT_EVOLVED_PETS = "SELECT * FROM pet_evolves WHERE itemObjId=?"; private static final String SELECT_EVOLVED_PETS = "SELECT * FROM pet_evolves WHERE itemObjId=?";
private static final String UPDATE_EVOLVED_PETS = "REPLACE INTO pet_evolves (`itemObjId`, `index`, `level`) VALUES (?, ?, ?)"; private static final String UPDATE_EVOLVED_PETS = "REPLACE INTO pet_evolves (`itemObjId`, `index`, `level`) VALUES (?, ?, ?)";
protected int _curFed;
protected final PetInventory _inventory;
private final boolean _mountable; private final boolean _mountable;
private final int _controlObjectId; private final int _controlObjectId;
private final PetInventory _inventory;
private boolean _respawned; private boolean _respawned;
private int _curFed;
private int _petType = 0; private int _petType = 0;
private int _curWeightPenalty = 0; private int _curWeightPenalty = 0;
private long _expBeforeDeath = 0; private long _expBeforeDeath = 0;

View File

@@ -43,7 +43,7 @@ public final class VipManager
private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this); private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this);
private VipManager() protected VipManager()
{ {
if (!Config.VIP_SYSTEM_ENABLED) if (!Config.VIP_SYSTEM_ENABLED)
{ {
@@ -203,6 +203,6 @@ public final class VipManager
private static class Singleton private static class Singleton
{ {
private static final VipManager INSTANCE = new VipManager(); protected static final VipManager INSTANCE = new VipManager();
} }
} }

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);

View File

@@ -94,11 +94,11 @@ public class PetInstance extends Summon
private static final String SELECT_EVOLVED_PETS = "SELECT * FROM pet_evolves WHERE itemObjId=?"; private static final String SELECT_EVOLVED_PETS = "SELECT * FROM pet_evolves WHERE itemObjId=?";
private static final String UPDATE_EVOLVED_PETS = "REPLACE INTO pet_evolves (`itemObjId`, `index`, `level`) VALUES (?, ?, ?)"; private static final String UPDATE_EVOLVED_PETS = "REPLACE INTO pet_evolves (`itemObjId`, `index`, `level`) VALUES (?, ?, ?)";
protected int _curFed;
protected final PetInventory _inventory;
private final boolean _mountable; private final boolean _mountable;
private final int _controlObjectId; private final int _controlObjectId;
private final PetInventory _inventory;
private boolean _respawned; private boolean _respawned;
private int _curFed;
private int _petType = 0; private int _petType = 0;
private int _curWeightPenalty = 0; private int _curWeightPenalty = 0;
private long _expBeforeDeath = 0; private long _expBeforeDeath = 0;

View File

@@ -43,7 +43,7 @@ public final class VipManager
private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this); private final ConsumerEventListener _vipLoginListener = new ConsumerEventListener(null, EventType.ON_PLAYER_LOGIN, (Consumer<OnPlayerLogin>) this::onVipLogin, this);
private VipManager() protected VipManager()
{ {
if (!Config.VIP_SYSTEM_ENABLED) if (!Config.VIP_SYSTEM_ENABLED)
{ {
@@ -203,6 +203,6 @@ public final class VipManager
private static class Singleton private static class Singleton
{ {
private static final VipManager INSTANCE = new VipManager(); protected static final VipManager INSTANCE = new VipManager();
} }
} }

View File

@@ -41,7 +41,7 @@ public class DamageZone extends ZoneType
private int _startTask; private int _startTask;
private int _reuseTask; private int _reuseTask;
private volatile Future<?> _task; protected volatile Future<?> _task;
public DamageZone(int id) public DamageZone(int id)
{ {

View File

@@ -43,7 +43,7 @@ public class EffectZone extends ZoneType
protected boolean _bypassConditions; protected boolean _bypassConditions;
private boolean _isShowDangerIcon; private boolean _isShowDangerIcon;
protected Map<Integer, Integer> _skills; protected Map<Integer, Integer> _skills;
private volatile Future<?> _task; protected volatile Future<?> _task;
public EffectZone(int id) public EffectZone(int id)
{ {

View File

@@ -52,7 +52,7 @@ public class GameTimeTaskManager extends Thread
private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet(); private static final Set<Creature> _shadowSenseCharacters = ConcurrentHashMap.newKeySet();
private final long _referenceTime; private final long _referenceTime;
private GameTimeTaskManager() protected GameTimeTaskManager()
{ {
super("GameTimeTaskManager"); super("GameTimeTaskManager");
super.setDaemon(true); super.setDaemon(true);