This commit is contained in:
mikx 2023-05-11 15:43:32 -04:00
parent 183c8d7e03
commit 48b843bc31
4 changed files with 11 additions and 5 deletions

View File

@ -84,16 +84,22 @@ namespace PoE_MxFilterGen.compiler
if (bltype == "Normal" && type == "Strict") { bshow = "Hide"; }
File.AppendAllText(outpath, bshow + Environment.NewLine);
////////// Class //////////
if (bl.Class[0] != null)
if (bl.Class != null)
{
foreach (var c in bl.Class) { iC += string.Format(@" ""{0}""", c); }
File.AppendAllText(outpath, $" Class {iC} {Environment.NewLine}");
if (iC != "")
{
File.AppendAllText(outpath, $" Class {iC} {Environment.NewLine}");
}
}
////////// Base //////////
if (bl.BaseType[0] != null)
if (bl.BaseType != null)
{
foreach (var b in bl.BaseType) { iB += string.Format(@" ""{0}""", b); }
File.AppendAllText(outpath, $" BaseType {iB} {Environment.NewLine}");
if (iB != "")
{
File.AppendAllText(outpath, $" BaseType {iB} {Environment.NewLine}");
}
}
////////// SetTextColor //////////
if (bl.SetTextColor[0] != null)

View File

@ -12,7 +12,7 @@ namespace PoE_MxFilterGen
internal class main
{
private static DateTime dt = DateTime.Now;
public static string version = "11.0.0";
public static string version = "11.0.1";
public static string fDate = string.Format("{0}-{1}-{2}", (object)main.dt.Day, (object)main.dt.Month, (object)main.dt.Year);
public static string api = "";
public static string giturl = "https://mxgit.ovh/mikx";