TnxItems class

The items a named source adds, in the order a list shows them unless it sorts them.

Public functions

void Add(EntityHandle entity)
An entity: the item is the entity, read as a context of its type (=Item.CUpgrade.Cost).
template<typename T>
void Add(const T& record)
A record: a view model (TNX_VIEW_MODEL), known by its first field, whose values are read like any view model's: a changed value repaints with no rebuild.