MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / GDScriptNativeClass

Class GDScriptNativeClass

modules/gdscript/gdscript.h:51–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49#include "core/templates/rb_set.h"
50
51class GDScriptNativeClass : public RefCounted {
52 GDCLASS(GDScriptNativeClass, RefCounted);
53
54 StringName name;
55
56protected:
57 bool _get(const StringName &p_name, Variant &r_ret) const;
58 static void _bind_methods();
59
60public:
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
68class GDScript : public Script {
69 GDCLASS(GDScript, Script);

Callers 2

initMethod · 0.85
_extension_loadedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected