L2JPREMIUM  5M
com.premium.game.model.AutoChatHandler.AutoChatInstance Class Reference
Collaboration diagram for com.premium.game.model.AutoChatHandler.AutoChatInstance:

Public Member Functions

int addChatDefinition (L2Npc npcInst)
 
int addChatDefinition (L2Npc npcInst, String[] chatTexts, long chatDelay)
 
long getDefaultDelay ()
 
String[] getDefaultTexts ()
 
int getDefinitionCount ()
 
int getNPCId ()
 
L2Npc[] getNPCInstanceList ()
 
boolean isActive ()
 
boolean isDefaultRandom ()
 
boolean isGlobal ()
 
boolean isRandomChat (int objectId)
 
boolean removeChatDefinition (int objectId)
 
void setActive (boolean activeValue)
 
void setChatDelay (int objectId, long delayValue)
 
void setChatTexts (int objectId, String[] textsValue)
 
void setDefaultChatDelay (long delayValue)
 
void setDefaultChatTexts (String[] textsValue)
 
void setDefaultRandom (boolean randValue)
 
void setRandomChat (int objectId, boolean randValue)
 

Protected Member Functions

 AutoChatInstance (int npcId, String[] chatTexts, long chatDelay, boolean isGlobal)
 
AutoChatDefinition getChatDefinition (int objectId)
 
AutoChatDefinition[] getChatDefinitions ()
 

Protected Attributes

int _npcId
 
ScheduledFuture<?> _chatTask
 

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