mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 09:32:34 +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
|
// This binds all methods marked with this attribute
|
||||||
internal void BindMethods(Type type)
|
public void BindMethods(Type type)
|
||||||
{
|
{
|
||||||
// Bind static methods
|
// Bind static methods
|
||||||
BindMethods(null, type);
|
BindMethods(null, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
// This binds all methods marked with this attribute
|
// This binds all methods marked with this attribute
|
||||||
internal void BindMethods(object obj)
|
public void BindMethods(object obj)
|
||||||
{
|
{
|
||||||
// Bind instance methods
|
// Bind instance methods
|
||||||
BindMethods(obj, obj.GetType());
|
BindMethods(obj, obj.GetType());
|
||||||
|
@ -307,14 +307,14 @@ namespace CodeImp.DoomBuilder.Actions
|
||||||
}
|
}
|
||||||
|
|
||||||
// This unbinds all methods marked with this attribute
|
// This unbinds all methods marked with this attribute
|
||||||
internal void UnbindMethods(Type type)
|
public void UnbindMethods(Type type)
|
||||||
{
|
{
|
||||||
// Unbind static methods
|
// Unbind static methods
|
||||||
UnbindMethods(null, type);
|
UnbindMethods(null, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
// This unbinds all methods marked with this attribute
|
// This unbinds all methods marked with this attribute
|
||||||
internal void UnbindMethods(object obj)
|
public void UnbindMethods(object obj)
|
||||||
{
|
{
|
||||||
// Unbind instance methods
|
// Unbind instance methods
|
||||||
UnbindMethods(obj, obj.GetType());
|
UnbindMethods(obj, obj.GetType());
|
||||||
|
|
Loading…
Reference in a new issue