AddChatLine
function · ui · primitive
- Address
0x49a870· 1904 bytes, up to0x49afdf- Meaning
- Shows one chat line: rewrites, filters and decorates it, fires its event, bubbles it and logs it
- Confidence
- verified, proof one
- Finding
- ui/chatevents#the-chat-line-function
Finding: The chat line function in ui: chat messages and their events
0x49a870(text, type, sender, language, channel, name2, tag, bubbleGuid, rank, reportGuid) (ret 0x28) shows
one line. A null text sets last error 0x57 and returns. A language of -1 takes the addon arm. Otherwise it
forces the language to 0 for types 8, 10, 13 and 90 and replaces an empty text of type 8 with the global
CHAT_EMOTE_UNKNOWN; rewrites the text by language (chatlanguage); decorates the channel name; applies
the filters (chatfilter); replaces the sender by a PvP rank title; stores the line in the history; fires
the event; tells the keyboard display about a whisper; shows a bubble; and writes the log line.
The derivation is in the doc.
Callers 40
- TransferAbortedHandler client
- CGWorldFrame::OnRender ui
- CGGameUI::OnItemPush ui
- CGGameUI::Update ui
- CGGameUI::DisplayError ui
- ChannelNotifyHandler ui
- PrintChannelMemberList ui
- ChatNameArrivedCallback ui
- ShowPendingChatLines ui
- ClientChatHandler ui
- HandleZoneUnderAttackPacket ui
- HandleDefenseMessagePacket ui
- HandleServerMessagePacket ui
- HandleRaidInstanceMessagePacket ui
- HandleInstanceResetPacket ui
- HandleInstanceResetFailedPacket ui
- ShowChannelModeBitChange ui
- Script::SendChatMessage ui
- Script::ListChannels ui
- HandleRaidReadyCheckPacket ui
- StartReadyCheck ui
- ShowReadyCheckSummary ui
- AutoLootAll ui
- ProcessDuelCountdown ui
- CGDuelInfo::OnDuelWinner ui
- HandleInstanceSaveCreatedPacket ui
- OnWhoList net
- PrintWhoResultLine net
- OnDrunkChanged objectlayer
- HandlePlayerNotice objectlayer
- OnRollerName objectlayer
- ReadGuildInfo objectlayer
- SetAfk objectlayer
- ClearAfk objectlayer
- ReadLootMoneyNotify objectlayer
- CGPlayer_C::OnPlayerFlagsChanged objectlayer
- WriteAllPassedLine objectlayer
- WriteRollWonLine objectlayer
- WriteRollLine objectlayer
- LogFactionStandingChanged objectlayer
Callees 28
- __alloca_probe crt
- CDataStore::PutUInt32 base
- CDataStore::PutGuid base
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- AddChatHistoryLine ui
- FireChatEvent ui
- RewriteInLanguage ui
- FindChannelByName ui
- MaskProfanity ui
- MatchSpam ui
- ClientServices::Send net
- CGPlayer_C::GetIndexedSpellSkill objectlayer
- CGPlayer_C::GetRaceField20 objectlayer
- CGPlayer_C::GetFactionSide objectlayer
- CGUnit_C::ShowChatBubble objectlayer
- SStrChr storm
- SStrCmp storm
- SStrCopy storm
- SStrPack storm
- SStrPrintf storm
- SStrStr storm
- SErrSetLastError storm
- SLogWrite storm
- FrameScript_GetText ui
- FrameScript_SignalEvent2 ui
- LcdShowWhisperNotice ui
- ExpandGrammarEscapes ui
Calls and jumps by a bare address, from tables/calls.tsv.