#ifndef GODOT_CPP_VISUALSCRIPTCONSTANT_HPP #define GODOT_CPP_VISUALSCRIPTCONSTANT_HPP #include #include #include #include #include "Variant.hpp" #include "VisualScriptNode.hpp" namespace godot { class VisualScriptConstant : public VisualScriptNode { struct ___method_bindings { godot_method_bind *mb_get_constant_type; godot_method_bind *mb_get_constant_value; godot_method_bind *mb_set_constant_type; godot_method_bind *mb_set_constant_value; }; static ___method_bindings ___mb; public: static void ___init_method_bindings(); static inline const char *___get_class_name() { return (const char *) "VisualScriptConstant"; } static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (o) ? (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o) : nullptr; } // enums // constants static VisualScriptConstant *_new(); // methods Variant::Type get_constant_type() const; Variant get_constant_value() const; void set_constant_type(const int64_t type); void set_constant_value(const Variant value); }; } #endif