diff options
| author | Marc <marc.gilleron@gmail.com> | 2021-01-31 19:32:56 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-31 19:32:56 +0000 |
| commit | 1aab5e3962e311caebae04f44fff9c4e1cd7d9c0 (patch) | |
| tree | c55e3435691883c62bed6375c6b236a9715c85c7 /src/core/RID.cpp | |
| parent | 2559c70e274f9239cd29c434ab262c46f6dc8552 (diff) | |
| parent | 35f78dea5196d4d676946a84c10206a5cb1a1fa0 (diff) | |
| download | redot-cpp-1aab5e3962e311caebae04f44fff9c4e1cd7d9c0.tar.gz | |
Merge branch 'master' into master
Diffstat (limited to 'src/core/RID.cpp')
| -rw-r--r-- | src/core/RID.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/RID.cpp b/src/core/RID.cpp index 7ca1e7a..5854806 100644 --- a/src/core/RID.cpp +++ b/src/core/RID.cpp @@ -14,7 +14,11 @@ RID::RID(Object *p) { godot::api->godot_rid_new_with_resource(&_godot_rid, (const godot_object *)p); } -int32_t RID::get_rid() const { +godot_rid RID::_get_godot_rid() const { + return _godot_rid; +} + +int32_t RID::get_id() const { return godot::api->godot_rid_get_id(&_godot_rid); } |
