ClassDB

Inherits: Object

A class information repository.

Description

Provides access to metadata stored for every available class.

Methods

bool

can_instantiate ( StringName class ) const

bool

class_exists ( StringName class ) const

PackedStringArray

class_get_enum_constants ( StringName class, StringName enum, bool no_inheritance=false ) const

PackedStringArray

class_get_enum_list ( StringName class, bool no_inheritance=false ) const

int

class_get_integer_constant ( StringName class, StringName name ) const

StringName

class_get_integer_constant_enum ( StringName class, StringName name, bool no_inheritance=false ) const

PackedStringArray

class_get_integer_constant_list ( StringName class, bool no_inheritance=false ) const

Dictionary[]

class_get_method_list ( StringName class, bool no_inheritance=false ) const

Variant

class_get_property ( Object object, StringName property ) const

Dictionary[]

class_get_property_list ( StringName class, bool no_inheritance=false ) const

Dictionary

class_get_signal ( StringName class, StringName signal ) const

Dictionary[]

class_get_signal_list ( StringName class, bool no_inheritance=false ) const

bool

class_has_enum ( StringName class, StringName name, bool no_inheritance=false ) const

bool

class_has_integer_constant ( StringName class, StringName name ) const

bool

class_has_method ( StringName class, StringName method, bool no_inheritance=false ) const

bool

class_has_signal ( StringName class, StringName signal ) const

Error

class_set_property ( Object object, StringName property, Variant value ) const

PackedStringArray

get_class_list ( ) const

PackedStringArray

get_inheriters_from_class ( StringName class ) const

StringName

get_parent_class ( StringName class ) const

Variant

instantiate ( StringName class ) const

bool

is_class_enabled ( StringName class ) const

bool