Compare commits
4 Commits
20344c8b03
...
e3a0603f8b
Author | SHA1 | Date |
---|---|---|
Serhii Snitsaruk | e3a0603f8b | |
David Snopek | 36847f6af0 | |
MJacred | 8a535d0ecc | |
Serhii Snitsaruk | a490ce25f6 |
|
@ -58,7 +58,7 @@ first-party `godot-cpp` extension.
|
|||
Some compatibility breakage is to be expected as GDExtension and `godot-cpp`
|
||||
get more used, documented, and critical issues get resolved. See the
|
||||
[Godot issue tracker](https://github.com/godotengine/godot/issues?q=is%3Aissue+is%3Aopen+label%3Atopic%3Agdextension)
|
||||
and the [godot-cpp issue tracker](https://github.com/godotengine/godot/issues)
|
||||
and the [godot-cpp issue tracker](https://github.com/godotengine/godot-cpp/issues)
|
||||
for a list of known issues, and be sure to provide feedback on issues and PRs
|
||||
which affect your use of this extension.
|
||||
|
||||
|
|
|
@ -99,6 +99,10 @@ public:
|
|||
return string_name;
|
||||
}
|
||||
|
||||
virtual bool is_class_static(const StringName &p_string_name) const {
|
||||
return p_string_name == get_class_static();
|
||||
}
|
||||
|
||||
uint64_t get_instance_id() const {
|
||||
return 0;
|
||||
}
|
||||
|
@ -212,6 +216,10 @@ public:
|
|||
return string_name; \
|
||||
} \
|
||||
\
|
||||
virtual bool is_class_static(const StringName &p_string_name) const override { \
|
||||
return get_class_static() == p_string_name; \
|
||||
} \
|
||||
\
|
||||
static ::godot::StringName &get_parent_class_static() { \
|
||||
return m_inherits::get_class_static(); \
|
||||
} \
|
||||
|
|
Loading…
Reference in New Issue