You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #82186 from dalexeev/gds-fix-property-duplication
GDScript: Fix duplication of inherited script properties
This commit is contained in:
@@ -94,12 +94,16 @@ class GDScript : public Script {
|
||||
GDScript *_base = nullptr; //fast pointer access
|
||||
GDScript *_owner = nullptr; //for subclasses
|
||||
|
||||
HashSet<StringName> members; //members are just indices to the instantiated script.
|
||||
HashMap<StringName, Variant> constants;
|
||||
// Members are just indices to the instantiated script.
|
||||
HashMap<StringName, MemberInfo> member_indices; // Includes member info of all base GDScript classes.
|
||||
HashSet<StringName> members; // Only members of the current class.
|
||||
|
||||
// Only static variables of the current class.
|
||||
HashMap<StringName, MemberInfo> static_variables_indices;
|
||||
Vector<Variant> static_variables;
|
||||
Vector<Variant> static_variables; // Static variable values.
|
||||
|
||||
HashMap<StringName, Variant> constants;
|
||||
HashMap<StringName, GDScriptFunction *> member_functions;
|
||||
HashMap<StringName, MemberInfo> member_indices; //members are just indices to the instantiated script.
|
||||
HashMap<StringName, Ref<GDScript>> subclasses;
|
||||
HashMap<StringName, MethodInfo> _signals;
|
||||
Dictionary rpc_config;
|
||||
|
||||
Reference in New Issue
Block a user