Support for CTFPlayer::GetLoadoutItem and CTFPlayerInventory::GetItemInLoadout
CTFPlayerInventory::GetItemInLoadout gets the player's equipped item in the specified class's specified loadout slot. CTFPlayer::GetLoadoutItem calls CTFPlayerInventory::GetItemInLoadout but also checks to see if the item is banned in the competitive whitelist, in which case, the base/stock item is returned. I think natives to use those 2 functions would be useful.
I can't think of a really compelling use case for them since you'd still need to do something with the CEconItemView* you get, but regardless it's very much outside the scope of Econ Data.
It might be a little more fitting in TF2 Utils, so I'll transfer this issue there. If you're looking for gamedata to use yourself, CTFPlayer::GetLoadoutItem() is used in Custom Weapons X.
One functionality that could fit in Econ Data would be the competitive allowlist; that is actually set as an item definition property.
I wouldn't be against adding first-class support for that there aside from the potential maintenance burden, though TF2Econ_GetItemDefinitionAddress() is provided so users can access whatever properties they'd like without having to go through me.
Okay, I understand, thanks for the quick answer!