TrinityCore
ChatLogScript Class Reference
+ Inheritance diagram for ChatLogScript:

Public Member Functions

 ChatLogScript ()
 
void OnChat (Player *player, uint32 type, uint32 lang, std::string &msg) override
 
void OnChat (Player *player, uint32, uint32 lang, std::string &msg, Player *receiver) override
 
void OnChat (Player *player, uint32 type, uint32 lang, std::string &msg, Group *group) override
 
void OnChat (Player *player, uint32 type, uint32 lang, std::string &msg, Guild *guild) override
 
void OnChat (Player *player, uint32, uint32 lang, std::string &msg, Channel *channel) override
 
- Public Member Functions inherited from PlayerScript
 ~PlayerScript ()
 
virtual void OnPVPKill (Player *killer, Player *killed)
 
virtual void OnCreatureKill (Player *killer, Creature *killed)
 
virtual void OnPlayerKilledByCreature (Creature *killer, Player *killed)
 
virtual void OnLevelChanged (Player *player, uint8 oldLevel)
 
virtual void OnFreeTalentPointsChanged (Player *player, uint32 points)
 
virtual void OnTalentsReset (Player *player, bool noCost)
 
virtual void OnMoneyChanged (Player *player, int64 &amount)
 
virtual void OnMoneyLimit (Player *player, int64 amount)
 
virtual void OnGiveXP (Player *player, uint32 &amount, Unit *victim)
 
virtual void OnReputationChange (Player *player, uint32 factionId, int32 &standing, bool incremental)
 
virtual void OnDuelRequest (Player *target, Player *challenger)
 
virtual void OnDuelStart (Player *player1, Player *player2)
 
virtual void OnDuelEnd (Player *winner, Player *loser, DuelCompleteType type)
 
virtual void OnChat (Player *player, uint32 type, uint32 lang, std::string &msg)
 
virtual void OnChat (Player *player, uint32 type, uint32 lang, std::string &msg, Player *receiver)
 
virtual void OnChat (Player *player, uint32 type, uint32 lang, std::string &msg, Group *group)
 
virtual void OnChat (Player *player, uint32 type, uint32 lang, std::string &msg, Guild *guild)
 
virtual void OnChat (Player *player, uint32 type, uint32 lang, std::string &msg, Channel *channel)
 
virtual void OnClearEmote (Player *player)
 
virtual void OnTextEmote (Player *player, uint32 textEmote, uint32 emoteNum, ObjectGuid guid)
 
virtual void OnSpellCast (Player *player, Spell *spell, bool skipCheck)
 
virtual void OnLogin (Player *player, bool firstLogin)
 
virtual void OnLogout (Player *player)
 
virtual void OnCreate (Player *player)
 
virtual void OnDelete (ObjectGuid guid, uint32 accountId)
 
virtual void OnFailedDelete (ObjectGuid guid, uint32 accountId)
 
virtual void OnSave (Player *player)
 
virtual void OnBindToInstance (Player *player, Difficulty difficulty, uint32 mapId, bool permanent, uint8 extendState)
 
virtual void OnUpdateZone (Player *player, uint32 newZone, uint32 newArea)
 
virtual void OnMapChanged (Player *player)
 
virtual void OnQuestStatusChange (Player *player, uint32 questId)
 
virtual void OnPlayerRepop (Player *player)
 
virtual void OnMovieComplete (Player *player, uint32 movieId)
 
virtual void OnPlayerChoiceResponse (Player *player, uint32 choiceId, uint32 responseId)
 
- Public Member Functions inherited from ScriptObject
 ScriptObject (ScriptObject const &right)=delete
 
 ScriptObject (ScriptObject &&right)=delete
 
ScriptObjectoperator= (ScriptObject const &right)=delete
 
ScriptObjectoperator= (ScriptObject &&right)=delete
 
std::string const & GetName () const
 

Additional Inherited Members

- Protected Member Functions inherited from PlayerScript
 PlayerScript (char const *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (char const *name)
 
virtual ~ScriptObject ()
 

Detailed Description

Definition at line 31 of file chat_log.cpp.

Constructor & Destructor Documentation

◆ ChatLogScript()

ChatLogScript::ChatLogScript ( )
inline

Definition at line 34 of file chat_log.cpp.

Member Function Documentation

◆ OnChat() [1/5]

void ChatLogScript::OnChat ( Player player,
uint32  type,
uint32  lang,
std::string &  msg 
)
inlineoverridevirtual

Reimplemented from PlayerScript.

Definition at line 36 of file chat_log.cpp.

+ Here is the call graph for this function:

◆ OnChat() [2/5]

void ChatLogScript::OnChat ( Player player,
uint32  type,
uint32  lang,
std::string &  msg,
Group group 
)
inlineoverridevirtual

NOTE: LANG_ADDON can only be sent by client in "PARTY", "RAID", "GUILD", "BATTLEGROUND", "WHISPER"

Reimplemented from PlayerScript.

Definition at line 63 of file chat_log.cpp.

+ Here is the call graph for this function:

◆ OnChat() [3/5]

void ChatLogScript::OnChat ( Player player,
uint32  type,
uint32  lang,
std::string &  msg,
Guild guild 
)
inlineoverridevirtual

Reimplemented from PlayerScript.

Definition at line 106 of file chat_log.cpp.

+ Here is the call graph for this function:

◆ OnChat() [4/5]

void ChatLogScript::OnChat ( Player player,
uint32  ,
uint32  lang,
std::string &  msg,
Channel channel 
)
inlineoverridevirtual

Reimplemented from PlayerScript.

Definition at line 122 of file chat_log.cpp.

+ Here is the call graph for this function:

◆ OnChat() [5/5]

void ChatLogScript::OnChat ( Player player,
uint32  ,
uint32  lang,
std::string &  msg,
Player receiver 
)
inlineoverridevirtual

Reimplemented from PlayerScript.

Definition at line 57 of file chat_log.cpp.

+ Here is the call graph for this function:

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