fix: 统一变量名称

pull/6/head
yawn831831 1 year ago
parent cb11c0d0bb
commit 80856ae90e
  1. 6
      SourceCodeGenerator.cs

@ -62,7 +62,7 @@ namespace SourceCodeGeneratorUbtPlugin
private const string HeaderSuffix = ".header.inl"; private const string HeaderSuffix = ".header.inl";
private readonly HashSet<string> ClassNameBlacklist = new(); private readonly HashSet<string> ClassBlacklist = new();
public SourceCodeGenerator(IUhtExportFactory factory) public SourceCodeGenerator(IUhtExportFactory factory)
{ {
@ -128,7 +128,7 @@ namespace SourceCodeGeneratorUbtPlugin
{ {
if (!string.IsNullOrEmpty(className)) if (!string.IsNullOrEmpty(className))
{ {
ClassNameBlacklist.Add(className); ClassBlacklist.Add(className);
} }
} }
} }
@ -192,7 +192,7 @@ namespace SourceCodeGeneratorUbtPlugin
/// <returns>True if the class should be exported, false if not</returns> /// <returns>True if the class should be exported, false if not</returns>
protected virtual bool CanExportClass(UhtClass classObj) protected virtual bool CanExportClass(UhtClass classObj)
{ {
if (ClassNameBlacklist.Contains(classObj.SourceName)) if (ClassBlacklist.Contains(classObj.SourceName))
{ {
return false; return false;
} }

Loading…
Cancel
Save