| 49 | #include "core/templates/rb_set.h" |
| 50 | |
| 51 | class GDScriptNativeClass : public RefCounted { |
| 52 | GDCLASS(GDScriptNativeClass, RefCounted); |
| 53 | |
| 54 | StringName name; |
| 55 | |
| 56 | protected: |
| 57 | bool _get(const StringName &p_name, Variant &r_ret) const; |
| 58 | static void _bind_methods(); |
| 59 | |
| 60 | public: |
| 61 | _FORCE_INLINE_ const StringName &get_name() const { return name; } |
| 62 | Variant _new(); |
| 63 | Object *instantiate(); |
| 64 | virtual Variant callp(const StringName &p_method, const Variant **p_args, int p_argcount, Callable::CallError &r_error) override; |
| 65 | GDScriptNativeClass(const StringName &p_name); |
| 66 | }; |
| 67 | |
| 68 | class GDScript : public Script { |
| 69 | GDCLASS(GDScript, Script); |
no outgoing calls
no test coverage detected