Better chat injection handling

This commit is contained in:
goat 2019-11-11 23:55:32 +09:00
parent e75841deb9
commit ba5fa1f4d0
11 changed files with 207 additions and 72 deletions

View file

@ -1,6 +1,8 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
@ -67,7 +69,7 @@ namespace Dalamud.Game {
ref bool isHandled) {
if (type == XivChatType.Notice && !this.hasSeenLoadingMsg) {
this.dalamud.Framework.Gui.Chat.Print("XIVLauncher in-game addon loaded.");
this.dalamud.Framework.Gui.Chat.Print($"XIVLauncher in-game addon v{Assembly.GetAssembly(typeof(ChatHandlers)).GetName().Version} loaded.");
this.hasSeenLoadingMsg = true;
}