L2JPREMIUM  5M
com.premium.game.model.entity.siege.Siege Class Reference
Collaboration diagram for com.premium.game.model.entity.siege.Siege:

Classes

class  ScheduleEndSiegeTask
 
class  ScheduleStartSiegeTask
 
enum  TeleportWhoType
 

Public Member Functions

 Siege (Castle castle)
 
void announceToOpponent (SystemMessage sm, boolean toAtk)
 
void announceToOpponent (SystemMessage sm, L2Clan self)
 
void announceToParticipants (SystemMessage sm)
 
void announceToPlayer (String message, boolean inAreaOnly)
 
void announceToPlayer (SystemMessage sm, boolean inAreaOnly)
 
void approveSiegeDefenderClan (int clanId)
 
boolean checkIfAlreadyRegisteredForSameDay (L2Clan clan)
 
boolean checkIfInZone (int x, int y, int z)
 
boolean checkIfInZone (L2Object object)
 
boolean checkIsAttacker (L2Clan clan)
 
boolean checkIsDefender (L2Clan clan)
 
boolean checkIsDefenderWaiting (L2Clan clan)
 
void clearSiegeClan ()
 
void clearSiegeWaitingClan ()
 
void disableTraps ()
 
void endSiege ()
 
void endTimeRegistration (boolean automatic)
 
final L2SiegeClan getAttackerClan (int clanId)
 
final L2SiegeClan getAttackerClan (L2Clan clan)
 
final List< L2SiegeClangetAttackerClans ()
 
List< L2PcInstancegetAttackersInZone ()
 
final Castle getCastle ()
 
L2Npc getClosestFlag (L2Object obj)
 
int getControlTowerCount ()
 
int getControlTowerMaxCount ()
 
final L2SiegeClan getDefenderClan (int clanId)
 
final L2SiegeClan getDefenderClan (L2Clan clan)
 
final List< L2SiegeClangetDefenderClans ()
 
List< L2PcInstancegetDefendersButNotOwnersInZone ()
 
final L2SiegeClan getDefenderWaitingClan (int clanId)
 
final L2SiegeClan getDefenderWaitingClan (L2Clan clan)
 
final List< L2SiegeClangetDefenderWaitingClans ()
 
Set< L2NpcgetFlag (L2Clan clan)
 
int getFlameTowerMaxCount ()
 
final boolean getIsInProgress ()
 
final boolean getIsRegistrationOver ()
 
final boolean getIsTimeRegistrationOver ()
 
List< L2PcInstancegetOwnersInZone ()
 
List< L2PcInstancegetPlayersInZone ()
 
final Calendar getSiegeDate ()
 
final SiegeGuardManager getSiegeGuardManager ()
 
List< L2PcInstancegetSpectatorsInZone ()
 
final Calendar getTimeRegistrationOverDate ()
 
final L2SiegeZone getZone ()
 
boolean isTrapsActive ()
 
void killedCT (L2Npc ct)
 
void killedFlag (L2Npc flag)
 
void listRegisterClan (L2PcInstance player)
 
void midVictory ()
 
void registerAttacker (L2PcInstance player)
 
void registerDefender (L2PcInstance player)
 
void removeSiegeClan (int clanId)
 
void removeSiegeClan (L2Clan clan)
 
void removeSiegeClan (L2PcInstance player)
 
void saveSiegeDate ()
 
void startAutoTask ()
 
void startSiege ()
 
void teleportPlayer (TeleportWhoType teleportWho, TeleportWhereType teleportWhere)
 
void updatePlayerSiegeStateFlags (boolean clear)
 

Static Public Member Functions

static final int getAttackerRespawnDelay ()
 

Static Public Attributes

static final byte OWNER = -1
 
static final byte DEFENDER = 0
 
static final byte ATTACKER = 1
 
static final byte DEFENDER_NOT_APPROVED = 2
 
static final Logger _log = Logger.getLogger(Siege.class.getName())
 

Protected Attributes

ScheduledFuture<?> _scheduledStartSiegeTask
 
boolean _isRegistrationOver = false
 
Calendar _siegeEndDate
 

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