mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add GDSOFTCLASS to deeper inheritors of Object
This commit is contained in:
@@ -143,6 +143,8 @@ public:
|
||||
};
|
||||
|
||||
class ResourceFormatLoaderText : public ResourceFormatLoader {
|
||||
GDSOFTCLASS(ResourceFormatLoaderText, ResourceFormatLoader);
|
||||
|
||||
public:
|
||||
static ResourceFormatLoaderText *singleton;
|
||||
virtual Ref<Resource> load(const String &p_path, const String &p_original_path = "", Error *r_error = nullptr, bool p_use_sub_threads = false, float *r_progress = nullptr, CacheMode p_cache_mode = CACHE_MODE_REUSE) override;
|
||||
@@ -203,6 +205,8 @@ public:
|
||||
};
|
||||
|
||||
class ResourceFormatSaverText : public ResourceFormatSaver {
|
||||
GDSOFTCLASS(ResourceFormatSaverText, ResourceFormatSaver);
|
||||
|
||||
public:
|
||||
static ResourceFormatSaverText *singleton;
|
||||
virtual Error save(const Ref<Resource> &p_resource, const String &p_path, uint32_t p_flags = 0) override;
|
||||
|
||||
Reference in New Issue
Block a user