Click or drag to resize

ResDict Class

Represents the non-generic base of a dictionary which can quickly look up IResData instances via key or index.
Inheritance Hierarchy

Namespace:  Syroot.NintenTools.Bfres
Assembly:  Syroot.NintenTools.Bfres (in Syroot.NintenTools.Bfres.dll) Version: 1.2.1
Syntax
C#
public abstract class ResDict : IEnumerable<KeyValuePair<string, IResData>>, 
	IEnumerable, IResData

The ResDict type exposes the following members.

Constructors
  NameDescription
Protected methodResDict
Initializes a new instance of the ResDict class.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of instances stored.
Public propertyKeys
Gets all keys under which instances are stored.
Protected propertyNodes
Returns only the publically visible nodes, excluding the root node.
Top
Methods
  NameDescription
Public methodClear
Removes all elements from the dictionary.
Public methodContainsKey
Determines whether an instance is saved under the given key in the dictionary.
Public methodIndexOf
Searches for the specified key and returns the zero-based index of the first occurrence within the entire dictionary.
Protected methodLoadNodeValue
Loads an IResData instance from the given loader.
Public methodRemove
Removes the first occurrence of the instance with the specific key from the dictionary.
Public methodRemoveAt
Removes the instance at the specified index of the dictionary.
Public methodRename
Changes the key of the instance currently saved under the given key to the newKey.
Top
See Also