-
-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathMonoModCustomAttribute.cs
More file actions
25 lines (23 loc) · 937 Bytes
/
Copy pathMonoModCustomAttribute.cs
File metadata and controls
25 lines (23 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
namespace MonoMod {
/// <summary>
/// MonoMod "custom attribute" attribute.
/// Apply it onto a custom attribute type and the supplied handler in your MonoModRules will handle it.
/// Replaces MMIL.Rule.RegisterCustomAttribute in MonoModRules constructor.
/// </summary>
[MonoMod__SafeToCopy__]
public class MonoModCustomAttributeAttribute : Attribute {
public MonoModCustomAttributeAttribute(string h) {
}
}
/// <summary>
/// MonoMod "custom method attribute" attribute.
/// Apply it onto a custom attribute type and the supplied handler in your MonoModRules will handle it.
/// Replaces MMIL.Rule.RegisterCustomMethodAttribute in MonoModRules constructor.
/// </summary>
[MonoMod__SafeToCopy__]
public class MonoModCustomMethodAttributeAttribute : Attribute {
public MonoModCustomMethodAttributeAttribute(string h) {
}
}
}