3#include <librtmedius.h>
36 OnResponse(
int nConnection,
int nType,
int nSize, rtMediusAnnouncementResponse *pResponse);
Step that reads the news of the lobby server into LobbyRT::mAnnouncement.
Definition getannouncementstask.h:13
~GetAnnouncementsTask() override=default
Destroy the object.
static void OnResponse(int nConnection, int nType, int nSize, rtMediusAnnouncementResponse *pResponse)
Take the news and finish the step the response is tagged with.
void OnStart() override
Clear the news and send the request.
static void ReplaceBreaks(char *pszText)
Replace each <br> of a text by a line break, in place.
NetTask()
Construct a task outside any NetMultiTask.
Definition nettask.h:24