mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
lib + include + Godot dossier
This commit is contained in:
96
GodoBinding/include/gen/VisualScriptPropertySet.hpp
Normal file
96
GodoBinding/include/gen/VisualScriptPropertySet.hpp
Normal file
@@ -0,0 +1,96 @@
|
||||
#ifndef GODOT_CPP_VISUALSCRIPTPROPERTYSET_HPP
|
||||
#define GODOT_CPP_VISUALSCRIPTPROPERTYSET_HPP
|
||||
|
||||
|
||||
#include <gdnative_api_struct.gen.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <core/CoreTypes.hpp>
|
||||
#include <core/Ref.hpp>
|
||||
#include "VisualScriptPropertySet.hpp"
|
||||
#include "Variant.hpp"
|
||||
|
||||
#include "VisualScriptNode.hpp"
|
||||
namespace godot {
|
||||
|
||||
|
||||
class VisualScriptPropertySet : public VisualScriptNode {
|
||||
struct ___method_bindings {
|
||||
godot_method_bind *mb__get_type_cache;
|
||||
godot_method_bind *mb__set_type_cache;
|
||||
godot_method_bind *mb_get_assign_op;
|
||||
godot_method_bind *mb_get_base_path;
|
||||
godot_method_bind *mb_get_base_script;
|
||||
godot_method_bind *mb_get_base_type;
|
||||
godot_method_bind *mb_get_basic_type;
|
||||
godot_method_bind *mb_get_call_mode;
|
||||
godot_method_bind *mb_get_index;
|
||||
godot_method_bind *mb_get_property;
|
||||
godot_method_bind *mb_set_assign_op;
|
||||
godot_method_bind *mb_set_base_path;
|
||||
godot_method_bind *mb_set_base_script;
|
||||
godot_method_bind *mb_set_base_type;
|
||||
godot_method_bind *mb_set_basic_type;
|
||||
godot_method_bind *mb_set_call_mode;
|
||||
godot_method_bind *mb_set_index;
|
||||
godot_method_bind *mb_set_property;
|
||||
};
|
||||
static ___method_bindings ___mb;
|
||||
|
||||
public:
|
||||
static void ___init_method_bindings();
|
||||
|
||||
static inline const char *___get_class_name() { return (const char *) "VisualScriptPropertySet"; }
|
||||
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
|
||||
enum AssignOp {
|
||||
ASSIGN_OP_NONE = 0,
|
||||
ASSIGN_OP_ADD = 1,
|
||||
ASSIGN_OP_SUB = 2,
|
||||
ASSIGN_OP_MUL = 3,
|
||||
ASSIGN_OP_DIV = 4,
|
||||
ASSIGN_OP_MOD = 5,
|
||||
ASSIGN_OP_SHIFT_LEFT = 6,
|
||||
ASSIGN_OP_SHIFT_RIGHT = 7,
|
||||
ASSIGN_OP_BIT_AND = 8,
|
||||
ASSIGN_OP_BIT_OR = 9,
|
||||
ASSIGN_OP_BIT_XOR = 10,
|
||||
};
|
||||
enum CallMode {
|
||||
CALL_MODE_SELF = 0,
|
||||
CALL_MODE_NODE_PATH = 1,
|
||||
CALL_MODE_INSTANCE = 2,
|
||||
CALL_MODE_BASIC_TYPE = 3,
|
||||
};
|
||||
|
||||
// constants
|
||||
|
||||
|
||||
static VisualScriptPropertySet *_new();
|
||||
|
||||
// methods
|
||||
Dictionary _get_type_cache() const;
|
||||
void _set_type_cache(const Dictionary type_cache);
|
||||
VisualScriptPropertySet::AssignOp get_assign_op() const;
|
||||
NodePath get_base_path() const;
|
||||
String get_base_script() const;
|
||||
String get_base_type() const;
|
||||
Variant::Type get_basic_type() const;
|
||||
VisualScriptPropertySet::CallMode get_call_mode() const;
|
||||
String get_index() const;
|
||||
String get_property() const;
|
||||
void set_assign_op(const int64_t assign_op);
|
||||
void set_base_path(const NodePath base_path);
|
||||
void set_base_script(const String base_script);
|
||||
void set_base_type(const String base_type);
|
||||
void set_basic_type(const int64_t basic_type);
|
||||
void set_call_mode(const int64_t mode);
|
||||
void set_index(const String index);
|
||||
void set_property(const String property);
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user