The dictionary object maps string values to values or objects of other types.
Register with RegisterScriptDictionary(asIScriptEngine*).
Script example:
dictionary dict; obj object; obj @handle;
dict.set("one", 1);
dict.set("object", object);
dict.set("handle", @handle);
if( dict.exists("one") )
{
bool found = dict.get("handle", @handle);
if( found )
{
dict.delete("object");
}
}
dict.deleteAll();
1.5.6