+ награды за баллы

- создание
- изменение
- удаление
- отображение
This commit is contained in:
2026-02-15 11:26:19 +03:00
parent 63b7fa4ea1
commit ae4121157d
8 changed files with 608 additions and 19 deletions
+3 -3
View File
@@ -12,7 +12,7 @@
class TCustomReward;
class TCustomRewardEvent;
class ChatBadge;
struct ChatBadge;
class Emote;
class TTwAPI : public QObject
@@ -53,14 +53,14 @@ public:
void delVIP(const QString &id);
// Custom Rewards
void getCustomRewards(QVector<TCustomReward*> &rewards);
void getCustomRewards(QVector<TCustomReward*> &rewards, bool onlyManageable = false);
TCustomReward* createCustomReward(const QString &title,
const QString &cost,
const QString &prompt = "",
bool isUserInput = false);
void updateCustomReward(TCustomReward* reward);
void updateRedemptionStatus(TCustomRewardEvent* event);
void deleteCustomReward(const QString &id);
bool deleteCustomReward(const QString &id);
// Пользователи
User getUserByLogin(const QString &login);