Adds missing type information to virtual method binds
This commit is contained in:
parent
46fdf16399
commit
1e74f27f8f
3 changed files with 3 additions and 3 deletions
|
@ -1738,7 +1738,7 @@ void Object::_bind_methods() {
|
|||
ADD_SIGNAL(MethodInfo("script_changed"));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("_notification", PropertyInfo(Variant::INT, "what")));
|
||||
BIND_VMETHOD(MethodInfo("_set", PropertyInfo(Variant::STRING, "property"), PropertyInfo(Variant::NIL, "value")));
|
||||
BIND_VMETHOD(MethodInfo("_set:bool", PropertyInfo(Variant::STRING, "property"), PropertyInfo(Variant::NIL, "value")));
|
||||
#ifdef TOOLS_ENABLED
|
||||
MethodInfo miget("_get", PropertyInfo(Variant::STRING, "property"));
|
||||
miget.return_val.name = "Variant";
|
||||
|
|
|
@ -2844,7 +2844,7 @@ VisualScriptNodeInstance *VisualScriptSubCall::instance(VisualScriptInstance *p_
|
|||
|
||||
void VisualScriptSubCall::_bind_methods() {
|
||||
|
||||
BIND_VMETHOD(MethodInfo(Variant::NIL, "_subcall", PropertyInfo(Variant::NIL, "arguments:Variant")));
|
||||
BIND_VMETHOD(MethodInfo(Variant::NIL, "_subcall:Variant", PropertyInfo(Variant::NIL, "arguments:Variant")));
|
||||
}
|
||||
|
||||
VisualScriptSubCall::VisualScriptSubCall() {
|
||||
|
|
|
@ -2597,7 +2597,7 @@ void Control::_bind_methods() {
|
|||
ADD_SIGNAL(MethodInfo("minimum_size_changed"));
|
||||
ADD_SIGNAL(MethodInfo("modal_closed"));
|
||||
|
||||
BIND_VMETHOD(MethodInfo("has_point", PropertyInfo(Variant::VECTOR2, "point")));
|
||||
BIND_VMETHOD(MethodInfo("has_point:bool", PropertyInfo(Variant::VECTOR2, "point")));
|
||||
}
|
||||
Control::Control() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue