Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetPath() [2/2]

override void System.Text.Json.Nodes.JsonArray.GetPath ( List< string > path,
JsonNode child )
inlinepackage

Definition at line 162 of file JsonArray.cs.

163 {
164 if (child != null)
165 {
166 int value = List.IndexOf(child);
167 path.Add($"[{value}]");
168 }
169 base.Parent?.GetPath(path, this);
170 }
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.Collections.Generic.List< T >.IndexOf(), and System.value.