mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
adding ///// comments for name NormalizeChars, RussianToLatin, SearchPattern
This commit is contained in:
@@ -15,6 +15,9 @@ namespace SabreTools.Helper
|
|||||||
public static string CRCZero = "00000000";
|
public static string CRCZero = "00000000";
|
||||||
public static string MD5Zero = "d41d8cd98f00b204e9800998ecf8427e";
|
public static string MD5Zero = "d41d8cd98f00b204e9800998ecf8427e";
|
||||||
public static string SHA1Zero = "da39a3ee5e6b4b0d3255bfef95601890afd80709";
|
public static string SHA1Zero = "da39a3ee5e6b4b0d3255bfef95601890afd80709";
|
||||||
|
/////public static string NormalizeChars;
|
||||||
|
/////public static string RussianToLatin;
|
||||||
|
/////public static string SearchPattern;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get what type of DAT the input file is
|
/// Get what type of DAT the input file is
|
||||||
@@ -515,6 +518,12 @@ namespace SabreTools.Helper
|
|||||||
logger.Warning("Incomplete entry for \"" + subreader.GetAttribute("name") + "\" will be output as nodump");
|
logger.Warning("Incomplete entry for \"" + subreader.GetAttribute("name") + "\" will be output as nodump");
|
||||||
nodump = true;
|
nodump = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
///Run the name through the filters to make sure that it's correct
|
||||||
|
/////tempname = Style.NormalizeChars(tempname);
|
||||||
|
/////tempname = Style.RussianToLatin(tempname);
|
||||||
|
/////tempname = Style.SearchPattern(tempname);
|
||||||
|
|
||||||
///WoD gets rid of anything past the first "(" or "[" as the name, we will do the same
|
///WoD gets rid of anything past the first "(" or "[" as the name, we will do the same
|
||||||
////tempname = new Regex(@"(([[(].*[\)\]] )?([^([]+))").Match(tempname).Groups[1].Value;
|
////tempname = new Regex(@"(([[(].*[\)\]] )?([^([]+))").Match(tempname).Groups[1].Value;
|
||||||
////tempname = tempname.TrimStart().TrimEnd();
|
////tempname = tempname.TrimStart().TrimEnd();
|
||||||
|
|||||||
Reference in New Issue
Block a user