MCPcopy Create free account
hub / github.com/TurningWheel/Barony / addNotification

Method addNotification

src/interface/ui_general.cpp:617–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617UIToastNotification* UIToastNotificationManager_t::addNotification(const char* image)
618{
619 if ( !bIsInit )
620 {
621 init();
622 }
623
624 allNotifications.emplace_back(getImage(image));
625 auto& notification = allNotifications.back();
626 return &notification;
627}
628
629void UIToastNotificationManager_t::createEpicLoginNotification()
630{

Calls

no outgoing calls

Tested by

no test coverage detected