mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
Let's code
This commit is contained in:
49
GodoBinding/include/core/NodePath.hpp
Normal file
49
GodoBinding/include/core/NodePath.hpp
Normal file
@@ -0,0 +1,49 @@
|
||||
#ifndef NODEPATH_H
|
||||
#define NODEPATH_H
|
||||
|
||||
#include "String.hpp"
|
||||
|
||||
#include <gdnative/node_path.h>
|
||||
|
||||
namespace godot {
|
||||
|
||||
class NodePath {
|
||||
godot_node_path _node_path;
|
||||
|
||||
public:
|
||||
NodePath();
|
||||
|
||||
NodePath(const NodePath &other);
|
||||
|
||||
NodePath(const String &from);
|
||||
|
||||
NodePath(const char *contents);
|
||||
|
||||
String get_name(const int idx) const;
|
||||
|
||||
int get_name_count() const;
|
||||
|
||||
String get_subname(const int idx) const;
|
||||
|
||||
int get_subname_count() const;
|
||||
|
||||
bool is_absolute() const;
|
||||
|
||||
bool is_empty() const;
|
||||
|
||||
NodePath get_as_property_path() const;
|
||||
|
||||
String get_concatenated_subnames() const;
|
||||
|
||||
operator String() const;
|
||||
|
||||
void operator=(const NodePath &other);
|
||||
|
||||
bool operator==(const NodePath &other);
|
||||
|
||||
~NodePath();
|
||||
};
|
||||
|
||||
} // namespace godot
|
||||
|
||||
#endif // NODEPATH_H
|
||||
Reference in New Issue
Block a user