| 743 | } |
| 744 | |
| 745 | void UIToastNotificationManager_t::createGenericNotification(const char* header, const char* text) |
| 746 | { |
| 747 | UIToastNotification* n = UIToastNotificationManager.addNotification(nullptr); |
| 748 | n->actionFlags |= (UIToastNotification::ActionFlags::UI_NOTIFICATION_AUTO_HIDE); |
| 749 | n->actionFlags |= (UIToastNotification::ActionFlags::UI_NOTIFICATION_CLOSE); |
| 750 | n->actionFlags |= (UIToastNotification::ActionFlags::UI_NOTIFICATION_REMOVABLE); |
| 751 | n->cardType = UIToastNotification::CardType::UI_CARD_DEFAULT; |
| 752 | n->setHeaderText(header); |
| 753 | n->setMainText(text); |
| 754 | n->setIdleSeconds(10); |
| 755 | } |
| 756 | |
| 757 | void UIToastNotificationManager_t::createLeaderboardNotification(std::string info) |
| 758 | { |
nothing calls this directly
no test coverage detected