ClassDBSingleton

Class information repository.

Provides access to metadata stored for every available class.

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

canInstance
bool canInstance(StringArg0 _class)

Returns true if you can instance objects from the specified 'class', false in other case.

classExists
bool classExists(StringArg0 _class)

Returns whether the specified 'class' is available or not.

classGetCategory
String classGetCategory(StringArg0 _class)

Returns a category associated with the class for use in documentation and the Asset Library. Debug mode required.

classGetIntegerConstant
long classGetIntegerConstant(StringArg0 _class, StringArg1 name)

Returns the value of the integer constant 'name' of 'class' or its ancestry. Always returns 0 when the constant could not be found.

classGetIntegerConstantList
PoolStringArray classGetIntegerConstantList(StringArg0 _class, bool no_inheritance)

Returns an array with the names all the integer constants of 'class' or its ancestry.

classGetMethodList
Array classGetMethodList(StringArg0 _class, bool no_inheritance)

Returns an array with all the methods of 'class' or its ancestry if 'no_inheritance' is false. Every element of the array is a Dictionary with the following keys: args, default_args, flags, id, name, return: (class_name, hint, hint_string, name, type, usage).

classGetProperty
Variant classGetProperty(GodotObject object, StringArg1 property)

Returns the value of 'property' of 'class' or its ancestry.

classGetPropertyList
Array classGetPropertyList(StringArg0 _class, bool no_inheritance)

Returns an array with all the properties of 'class' or its ancestry if 'no_inheritance' is false.

classGetSignal
Dictionary classGetSignal(StringArg0 _class, StringArg1 signal)

Returns the 'signal' data of 'class' or its ancestry. The returned value is a Dictionary with the following keys: args, default_args, flags, id, name, return: (class_name, hint, hint_string, name, type, usage).

classGetSignalList
Array classGetSignalList(StringArg0 _class, bool no_inheritance)

Returns an array with all the signals of 'class' or its ancestry if 'no_inheritance' is false. Every element of the array is a Dictionary as described in classGetSignal.

classHasIntegerConstant
bool classHasIntegerConstant(StringArg0 _class, StringArg1 name)

Return whether 'class' or its ancestry has an integer constant called 'name' or not.

classHasMethod
bool classHasMethod(StringArg0 _class, StringArg1 method, bool no_inheritance)

Return whether 'class' (or its ancestry if 'no_inheritance' is false) has a method called 'method' or not.

classHasSignal
bool classHasSignal(StringArg0 _class, StringArg1 signal)

Return whether 'class' or its ancestry has a signal called 'signal' or not.

classSetProperty
GodotError classSetProperty(GodotObject object, StringArg1 property, VariantArg2 value)

Sets 'property' value of 'class' to 'value'.

getClassList
PoolStringArray getClassList()

Returns the names of all the classes available.

getInheritersFromClass
PoolStringArray getInheritersFromClass(StringArg0 _class)

Returns the names of all the classes that directly or indirectly inherit from 'class'.

getParentClass
String getParentClass(StringArg0 _class)

Returns the parent class of 'class'.

instance
Variant instance(StringArg0 _class)

Creates an instance of 'class'.

isClassEnabled
bool isClassEnabled(StringArg0 _class)

Returns whether this class is enabled or not.

isParentClass
bool isParentClass(StringArg0 _class, StringArg1 inherits)

Returns whether 'inherits' is an ancestor of 'class' or not.

opAssign
ClassDBSingleton opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(ClassDBSingleton other)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
ClassDBSingleton _new()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

_classBinding
struct _classBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
To as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
ToRef as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta