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

Classes

class  ScheduleEndSiegeTask
 
class  ScheduleSiegeRestore
 
class  ScheduleStartSiegeTask
 
class  ScheduleSuspicoiusMerchantSpawn
 
enum  TeleportWhoType
 

Public Member Functions

 FortSiege (Fort[] fort)
 
void announceToPlayer (SystemMessage sm, int val, boolean useFortId)
 
void announceToPlayer (SystemMessage sm, String text)
 
void checkAutoTask ()
 
boolean checkIfAlreadyRegisteredForSameDay (L2Clan clan)
 
boolean checkIfCanRegister (L2PcInstance player)
 
boolean checkIfInZone (int x, int y, int z)
 
boolean checkIfInZone (L2Object object)
 
boolean checkIsAttacker (L2Clan clan)
 
boolean checkIsDefender (L2Clan clan)
 
void clearSiegeClan ()
 
void endSiege ()
 
final L2SiegeClan getAttackerClan (int clanId)
 
final L2SiegeClan getAttackerClan (L2Clan clan)
 
final List< L2SiegeClangetAttackerClans ()
 
List< L2PcInstancegetAttackersInZone ()
 
L2Npc getClosestFlag (L2Object obj)
 
Map< Integer, List< L2Spawn > > getCommanders ()
 
Set< L2NpcgetFlag (L2Clan clan)
 
final Fort getFort ()
 
final boolean getIsInProgress ()
 
List< L2PcInstancegetOwnersInZone ()
 
List< L2PcInstancegetPlayersInZone ()
 
final Calendar getSiegeDate ()
 
final FortSiegeGuardManager getSiegeGuardManager ()
 
final L2SiegeZone getZone ()
 
void killedCommander (L2FortCommanderInstance instance)
 
void killedFlag (L2Npc flag)
 
boolean registerAttacker (L2PcInstance player, boolean force)
 
void removeSiegeClan (int clanId)
 
void removeSiegeClan (L2Clan clan)
 
void removeSiegeClan (L2PcInstance player)
 
void resetSiege ()
 
void startAutoTask (boolean setTime)
 
void startSiege ()
 
void teleportPlayer (TeleportWhoType teleportWho, TeleportWhereType teleportWhere)
 
void updatePlayerSiegeStateFlags (boolean clear)
 

Public Attributes

ScheduledFuture<?> _siegeRestore = null
 

Protected Attributes

Map< Integer, List< L2Spawn > > _commanders = new HashMap<>()
 
List< L2Spawn_commandersSpawns
 

Static Protected Attributes

static final Logger _log = Logger.getLogger(FortSiege.class.getName())
 

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