mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Merge commit godotengine/godot@5abed52fd9
This commit is contained in:
@@ -236,6 +236,19 @@ public:
|
||||
|
||||
GDScriptDataType() = default;
|
||||
|
||||
bool operator==(const GDScriptDataType &p_other) const {
|
||||
return kind == p_other.kind &&
|
||||
has_type == p_other.has_type &&
|
||||
builtin_type == p_other.builtin_type &&
|
||||
native_type == p_other.native_type &&
|
||||
(script_type == p_other.script_type || script_type_ref == p_other.script_type_ref) &&
|
||||
container_element_types == p_other.container_element_types;
|
||||
}
|
||||
|
||||
bool operator!=(const GDScriptDataType &p_other) const {
|
||||
return !(*this == p_other);
|
||||
}
|
||||
|
||||
void operator=(const GDScriptDataType &p_other) {
|
||||
kind = p_other.kind;
|
||||
has_type = p_other.has_type;
|
||||
|
||||
Reference in New Issue
Block a user