diff options
| author | Rémi Verschelde | 2017-04-24 11:28:36 +0200 |
|---|---|---|
| committer | GitHub | 2017-04-24 11:28:36 +0200 |
| commit | 68870af2142ebe4fba181256b2cb4f79c7d33548 (patch) | |
| tree | f0dccb7141a9f2018e5328f57993fc3096325397 /core/script_language.h | |
| parent | 8032dd18dd41b2e07e2fd055d6ea9900859fc892 (diff) | |
| parent | a3afec588ce4f5643dcbae6d0e1ab14b898f6263 (diff) | |
| download | godot-68870af2142ebe4fba181256b2cb4f79c7d33548.tar.gz godot-68870af2142ebe4fba181256b2cb4f79c7d33548.tar.zst godot-68870af2142ebe4fba181256b2cb4f79c7d33548.zip | |
Diffstat (limited to 'core/script_language.h')
| -rw-r--r-- | core/script_language.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/script_language.h b/core/script_language.h index 1ec02f584..115ab59dc 100644 --- a/core/script_language.h +++ b/core/script_language.h @@ -199,6 +199,7 @@ public: virtual bool validate(const String &p_script, int &r_line_error, int &r_col_error, String &r_test_error, const String &p_path = "", List<String> *r_functions = NULL) const = 0; virtual Script *create_script() const = 0; virtual bool has_named_classes() const = 0; + virtual bool can_inherit_from_file() { return false; } virtual int find_function(const String &p_function, const String &p_code) const = 0; virtual String make_function(const String &p_class, const String &p_name, const PoolStringArray &p_args) const = 0; virtual Error open_in_external_editor(const Ref<Script> &p_script, int p_line, int p_col) { return ERR_UNAVAILABLE; } |
