In the economy editor, there is a dropdown like this.
However, in the C# SDK, I am having difficulty finding a corresponding flag (or null object or whatever).
I've currently settled on this utra-hacky-feeling algorithm:
static bool IsConsumable(CatalogItem FromServer) { return FromServer.Consumable?.UsageCount != null || FromServer.Consumable?.UsagePeriod != null || FromServer.Consumable?.UsagePeriodGroup != null ; }
As they say on the late-night infomercials: "There must be a better way!"
What is it?