L2JPREMIUM  5M
com.premium.game.model.olympiad.Olympiad Class Reference
Collaboration diagram for com.premium.game.model.olympiad.Olympiad:

Classes

enum  COMP_TYPE
 
class  OlympiadEndTask
 
class  ValidationEndTask
 

Public Member Functions

List< String > getClassLeaderBoard (int classId)
 
int getCurrentCycle ()
 
int getNoblessePasses (int objId)
 
boolean isOlympiadEnd ()
 
void manualSelectHeroes ()
 
boolean registerNoble (L2PcInstance noble, boolean classBased)
 
void saveOlympiadStatus ()
 

Static Public Member Functions

static void addSpectator (int id, L2PcInstance spectator, boolean storeCoords)
 
static void bypassChangeArena (String command, L2PcInstance player)
 
static int getCompetitionDone (int objId)
 
static int getCompetitionLost (int objId)
 
static int getCompetitionWon (int objId)
 
static Olympiad getInstance ()
 
static int getNoblePoints (int objId)
 
static StatsSet getNobleStats (int playerId)
 
static Map< Integer, OlympiadGamegetOlympiadGames ()
 
static L2PcInstance[] getPlayers (int Id)
 
static int getSpectatorArena (L2PcInstance player)
 
static List< L2PcInstancegetSpectators (int id)
 
static Integer getStadiumCount ()
 
static int[] getWaitingList ()
 
static boolean inCompPeriod ()
 
static boolean isRegistered (L2PcInstance noble)
 
static boolean isRegisteredInComp (L2PcInstance player)
 
static synchronized void logResult (String playerOne, String playerTwo, Double p1hp, Double p2hp, int p1dmg, int p2dmg, String result, int points, String classed)
 
static void notifyCompetitorDamage (L2PcInstance player, int damage, int gameId)
 
static boolean playerInStadia (L2PcInstance player)
 
static void removeDisconnectedCompetitor (L2PcInstance player)
 
static void removeSpectator (int id, L2PcInstance spectator)
 
static void sendMatchList (L2PcInstance player)
 
static boolean unRegisterNoble (L2PcInstance noble)
 

Static Public Attributes

static final String OLYMPIAD_HTML_PATH = "data/html/olympiad/"
 
static final String CHAR_ID = "charId"
 
static final String CLASS_ID = "class_id"
 
static final String CHAR_NAME = "char_name"
 
static final String POINTS = "olympiad_points"
 
static final String COMP_DONE = "competitions_done"
 
static final String COMP_WON = "competitions_won"
 
static final String COMP_LOST = "competitions_lost"
 
static final String COMP_DRAWN = "competitions_drawn"
 

Protected Member Functions

synchronized void addWeeklyPoints ()
 
void deleteNobles ()
 
long getMillisToCompEnd ()
 
long getMillisToValidationEnd ()
 
void init ()
 
synchronized void saveNobleData ()
 
void setNewOlympiadEnd ()
 
void sortHerosToBe ()
 
void updateMonthlyData ()
 

Static Protected Member Functions

static void clearRegistered ()
 
static int getNobleCount ()
 
static Map< Integer, List< L2PcInstance > > getRegisteredClassBased ()
 
static List< L2PcInstancegetRegisteredNonClassBased ()
 
static void giveHeroBonus ()
 
static List< Integer > hasEnoughRegisteredClassed ()
 
static boolean hasEnoughRegisteredNonClassed ()
 
static synchronized void updateNobleStats (int playerId, StatsSet stats)
 

Protected Attributes

long _olympiadEnd
 
long _validationEnd
 
int _period
 
long _nextWeeklyChange
 
int _currentCycle
 
ScheduledFuture<?> _scheduledCompStart
 
ScheduledFuture<?> _scheduledCompEnd
 
ScheduledFuture<?> _scheduledOlympiadEnd
 
ScheduledFuture<?> _scheduledWeeklyTask
 
ScheduledFuture<?> _scheduledValdationTask
 

Static Protected Attributes

static List< StatsSet > _heroesToBe = new ArrayList<>()
 
static boolean _inCompPeriod
 
static boolean _compStarted = false
 

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