QuestMap/Quest Map/QuestData.cs

25 lines
827 B
C#
Raw Normal View History

2021-07-21 06:11:01 +00:00
using System.Diagnostics.CodeAnalysis;
using Lumina;
using Lumina.Data;
using Lumina.Excel;
using Lumina.Text;
namespace QuestMap {
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Global")]
[SuppressMessage("ReSharper", "MemberCanBePrivate.Global")]
[SuppressMessage("ReSharper", "ClassNeverInstantiated.Global")]
internal class QuestData : ExcelRow {
#pragma warning disable 8618
public string Id { get; set; }
public SeString Text { get; set; }
#pragma warning restore 8618
public override void PopulateData(RowParser parser, GameData gameData, Language language) {
base.PopulateData(parser, gameData, language);
2021-08-23 17:20:39 +00:00
this.Id = parser.ReadColumn<string>(0)!;
this.Text = parser.ReadColumn<SeString>(1)!;
2021-07-21 06:11:01 +00:00
}
}
}