Attention

You are reading the latest (unstable) version of this documentation, which may document features not available or compatible with Godot 3.x.

Work in progress

Godot documentation is being updated to reflect the latest changes in version 4.0. Some documentation pages may still state outdated information. This banner will tell you if you're reading one of such pages.

The contents of this page are up to date. If you can still find outdated information, please open an issue.

ScriptExtension

Inherits: Script < Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

Methods

bool

_can_instantiate ( ) virtual const

bool

_editor_can_reload_from_file ( ) virtual

Script

_get_base_script ( ) virtual const

Dictionary

_get_constants ( ) virtual const

Dictionary[]

_get_documentation ( ) virtual const

StringName

_get_global_name ( ) virtual const

StringName

_get_instance_base_type ( ) virtual const

ScriptLanguage

_get_language ( ) virtual const

int

_get_member_line ( StringName member ) virtual const

StringName[]

_get_members ( ) virtual const

Dictionary

_get_method_info ( StringName method ) virtual const

Variant

_get_property_default_value ( StringName property ) virtual const

Variant

_get_rpc_config ( ) virtual const

Dictionary[]

_get_script_method_list ( ) virtual const

Dictionary[]

_get_script_property_list ( ) virtual const

Dictionary[]

_get_script_signal_list ( ) virtual const

String

_get_source_code ( ) virtual const

bool

_has_method ( StringName method ) virtual const

bool

_has_property_default_value ( StringName property ) virtual const

bool

_has_script_signal ( StringName signal ) virtual const

bool

_has_source_code ( ) virtual const

bool

_inherits_script ( Script script ) virtual const

void*

_instance_create ( Object for_object ) virtual const

bool

_instance_has ( Object object ) virtual const

bool

_is_placeholder_fallback_enabled ( ) virtual const

bool

_is_tool ( ) virtual const

bool

_is_valid ( ) virtual const

void

_placeholder_erased ( void* placeholder ) virtual

void*

_placeholder_instance_create ( Object for_object ) virtual const

Error

_reload ( bool keep_state ) virtual

void

_set_source_code ( String code ) virtual

void

_update_exports ( ) virtual


Method Descriptions

bool _can_instantiate ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _editor_can_reload_from_file ( ) virtual

There is currently no description for this method. Please help us by contributing one!


Script _get_base_script ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


Dictionary _get_constants ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


Dictionary[] _get_documentation ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


StringName _get_global_name ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


StringName _get_instance_base_type ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


ScriptLanguage _get_language ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


int _get_member_line ( StringName member ) virtual const

There is currently no description for this method. Please help us by contributing one!


StringName[] _get_members ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


Dictionary _get_method_info ( StringName method ) virtual const

There is currently no description for this method. Please help us by contributing one!


Variant _get_property_default_value ( StringName property ) virtual const

There is currently no description for this method. Please help us by contributing one!


Variant _get_rpc_config ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


Dictionary[] _get_script_method_list ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


Dictionary[] _get_script_property_list ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


Dictionary[] _get_script_signal_list ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


String _get_source_code ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _has_method ( StringName method ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _has_property_default_value ( StringName property ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _has_script_signal ( StringName signal ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _has_source_code ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _inherits_script ( Script script ) virtual const

There is currently no description for this method. Please help us by contributing one!


void* _instance_create ( Object for_object ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _instance_has ( Object object ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _is_placeholder_fallback_enabled ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _is_tool ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


bool _is_valid ( ) virtual const

There is currently no description for this method. Please help us by contributing one!


void _placeholder_erased ( void* placeholder ) virtual

There is currently no description for this method. Please help us by contributing one!


void* _placeholder_instance_create ( Object for_object ) virtual const

There is currently no description for this method. Please help us by contributing one!


Error _reload ( bool keep_state ) virtual

There is currently no description for this method. Please help us by contributing one!


void _set_source_code ( String code ) virtual

There is currently no description for this method. Please help us by contributing one!


void _update_exports ( ) virtual

There is currently no description for this method. Please help us by contributing one!