You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Add GDSOFTCLASS to deeper inheritors of Object
This commit is contained in:
@@ -589,6 +589,8 @@ public:
|
||||
};
|
||||
|
||||
class ResourceFormatLoaderCSharpScript : public ResourceFormatLoader {
|
||||
GDSOFTCLASS(ResourceFormatLoaderCSharpScript, ResourceFormatLoader);
|
||||
|
||||
public:
|
||||
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;
|
||||
void get_recognized_extensions(List<String> *p_extensions) const override;
|
||||
@@ -597,6 +599,8 @@ public:
|
||||
};
|
||||
|
||||
class ResourceFormatSaverCSharpScript : public ResourceFormatSaver {
|
||||
GDSOFTCLASS(ResourceFormatSaverCSharpScript, ResourceFormatSaver);
|
||||
|
||||
public:
|
||||
Error save(const Ref<Resource> &p_resource, const String &p_path, uint32_t p_flags = 0) override;
|
||||
void get_recognized_extensions(const Ref<Resource> &p_resource, List<String> *p_extensions) const override;
|
||||
|
||||
Reference in New Issue
Block a user