You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
[FYI] Joe.Kirchoff Original CL Desc ----------------------------------------------------------------- UnrealBuildTool: More automated code cleanup #rnx [CL 25695155 by joe kirchoff in ue5-main branch]
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
using System;
|
|
|
|
namespace UnrealBuildTool
|
|
{
|
|
/// <summary>
|
|
/// Marks a field as being serializable from a config file
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)]
|
|
class XmlConfigFileAttribute : Attribute
|
|
{
|
|
/// <summary>
|
|
/// The category for this config value. Optional; defaults to the declaring type name.
|
|
/// </summary>
|
|
public string? Category = null;
|
|
|
|
/// <summary>
|
|
/// Name of the key to read. Optional; defaults to the field name.
|
|
/// </summary>
|
|
public string? Name = null;
|
|
|
|
/// <summary>
|
|
/// Use this field to indicate that the XML attribute has been deprecated, and that a warning should
|
|
/// be shown to the user if it is used.
|
|
/// A deprecated field should also be marked with the [Obsolete] attribute.
|
|
/// </summary>
|
|
public bool Deprecated = false;
|
|
|
|
/// <summary>
|
|
/// If the attribute has been deprecated because it has been renamed, this field can be used to apply the
|
|
/// value used for this field to another.
|
|
/// </summary>
|
|
public string? NewAttributeName = null;
|
|
}
|
|
}
|