mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -67,7 +67,7 @@ protected:
|
|||
static void _bind_methods();
|
||||
static EditorInterface *singleton;
|
||||
|
||||
Array _make_mesh_previews(const Array &p_meshes, int p_preview_size);
|
||||
TypedArray<Texture2D> _make_mesh_previews(const Array &p_meshes, int p_preview_size);
|
||||
|
||||
public:
|
||||
static EditorInterface *get_singleton() { return singleton; }
|
||||
|
|
@ -87,7 +87,7 @@ public:
|
|||
String get_playing_scene() const;
|
||||
|
||||
Node *get_edited_scene_root();
|
||||
Array get_open_scenes() const;
|
||||
PackedStringArray get_open_scenes() const;
|
||||
ScriptEditor *get_script_editor();
|
||||
|
||||
EditorCommandPalette *get_command_palette() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue