Plugins: Implement ReentrantAttribute

This commit is contained in:
Katy Coe
2020-12-26 23:32:21 +01:00
parent 14e80c3022
commit 863aa5ed7d
4 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Il2CppInspector.PluginAPI
{
/// <summary>
/// Setting this attribute on an interface method will allow the method to be called again
/// while it is already running, ie. it enables recursion. Disabled by default.
/// </summary>
[AttributeUsage(AttributeTargets.Method)]
public class ReentrantAttribute : Attribute { }
}