GodotMethod

Undocumented in source.

Members

Functions

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.:

body_
string body_()

Formats body containing implementation, omitting outer braces

callType
string callType()

call type wrapper, "ptrcall", "callv", "callBuiltinMethod", etc...

finalizeDeserialization
void finalizeDeserialization(Asdf data)
Undocumented in source. Be warned that the author may not have intended to support it.
functionKindName
string functionKindName()

Function type name used in some cases: like "method", "ctor", "getter", etc...

isConstructor
Constructor isConstructor()
Undocumented in source. Be warned that the author may not have intended to support it.
loader
string loader()

formats function pointer loader, e.g. GDExtensionClassBinding.method_append.mb = _godot_api.clasdb_get_methodbind("class", "method", hash);

needsStringHelpers
bool needsStringHelpers()
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.
signature
string signature()

Formats function signature, e.g. Array slice(in long begin, in long end, in long step, in bool deep) const

source
string source()

Formats whole method including function signature and body with implementation. e.g.:

templateArgsString
string templateArgsString()
Undocumented in source. Be warned that the author may not have intended to support it.
wrapperIdentifier
string wrapperIdentifier()

Function pointer name for this method "constructor_new_0", "method_normalize", ...

Variables

arguments
GodotArgument[] arguments;
Undocumented in source.
category
string category;
Undocumented in source.
ddoc
string ddoc;
Undocumented in source.
has_varargs
bool has_varargs;
Undocumented in source.
hash
uint hash;
Undocumented in source.
is_const
bool is_const;
Undocumented in source.
is_editor
bool is_editor;
Undocumented in source.
is_from_script
bool is_from_script;
Undocumented in source.
is_noscript
bool is_noscript;
Undocumented in source.
is_static
bool is_static;
Undocumented in source.
is_virtual
bool is_virtual;
Undocumented in source.
name
string name;
Undocumented in source.
parent
GodotClass parent;
Undocumented in source.
redirectsTo
GodotMethod redirectsTo;
Undocumented in source.
return_type
Type return_type;
Undocumented in source.

Meta