From 0d74a6cbe10a6091fd4ec215ef6dc4beace272df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4?= <1123993881@qq.com> Date: Tue, 2 May 2023 12:25:55 +0800 Subject: [PATCH] fix: changed high-end error message. --- RotationSolver/Updaters/SocialUpdater.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/RotationSolver/Updaters/SocialUpdater.cs b/RotationSolver/Updaters/SocialUpdater.cs index 20e04e524..fd8400808 100644 --- a/RotationSolver/Updaters/SocialUpdater.cs +++ b/RotationSolver/Updaters/SocialUpdater.cs @@ -102,8 +102,16 @@ static void DutyState_DutyStarted(object sender, ushort e) Service.ChatGui.PrintChat(new Dalamud.Game.Text.XivChatEntry() { - Message = message, - Type = Dalamud.Game.Text.XivChatType.ErrorMessage, + Message = new SeString( + new IconPayload(BitmapFontIcon.DPS), + RotationSolverPlugin.LinkPayload, + new UIForegroundPayload(31), + new TextPayload("Rotation Solver"), + UIForegroundPayload.UIForegroundOff, + RawPayload.LinkTerminator, + + new TextPayload(": " + message)), + Type = Dalamud.Game.Text.XivChatType.ErrorMessage, }); Task.Run(async() =>