NodePath.hpp 519 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #ifndef NODEPATH_H
  2. #define NODEPATH_H
  3. #include "String.hpp"
  4. #include <godot/godot_node_path.h>
  5. namespace godot {
  6. class NodePath
  7. {
  8. godot_node_path _node_path;
  9. public:
  10. NodePath();
  11. NodePath(const String &from);
  12. String get_name(const int idx) const;
  13. int get_name_count() const;
  14. String get_property() const;
  15. String get_subname(const int idx) const;
  16. int get_subname_count() const;
  17. bool is_absolute() const;
  18. bool is_empty() const;
  19. operator String() const;
  20. ~NodePath();
  21. };
  22. }
  23. #endif // NODEPATH_H