refactor: update for new API changes
This commit is contained in:
parent
5c6424699e
commit
52d70583a9
@ -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; }
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user