1
0

refactor: update for new API changes

This commit is contained in:
Anna 2021-08-29 13:04:22 -04:00
parent 5c6424699e
commit 52d70583a9
2 changed files with 1 additions and 5 deletions

View File

@ -3,7 +3,6 @@ using Dalamud.Data;
using Dalamud.Game.ClientState;
using Dalamud.Game.Command;
using Dalamud.Game.Gui;
using Dalamud.Game.Text.SeStringHandling;
using Dalamud.IoC;
using Dalamud.Plugin;
using XivCommon;
@ -28,9 +27,6 @@ namespace QuestMap {
[PluginService]
internal GameGui GameGui { get; init; } = null!;
[PluginService]
internal SeStringManager SeStringManager { get; init; } = null!;
internal XivCommonBase Common { get; }
internal Configuration Config { get; }
internal Quests Quests { get; }

View File

@ -895,7 +895,7 @@ namespace QuestMap {
private static readonly byte[] NewLinePayload = { 0x02, 0x10, 0x01, 0x03 };
private SeString Convert(Lumina.Text.SeString lumina) {
var se = this.Plugin.SeStringManager.Parse(lumina.RawData.ToArray());
var se = (SeString) lumina;
for (var i = 0; i < se.Payloads.Count; i++) {
switch (se.Payloads[i].Type) {
case PayloadType.Unknown: