Implement CSharpScript::is_valid()
This commit is contained in:
parent
989b93d6a4
commit
5fd3ef4e78
|
@ -2594,10 +2594,6 @@ void CSharpScript::update_exports() {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CSharpScript::is_valid() const {
|
|
||||||
return true; //TODO return false if invalid
|
|
||||||
}
|
|
||||||
|
|
||||||
bool CSharpScript::has_script_signal(const StringName &p_signal) const {
|
bool CSharpScript::has_script_signal(const StringName &p_signal) const {
|
||||||
if (_signals.has(p_signal))
|
if (_signals.has(p_signal))
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -169,7 +169,7 @@ public:
|
||||||
virtual void update_exports();
|
virtual void update_exports();
|
||||||
|
|
||||||
virtual bool is_tool() const { return tool; }
|
virtual bool is_tool() const { return tool; }
|
||||||
virtual bool is_valid() const;
|
virtual bool is_valid() const { return valid; }
|
||||||
|
|
||||||
virtual Ref<Script> get_base_script() const;
|
virtual Ref<Script> get_base_script() const;
|
||||||
virtual ScriptLanguage *get_language() const;
|
virtual ScriptLanguage *get_language() const;
|
||||||
|
|
Loading…
Reference in New Issue