Added initial data structure for credits giveaway options.

This commit is contained in:
23rd 2024-08-26 20:42:31 +03:00 committed by John Preston
parent d81547f091
commit f445440995

View File

@ -80,4 +80,22 @@ struct CreditsStatusSlice final {
OffsetToken tokenSubscriptions;
};
struct CreditsGiveawayOption final {
struct Winner final {
int users = 0;
uint64 perUserStars = 0;
bool isDefault = false;
};
std::vector<Winner> winners;
QString storeProduct;
QString currency;
uint64 amount = 0;
uint64 credits = 0;
int yearlyBoosts = 0;
bool isExtended = false;
bool isDefault = false;
};
using CreditsGiveawayOptions = std::vector<CreditsGiveawayOption>;
} // namespace Data