forked from ModTheGungeon/ETGMod
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/ModTheGungeon/ETGMod
- Loading branch information
Showing
6 changed files
with
17 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
using System; | ||
|
||
namespace MonoMod { | ||
[MonoModIgnore] | ||
/// <summary> | ||
/// MonoMod constructor attribute. | ||
/// Apply it onto a constructor and it will be patched by MonoMod. | ||
/// Or apply it onto a method and it will be handled like a constructor. | ||
/// </summary> | ||
public class MonoModConstructor : Attribute { | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
using System; | ||
|
||
namespace MonoMod { | ||
[MonoModIgnore] | ||
/// <summary> | ||
/// MonoMod linkto attribute. | ||
/// Apply it onto a method / field and calls to it by mods will be relinked to another target. | ||
/// Apply it onto a type / method / field and calls to it by mods will be relinked to another target. | ||
/// </summary> | ||
class MonoModLinkTo : Attribute { | ||
public MonoModLinkTo(Delegate d) { | ||
public MonoModLinkTo(string t) { | ||
} | ||
public MonoModLinkTo(Type t, string n) { | ||
public MonoModLinkTo(Type t) { | ||
} | ||
public MonoModLinkTo(string t, string n) { | ||
} | ||
public MonoModLinkTo(Type t, string n) { | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
using System; | ||
|
||
namespace MonoMod { | ||
[MonoModIgnore] | ||
/// <summary> | ||
/// MonoMod original name. | ||
/// Will be applied by MonoMod automatically on original methods. Use it (or MonoModIgnore) to mark non-"orig_" originals! | ||
/// </summary> | ||
class MonoModOriginal : Attribute { | ||
public class MonoModOriginal : Attribute { | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters