mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Complete support of callables of static methods
This commit is contained in:
@@ -75,6 +75,10 @@ CallableCustom::CompareLessFunc CallableCustomBind::get_compare_less_func() cons
|
||||
return _less_func;
|
||||
}
|
||||
|
||||
bool CallableCustomBind::is_valid() const {
|
||||
return callable.is_valid();
|
||||
}
|
||||
|
||||
StringName CallableCustomBind::get_method() const {
|
||||
return callable.get_method();
|
||||
}
|
||||
@@ -193,6 +197,10 @@ CallableCustom::CompareLessFunc CallableCustomUnbind::get_compare_less_func() co
|
||||
return _less_func;
|
||||
}
|
||||
|
||||
bool CallableCustomUnbind::is_valid() const {
|
||||
return callable.is_valid();
|
||||
}
|
||||
|
||||
StringName CallableCustomUnbind::get_method() const {
|
||||
return callable.get_method();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user