You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Make property_*_revert methods multilevel and expose them for scripting
This commit is contained in:
@@ -409,6 +409,9 @@ public:
|
||||
virtual void get_property_list(List<PropertyInfo> *p_properties) const;
|
||||
virtual Variant::Type get_property_type(const StringName &p_name, bool *r_is_valid = nullptr) const;
|
||||
|
||||
virtual bool property_can_revert(const StringName &p_name) const { return false; };
|
||||
virtual bool property_get_revert(const StringName &p_name, Variant &r_ret) const { return false; };
|
||||
|
||||
virtual void get_method_list(List<MethodInfo> *p_list) const;
|
||||
virtual bool has_method(const StringName &p_method) const;
|
||||
virtual Variant callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error);
|
||||
|
||||
Reference in New Issue
Block a user