2017-03-03 00:07:14 +00:00
|
|
|
#ifndef NODEPATH_H
|
|
|
|
#define NODEPATH_H
|
|
|
|
|
2017-03-04 04:36:31 +00:00
|
|
|
#include "String.h"
|
2017-03-03 00:07:14 +00:00
|
|
|
|
|
|
|
#include <godot/godot_node_path.h>
|
|
|
|
|
|
|
|
namespace godot {
|
|
|
|
|
|
|
|
|
|
|
|
class NodePath
|
|
|
|
{
|
|
|
|
godot_node_path _node_path;
|
|
|
|
public:
|
2017-03-06 02:30:46 +00:00
|
|
|
NodePath();
|
|
|
|
|
|
|
|
NodePath(const String &from);
|
|
|
|
|
|
|
|
String get_name(const int idx) const;
|
|
|
|
|
|
|
|
int get_name_count() const;
|
|
|
|
|
|
|
|
String get_property() const;
|
|
|
|
|
|
|
|
String get_subname(const int idx) const;
|
|
|
|
|
|
|
|
int get_subname_count() const;
|
|
|
|
|
|
|
|
bool is_absolute() const;
|
|
|
|
|
|
|
|
bool is_empty() const;
|
|
|
|
|
|
|
|
operator String() const;
|
|
|
|
|
|
|
|
~NodePath();
|
2017-03-03 00:07:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // NODEPATH_H
|