docs: anonymise project asset names in source comments

Measured figures are kept; only the studio-specific level and asset
names are generalised, and the Perforce rationale is reworded to
describe the class of setups rather than this one project.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-09-07 18:39:38 +07:00
parent de2d656d81
commit f6d651113a
19 changed files with 60 additions and 60 deletions
@@ -11,8 +11,8 @@ UAssetUsageAuditSettings::UAssetUsageAuditSettings()
// third-party, so leaving these in makes the first run unreadable for an artist looking for
// their own content.
//
// Deliberately NOT excluded, despite being a bought pack: Content/MenuSystemPro. It supplies
// BP_MenuSystemGameInstance, which DefaultEngine.ini names as the project's GameInstance.
// Deliberately NOT excluded, despite being a bought pack: Content/a purchased UI pack. It supplies
// BP_MenuGameInstance, which DefaultEngine.ini names as the project's GameInstance.
// Excluding it would hide a load-bearing asset from every report.
ExcludedPackagePaths = {
TEXT("Content/3rdParty"),
@@ -374,7 +374,7 @@ void SAssetUsageAuditPanel::Construct(const FArguments& InArgs)
}
// Name the level when there is one, count them when there are several:
// a button reading "WP_Main" is worth more than one reading "1 level".
// a button reading "WP_Example" is worth more than one reading "1 level".
if (LevelFilters.Num() == 1)
{
return FText::FromString(FPackageName::GetShortName(*LevelFilters.CreateConstIterator()));
@@ -25,7 +25,7 @@ public:
/**
* Run a full audit and write JSON + CSV reports.
*
* @param LevelPackageNames Levels to analyse, e.g. "/Game/Space/Maps/WP_Main". Empty means all.
* @param LevelPackageNames Levels to analyse, e.g. "/Game/Maps/WP_Example". Empty means all.
* @param OutputDirectory Destination. Empty uses the configured default.
* @param OutReportPath Absolute path of the JSON report on success.
* @return true when both reports were written.
@@ -10,7 +10,7 @@
/**
* Team-shared configuration, written to Config/DefaultEditor.ini.
*
* That file is Perforce-tracked (only Plugins/** is p4-ignored), so the exclusion list and the
* That file is normally under version control, so the exclusion list and the
* type presets are reviewable and shared. Per-user state - last filter, column layout - belongs
* in UAssetUsageAuditUserSettings instead, which stays in Saved/Config.
*/