- name
string name;
Undocumented in source.
- return_type
Type return_type;
Undocumented in source.
- is_editor
bool is_editor;
Undocumented in source.
- is_noscript
bool is_noscript;
Undocumented in source.
- is_const
bool is_const;
Undocumented in source.
- is_virtual
bool is_virtual;
Undocumented in source.
- is_static
bool is_static;
Undocumented in source.
- category
string category;
Undocumented in source.
- has_varargs
bool has_varargs;
Undocumented in source.
- is_from_script
bool is_from_script;
Undocumented in source.
- hash
uint hash;
Undocumented in source.
- arguments
GodotArgument[] arguments;
Undocumented in source.
- finalizeDeserialization
void finalizeDeserialization(Asdf data)
Undocumented in source. Be warned that the author may not have intended to support it.
- parent
GodotClass parent;
Undocumented in source.
- redirectsTo
GodotMethod redirectsTo;
Undocumented in source.
- ddoc
string ddoc;
Undocumented in source.
- isConstructor
Constructor isConstructor()
Undocumented in source. Be warned that the author may not have intended to support it.
- same
bool same(GodotMethod other)
Undocumented in source. Be warned that the author may not have intended to support it.
- needsStringHelpers
bool needsStringHelpers()
Undocumented in source. Be warned that the author may not have intended to support it.
- templateArgsString
string templateArgsString()
Undocumented in source. Be warned that the author may not have intended to support it.
- argsString
string argsString()
Undocumented in source. Be warned that the author may not have intended to support it.
- binding
string binding()
Outputs binding method declaration with meta information.
e.g.:
- wrapperIdentifier
string wrapperIdentifier()
Function pointer name for this method
"constructor_new_0", "method_normalize", ...
- functionKindName
string functionKindName()
Function type name used in some cases: like "method", "ctor", "getter", etc...
- source
string source()
Formats whole method including function signature and body with implementation.
e.g.:
- signature
string signature()
Formats function signature, e.g.
Array slice(in long begin, in long end, in long step, in bool deep) const
- body_
string body_()
Formats body containing implementation, omitting outer braces
- callType
string callType()
call type wrapper, "ptrcall", "callv", "callBuiltinMethod", etc...
- loader
string loader()
formats function pointer loader, e.g.
GDExtensionClassBinding.method_append.mb = _godot_api.clasdb_get_methodbind("class", "method", hash);