summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-01-29 21:34:59 +0100
committerRémi Verschelde <rverschelde@gmail.com>2024-01-29 21:34:59 +0100
commit9ab5cedef6de32826b9184e960b3880df3888a5a (patch)
tree56392d3be9a67f454d51d4d859a5844a0930c8ef /modules/gdscript/gdscript.h
parent37e5a71f5da86c090850d8e30cdcc890dd903d61 (diff)
parent745f8e112fcf5d61e0fc377bdbc2539dd6b16ef9 (diff)
downloadredot-engine-9ab5cedef6de32826b9184e960b3880df3888a5a.tar.gz
Merge pull request #87712 from akien-mga/revert-gdscript-uid-annotations-for-now
Revert "Add UID support to GDScript files" (for now)
Diffstat (limited to 'modules/gdscript/gdscript.h')
-rw-r--r--modules/gdscript/gdscript.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/gdscript/gdscript.h b/modules/gdscript/gdscript.h
index fdfd79f0fc..2da9b89eb9 100644
--- a/modules/gdscript/gdscript.h
+++ b/modules/gdscript/gdscript.h
@@ -262,10 +262,6 @@ public:
bool is_tool() const override { return tool; }
Ref<GDScript> get_base() const;
- static String get_raw_source_code(const String &p_path, bool *r_error = nullptr);
- static Vector2i get_uid_lines(const String &p_source);
- static String create_uid_line(const String &p_uid_str);
-
const HashMap<StringName, MemberInfo> &debug_get_member_indices() const { return member_indices; }
const HashMap<StringName, GDScriptFunction *> &debug_get_member_functions() const; //this is debug only
StringName debug_get_member_by_index(int p_idx) const;
@@ -620,7 +616,6 @@ public:
virtual void get_recognized_extensions(List<String> *p_extensions) const;
virtual bool handles_type(const String &p_type) const;
virtual String get_resource_type(const String &p_path) const;
- virtual ResourceUID::ID get_resource_uid(const String &p_path) const;
virtual void get_dependencies(const String &p_path, List<String> *p_dependencies, bool p_add_types = false);
};
@@ -629,7 +624,6 @@ public:
virtual Error save(const Ref<Resource> &p_resource, const String &p_path, uint32_t p_flags = 0);
virtual void get_recognized_extensions(const Ref<Resource> &p_resource, List<String> *p_extensions) const;
virtual bool recognize(const Ref<Resource> &p_resource) const;
- virtual Error set_uid(const String &p_path, ResourceUID::ID p_uid);
};
#endif // GDSCRIPT_H