inkHashMap
(Uint64 -> ref<IScriptable>
) and inkWeakHashMap
(Uint64 -> wref<IScriptable>
). All custom classes extend IScriptable
therefore they can be used as values in those hash maps.as
operator returns null when a dynamic cast fails. You can use it combined with IsDefined
to perform safe downcasts.Variant
: