Merge a490ce25f6
into 36847f6af0
commit
e3a0603f8b
|
@ -99,6 +99,10 @@ public:
|
||||||
return string_name;
|
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 {
|
uint64_t get_instance_id() const {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -212,6 +216,10 @@ public:
|
||||||
return string_name; \
|
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() { \
|
static ::godot::StringName &get_parent_class_static() { \
|
||||||
return m_inherits::get_class_static(); \
|
return m_inherits::get_class_static(); \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue