mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 12:22:35 +00:00
Made the BindMethods and UnbindMethods functions in the ActionManager public so they can be used in plugins
This commit is contained in:
parent
0c5b437f64
commit
ef67891c15
1 changed files with 4 additions and 4 deletions
|
@ -206,14 +206,14 @@ namespace CodeImp.DoomBuilder.Actions
|
|||
}
|
||||
|
||||
// This binds all methods marked with this attribute
|
||||
internal void BindMethods(Type type)
|
||||
public void BindMethods(Type type)
|
||||
{
|
||||
// Bind static methods
|
||||
BindMethods(null, type);
|
||||
}
|
||||
|
||||
// This binds all methods marked with this attribute
|
||||
internal void BindMethods(object obj)
|
||||
public void BindMethods(object obj)
|
||||
{
|
||||
// Bind instance methods
|
||||
BindMethods(obj, obj.GetType());
|
||||
|
@ -307,14 +307,14 @@ namespace CodeImp.DoomBuilder.Actions
|
|||
}
|
||||
|
||||
// This unbinds all methods marked with this attribute
|
||||
internal void UnbindMethods(Type type)
|
||||
public void UnbindMethods(Type type)
|
||||
{
|
||||
// Unbind static methods
|
||||
UnbindMethods(null, type);
|
||||
}
|
||||
|
||||
// This unbinds all methods marked with this attribute
|
||||
internal void UnbindMethods(object obj)
|
||||
public void UnbindMethods(object obj)
|
||||
{
|
||||
// Unbind instance methods
|
||||
UnbindMethods(obj, obj.GetType());
|
||||
|
|
Loading…
Reference in a new issue