23 #ifndef GUI_WINDOWS_WHOISONLINE_H
24 #define GUI_WINDOWS_WHOISONLINE_H
68 void loadList(
const STD_VECTOR<OnlinePlayer*> &list);
73 void logic()
override final;
void getPlayerNames(StringVect &names)
const std::set< OnlinePlayer * > & getOnlinePlayers() const
std::set< std::string > mOnlineNicks
static size_t memoryWrite(void *ptr, size_t size, size_t nmemb, FILE *stream)
const std::set< std::string > & getOnlineNicks() const
const std::string prepareNick(const std::string &nick, const int level, const std::string &color) const
void loadList(const std::vector< OnlinePlayer * > &list)
std::set< OnlinePlayer * > mOnlinePlayers
std::vector< OnlinePlayer * > mNeutral
void handlerPlayerRelation(const std::string &nick, OnlinePlayer *const player)
static int downloadThread(void *ptr)
StaticBrowserBox * mBrowserBox
static void setNeutralColor(OnlinePlayer *const player)
std::vector< OnlinePlayer * > mFriends
void widgetResized(const Event &event)
std::vector< OnlinePlayer * > mEnemy
void optionChanged(const std::string &name)
void action(const ActionEvent &event)
WhoIsOnline::DownloadStatus mDownloadStatus
void updateList(StringVect &list)
void handleLink(const std::string &link, MouseEvent *event)
void updateWindow(size_t numOnline)
std::vector< OnlinePlayer * > mDisregard
void setAllowUpdate(const bool n)
#define A_DELETE_COPY(func)
std::vector< std::string > StringVect
WhoIsOnline * whoIsOnline