mirror of
https://github.com/AssetRipper/Cpp2IL.git
synced 2026-11-13 04:26:33 -10:00
20 lines
671 B
C#
20 lines
671 B
C#
using Cpp2IL.Core.Api;
|
|
using Cpp2IL.Core.Attributes;
|
|
using Cpp2IL.Plugin.BuildReport;
|
|
|
|
[assembly: RegisterCpp2IlPlugin(typeof(BuildReportPlugin))]
|
|
|
|
namespace Cpp2IL.Plugin.BuildReport;
|
|
|
|
public class BuildReportPlugin : Cpp2IlPlugin
|
|
{
|
|
public override string Name => "Build Report Plugin";
|
|
public override string Description => "Adds an output format which generates information useful to the developer about what is taking up space in the build process";
|
|
|
|
public override void OnLoad()
|
|
{
|
|
OutputFormatRegistry.Register<BuildReportOutputFormat>();
|
|
Logger.VerboseNewline("Build Report Plugin loaded and output format registered.");
|
|
}
|
|
}
|