IDictionaryHandler

An interface that provides various utilities for modifying and querying dictionary values represented by a PropertyValueEntry.

It is also responsible for translating and ordering dictionary keys into persistent indices.

namespace Sirenix.OdinInspector.Editor
{
public interface IDictionaryHandler
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 1.0.6.1

Properties

Return Type Definition Description
bool SupportsPrefabModifications Whether the dictionary represented by this handler supports prefab modifications.

Methods

Return Type Definition Description
bool ApplyChanges() Apply all queued changes, and apply prefab modifications if applicable. This method only does something during Repaint.
void ForceUpdate() Force the dictionary handler to update its internal dictionary index mappings.
Object GetKey(int, int) Gets the key value at the given selection and dictionary index.
Object GetKey(Object, int) Gets the key value at the given index from the given dictionary.
void Remove(Object) Queues a remove modification for a given key. Modifications are applied in Repaint.
void SetValue(Object, Object) Queues a set value modification for a given key. Modifications are applied in Repaint.