ed05faa96f
* First pass at Fika's PatchManager implementation * add comments --------- Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
29 lines
905 B
C#
29 lines
905 B
C#
namespace SPTarkov.Reflection.Patching;
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class PatchPrefixAttribute : Attribute { }
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class PatchPostfixAttribute : Attribute { }
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class PatchTranspilerAttribute : Attribute { }
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class PatchFinalizerAttribute : Attribute { }
|
|
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class PatchIlManipulatorAttribute : Attribute { }
|
|
|
|
/// <summary>
|
|
/// If added to a patch, it will not be used during auto patching
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public class IgnoreAutoPatchAttribute : Attribute;
|
|
|
|
/// <summary>
|
|
/// If added to a patch, it will only be enabled during debug builds
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public class DebugPatchAttribute : Attribute;
|