You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Fix GD0107 not applying to arrays and dictionaries containing nodes
(cherry picked from commit 8aa444d212)
This commit is contained in:
committed by
Rémi Verschelde
parent
6e78eec37f
commit
63ff665fd0
@@ -1,12 +1,37 @@
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
|
||||
public partial class ExportDiagnostics_GD0107_OK : Node
|
||||
{
|
||||
[Export]
|
||||
public Node NodeField;
|
||||
|
||||
[Export]
|
||||
public Node[] SystemArrayOfNodesField;
|
||||
|
||||
[Export]
|
||||
public Array<Node> GodotArrayOfNodesField;
|
||||
|
||||
[Export]
|
||||
public Dictionary<Node, string> GodotDictionaryWithNodeAsKeyField;
|
||||
|
||||
[Export]
|
||||
public Dictionary<string, Node> GodotDictionaryWithNodeAsValueField;
|
||||
|
||||
[Export]
|
||||
public Node NodeProperty { get; set; }
|
||||
|
||||
[Export]
|
||||
public Node[] SystemArrayOfNodesProperty { get; set; }
|
||||
|
||||
[Export]
|
||||
public Array<Node> GodotArrayOfNodesProperty { get; set; }
|
||||
|
||||
[Export]
|
||||
public Dictionary<Node, string> GodotDictionaryWithNodeAsKeyProperty { get; set; }
|
||||
|
||||
[Export]
|
||||
public Dictionary<string, Node> GodotDictionaryWithNodeAsValueProperty { get; set; }
|
||||
}
|
||||
|
||||
public partial class ExportDiagnostics_GD0107_KO : Resource
|
||||
@@ -14,6 +39,30 @@ public partial class ExportDiagnostics_GD0107_KO : Resource
|
||||
[Export]
|
||||
public Node {|GD0107:NodeField|};
|
||||
|
||||
[Export]
|
||||
public Node[] {|GD0107:SystemArrayOfNodesField|};
|
||||
|
||||
[Export]
|
||||
public Array<Node> {|GD0107:GodotArrayOfNodesField|};
|
||||
|
||||
[Export]
|
||||
public Dictionary<Node, string> {|GD0107:GodotDictionaryWithNodeAsKeyField|};
|
||||
|
||||
[Export]
|
||||
public Dictionary<string, Node> {|GD0107:GodotDictionaryWithNodeAsValueField|};
|
||||
|
||||
[Export]
|
||||
public Node {|GD0107:NodeProperty|} { get; set; }
|
||||
|
||||
[Export]
|
||||
public Node[] {|GD0107:SystemArrayOfNodesProperty|} { get; set; }
|
||||
|
||||
[Export]
|
||||
public Array<Node> {|GD0107:GodotArrayOfNodesProperty|} { get; set; }
|
||||
|
||||
[Export]
|
||||
public Dictionary<Node, string> {|GD0107:GodotDictionaryWithNodeAsKeyProperty|} { get; set; }
|
||||
|
||||
[Export]
|
||||
public Dictionary<string, Node> {|GD0107:GodotDictionaryWithNodeAsValueProperty|} { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user