init
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <godot_cpp/classes/resource_format_loader.hpp>
|
||||
|
||||
namespace godot
|
||||
{
|
||||
|
||||
class LeanCLRScriptLoader : public ResourceFormatLoader
|
||||
{
|
||||
GDCLASS(LeanCLRScriptLoader, ResourceFormatLoader)
|
||||
|
||||
public:
|
||||
PackedStringArray _get_recognized_extensions() const override;
|
||||
bool _handles_type(const StringName& p_type) const override;
|
||||
String _get_resource_type(const String& p_path) const override;
|
||||
Variant _load(const String& p_path, const String& p_original_path, bool p_use_sub_threads, int32_t p_cache_mode) const override;
|
||||
|
||||
protected:
|
||||
static void _bind_methods();
|
||||
};
|
||||
|
||||
} // namespace godot
|
||||
Reference in New Issue
Block a user