summaryrefslogtreecommitdiffstats
path: root/core/object.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-27 08:12:34 +0200
committerGitHub <noreply@github.com>2019-06-27 08:12:34 +0200
commit755b589384eedbd3843fe7263cbc655633b8bd7e (patch)
tree0e1170b155bc8a95bd83f979254a1efb8740216a /core/object.cpp
parenteaaff9da3178fa515a0f051fda932c1dd04d53db (diff)
parent867dda112453b0c8e3903831baea570630c397f5 (diff)
downloadredot-engine-755b589384eedbd3843fe7263cbc655633b8bd7e.tar.gz
Merge pull request #30096 from akien-mga/doc-misc-updates
doc: Proofread and complete various nodes
Diffstat (limited to 'core/object.cpp')
-rw-r--r--core/object.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/object.cpp b/core/object.cpp
index 5dbf36940e..ee512ff23c 100644
--- a/core/object.cpp
+++ b/core/object.cpp
@@ -1684,7 +1684,7 @@ void Object::clear_internal_resource_paths() {
void Object::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_class"), &Object::get_class);
- ClassDB::bind_method(D_METHOD("is_class", "type"), &Object::is_class);
+ ClassDB::bind_method(D_METHOD("is_class", "class"), &Object::is_class);
ClassDB::bind_method(D_METHOD("set", "property", "value"), &Object::_set_bind);
ClassDB::bind_method(D_METHOD("get", "property"), &Object::_get_bind);
ClassDB::bind_method(D_METHOD("set_indexed", "property", "value"), &Object::_set_indexed_bind);
@@ -1704,14 +1704,8 @@ void Object::_bind_methods() {
ClassDB::bind_method(D_METHOD("has_meta", "name"), &Object::has_meta);
ClassDB::bind_method(D_METHOD("get_meta_list"), &Object::_get_meta_list_bind);
- //todo reimplement this per language so all 5 arguments can be called
-
- //ClassDB::bind_method(D_METHOD("call","method","arg1","arg2","arg3","arg4"),&Object::_call_bind,DEFVAL(Variant()),DEFVAL(Variant()),DEFVAL(Variant()),DEFVAL(Variant()));
- //ClassDB::bind_method(D_METHOD("call_deferred","method","arg1","arg2","arg3","arg4"),&Object::_call_deferred_bind,DEFVAL(Variant()),DEFVAL(Variant()),DEFVAL(Variant()),DEFVAL(Variant()));
-
ClassDB::bind_method(D_METHOD("add_user_signal", "signal", "arguments"), &Object::_add_user_signal, DEFVAL(Array()));
ClassDB::bind_method(D_METHOD("has_user_signal", "signal"), &Object::_has_user_signal);
- //ClassDB::bind_method(D_METHOD("emit_signal","signal","arguments"),&Object::_emit_signal,DEFVAL(Array()));
{
MethodInfo mi;