Test with generated hooks
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Nerfed.Runtime.Hook
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method, Inherited = false)]
|
||||
public class HookAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace Nerfed.Runtime.Hook
|
||||
{
|
||||
public static class HookTest
|
||||
{
|
||||
[Hook]
|
||||
public static void Test()
|
||||
{
|
||||
Log.Info("Hook!");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user