mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 00:51:16 +00:00
Replace Array return types with TypedArray
This commit is contained in:
parent
b9ea0e1338
commit
8be27dc59e
110 changed files with 298 additions and 272 deletions
|
|
@ -59,11 +59,11 @@ protected:
|
|||
static void _bind_methods();
|
||||
|
||||
GDVIRTUAL0RC(String, _get_name)
|
||||
GDVIRTUAL0RC(Array, _get_supported_languages)
|
||||
GDVIRTUAL0RC(PackedStringArray, _get_supported_languages)
|
||||
|
||||
public:
|
||||
virtual String _get_name() const;
|
||||
virtual Array _get_supported_languages() const;
|
||||
virtual PackedStringArray _get_supported_languages() const;
|
||||
|
||||
void _set_edited_resource(const Ref<Resource> &p_res) { edited_resourse = p_res; }
|
||||
Ref<RefCounted> _get_edited_resource() { return edited_resourse; }
|
||||
|
|
@ -156,7 +156,7 @@ public:
|
|||
virtual void ensure_focus() = 0;
|
||||
virtual void tag_saved_version() = 0;
|
||||
virtual void reload(bool p_soft) {}
|
||||
virtual Array get_breakpoints() = 0;
|
||||
virtual PackedInt32Array get_breakpoints() = 0;
|
||||
virtual void set_breakpoint(int p_line, bool p_enabled) = 0;
|
||||
virtual void clear_breakpoints() = 0;
|
||||
virtual void add_callback(const String &p_function, PackedStringArray p_args) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue