From ee86714ca9176790e9d6c67bf7543b497c1db90f Mon Sep 17 00:00:00 2001 From: Sean Stoves Date: Wed, 5 Aug 2020 19:33:24 -0400 Subject: [PATCH] Removing ? marks for [Nullable] for Clean Compile --- ChaosBot/Lodestone/Character.cs | 11 ++++++++--- ChaosBot/Lodestone/CharacterDetailed.cs | 4 +++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChaosBot/Lodestone/Character.cs b/ChaosBot/Lodestone/Character.cs index 84b013a..1f47757 100644 --- a/ChaosBot/Lodestone/Character.cs +++ b/ChaosBot/Lodestone/Character.cs @@ -1,3 +1,5 @@ +using Antlr4.Runtime.Misc; + namespace ChaosBot.Lodestone { public class Character @@ -5,10 +7,13 @@ namespace ChaosBot.Lodestone public string Avatar; public int FeastMatches; public long ID; - public string? Lang; + [Nullable] + public string Lang; public string Name; - public string? Rank; - public string? RankIcon; + [Nullable] + public string Rank; + [Nullable] + public string RankIcon; public string Server; } } \ No newline at end of file diff --git a/ChaosBot/Lodestone/CharacterDetailed.cs b/ChaosBot/Lodestone/CharacterDetailed.cs index 406026d..e97019c 100644 --- a/ChaosBot/Lodestone/CharacterDetailed.cs +++ b/ChaosBot/Lodestone/CharacterDetailed.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using Antlr4.Runtime.Misc; namespace ChaosBot.Lodestone { @@ -19,7 +20,8 @@ namespace ChaosBot.Lodestone public CharacterGrandCompany GrandCompany; public int GuardianDeity; public long ID; - public string? Lang; + [Nullable] + public string Lang; public string Name; public string Nameday; public long ParseDate;