Merge pull request #447 from Zylann/rename_rid_get_id
Rename `RID::get_rid()` => `get_id()` to match Godotpull/451/head
commit
3f72f5a842
|
@ -15,7 +15,7 @@ public:
|
||||||
|
|
||||||
RID(Object *p);
|
RID(Object *p);
|
||||||
|
|
||||||
int32_t get_rid() const;
|
int32_t get_id() const;
|
||||||
|
|
||||||
inline bool is_valid() const {
|
inline bool is_valid() const {
|
||||||
// is_valid() is not available in the C API...
|
// is_valid() is not available in the C API...
|
||||||
|
|
|
@ -14,7 +14,7 @@ RID::RID(Object *p) {
|
||||||
godot::api->godot_rid_new_with_resource(&_godot_rid, (const godot_object *)p);
|
godot::api->godot_rid_new_with_resource(&_godot_rid, (const godot_object *)p);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t RID::get_rid() const {
|
int32_t RID::get_id() const {
|
||||||
return godot::api->godot_rid_get_id(&_godot_rid);
|
return godot::api->godot_rid_get_id(&_godot_rid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue