L2JPREMIUM  5M
com.premium.game.manager.CastleManorManager Class Reference
Collaboration diagram for com.premium.game.manager.CastleManorManager:

Classes

class  CropProcure
 
class  SeedProduction
 

Public Member Functions

void approveNextPeriod ()
 
long getMillisToManorRefresh ()
 
long getMillisToNextPeriodApprove ()
 
CropProcure getNewCropProcure (int id, int amount, int type, int price, int buy)
 
SeedProduction getNewSeedProduction (int id, int amount, int price, int sales)
 
boolean isDisabled ()
 
boolean isUnderMaintenance ()
 
void saveData ()
 
void setDisabled (boolean mode)
 
long setNewManorRefresh ()
 
long setNewPeriodApprove ()
 
void setNextPeriod ()
 
void setUnderMaintenance (boolean mode)
 
void updateManorRefresh ()
 
void updatePeriodApprove ()
 

Static Public Member Functions

static final CastleManorManager getInstance ()
 

Static Public Attributes

static final Logger _log = Logger.getLogger(CastleManorManager.class.getName())
 
static final int PERIOD_CURRENT = 0
 
static final int PERIOD_NEXT = 1
 

Protected Member Functions

void init ()
 

Protected Attributes

ScheduledFuture<?> _scheduledManorRefresh
 
ScheduledFuture<?> _scheduledMaintenanceEnd
 
ScheduledFuture<?> _scheduledNextPeriodapprove
 

Static Protected Attributes

static final long MAINTENANCE_PERIOD = Config.ALT_MANOR_MAINTENANCE_PERIOD
 

The documentation for this class was generated from the following file: