You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KVObject["string"] returns a KVValue, but if it has children i can't access that
debuggers shows 'children', but i can only call ToXXX() on it
it gives me the this[string] accessor, but i can't enumerate the children if I dont know the keys
calling tostring on it would indicate its KVCollectionValue due to [Collection], but if I try to foreach() it says KVValue has no GetEnumerator
Example code for Steam's config.vdf:
usingvarfs=newFileStream(filename,FileMode.Open,FileAccess.Read,FileShare.ReadWrite);vardata=KVSerializer.Create(KVSerializationFormat.KeyValues1Text).Deserialize(fs);vardepots=data["Software"]["Valve"]["Steam"]["depots"];foreach(vardepotindepots)// KVValue has no GetEnumerator(){}
The text was updated successfully, but these errors were encountered:
Example code for Steam's config.vdf:
The text was updated successfully, but these errors were encountered: