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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue