26 lines
232 B
C++
26 lines
232 B
C++
|
#ifndef RID_H
|
||
|
#define RID_H
|
||
|
|
||
|
#include <godot/godot_rid.h>
|
||
|
|
||
|
namespace godot {
|
||
|
|
||
|
class Object;
|
||
|
|
||
|
class RID {
|
||
|
godot_rid _godot_rid;
|
||
|
public:
|
||
|
|
||
|
inline RID() {}
|
||
|
|
||
|
RID(Object *p);
|
||
|
|
||
|
int32_t get_rid() const;
|
||
|
|
||
|
~RID();
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif // RID_H
|