mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 05:13:40 +01:00
refactor: change chat message API to pass parsed SeString
This commit is contained in:
parent
3c4dad437e
commit
24cb7f014e
7 changed files with 32 additions and 36 deletions
|
|
@ -90,13 +90,13 @@ namespace Dalamud.Game {
|
|||
public ChatHandlers(Dalamud dalamud) {
|
||||
this.dalamud = dalamud;
|
||||
|
||||
dalamud.Framework.Gui.Chat.OnChatMessage += ChatOnOnChatMessage;
|
||||
dalamud.Framework.Gui.Chat.OnChatMessageRaw += OnChatMessage;
|
||||
}
|
||||
|
||||
|
||||
public string LastLink { get; private set; }
|
||||
|
||||
private void ChatOnOnChatMessage(XivChatType type, uint senderId, ref StdString sender,
|
||||
private void OnChatMessage(XivChatType type, uint senderId, ref StdString sender,
|
||||
ref StdString message, ref bool isHandled) {
|
||||
|
||||
if (type == XivChatType.Notice && !this.hasSeenLoadingMsg) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue