Fixed additional typos
Went through the source with VNNCC to correct as many found typos as possible Co-Authored-By: VNC <52937757+VNNCC@users.noreply.github.com>
This commit is contained in:
@@ -22,7 +22,7 @@ namespace Flax.Build.Plugins
|
||||
|
||||
private void OnGenerateCppScriptWrapperFunction(Builder.BuildData buildData, ClassInfo classInfo, FunctionInfo functionInfo, int scriptVTableSize, int scriptVTableIndex, StringBuilder contents)
|
||||
{
|
||||
// Generate C++ wrapper function to invoke Visual Script instead of overriden native function (with support for base method callback)
|
||||
// Generate C++ wrapper function to invoke Visual Script instead of overridden native function (with support for base method callback)
|
||||
|
||||
BindingsGenerator.CppIncludeFiles.Add("Engine/Content/Assets/VisualScript.h");
|
||||
|
||||
|
||||
@@ -225,7 +225,7 @@ namespace Flax.Build
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Setups the target building environment (native C++). Allows to modify compiler and linker options. Options applied here are used by all modules included into this target (can be overriden per module).
|
||||
/// Setups the target building environment (native C++). Allows to modify compiler and linker options. Options applied here are used by all modules included into this target (can be overridden per module).
|
||||
/// </summary>
|
||||
/// <param name="options">The build options.</param>
|
||||
public virtual void SetupTargetEnvironment(BuildOptions options)
|
||||
|
||||
@@ -75,14 +75,14 @@ namespace Flax.Stats
|
||||
/// <summary>
|
||||
/// Gets total amount of memory used by that node and all child nodes
|
||||
/// </summary>
|
||||
public long TotaSizeOnDisk
|
||||
public long TotalSizeOnDisk
|
||||
{
|
||||
get
|
||||
{
|
||||
long result = SizeOnDisk;
|
||||
for (int i = 0; i < Children.Length; i++)
|
||||
{
|
||||
result += Children[i].TotaSizeOnDisk;
|
||||
result += Children[i].TotalSizeOnDisk;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -153,15 +153,15 @@ namespace Flax.Stats
|
||||
/// <summary>
|
||||
/// Gets total amount of lines of code per language
|
||||
/// </summary>
|
||||
/// <param name="languge">Language</param>
|
||||
/// <param name="language">Language</param>
|
||||
/// <returns>Result amount of lines</returns>
|
||||
public long GetTotalLinesOfCode(Languages languge)
|
||||
public long GetTotalLinesOfCode(Languages language)
|
||||
{
|
||||
long result = 0;
|
||||
result += LinesOfCode[(int)languge];
|
||||
result += LinesOfCode[(int)language];
|
||||
for (int i = 0; i < Children.Length; i++)
|
||||
{
|
||||
result += Children[i].GetTotalLinesOfCode(languge);
|
||||
result += Children[i].GetTotalLinesOfCode(language);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
@@ -270,9 +270,9 @@ namespace Flax.Stats
|
||||
|
||||
public void CleanupDirectories()
|
||||
{
|
||||
var chld = Children.ToList();
|
||||
chld.RemoveAll(e => ignoredFolders.Contains(e.ShortName.ToLower()));
|
||||
Children = chld.ToArray();
|
||||
var child = Children.ToList();
|
||||
child.RemoveAll(e => ignoredFolders.Contains(e.ShortName.ToLower()));
|
||||
Children = child.ToArray();
|
||||
|
||||
foreach (var a in Children)
|
||||
{
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace Flax.Stats
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Write string in UTF-8 encoding to the stream and ofset data
|
||||
/// Write string in UTF-8 encoding to the stream and offset data
|
||||
/// </summary>
|
||||
/// <param name="fs">File stream</param>
|
||||
/// <param name="data">Data to write</param>
|
||||
@@ -292,7 +292,7 @@ namespace Flax.Stats
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Write arry of Guids to the stream
|
||||
/// Write array of Guids to the stream
|
||||
/// </summary>
|
||||
/// <param name="fs">File stream</param>
|
||||
/// <param name="val">Value to write</param>
|
||||
|
||||
Reference in New Issue
Block a user