forked from d1zzy/pvpgn
-
Notifications
You must be signed in to change notification settings - Fork 154
Documentation
RElesgoe edited this page May 29, 2017
·
3 revisions
bool is_empty() const;
std::size_t get_id() const noexcept;
std::string get_filename() const noexcept;
unsigned int get_extension_tag() const noexcept;
std::string get_url() const noexcept;
t_clienttag get_client() const noexcept;
t_gamelang get_language() const noexcept;
friend void AdBannerSelector::load(const std::string& filename);
AdBanner(std::size_t id, bn_int extensiontag, const std::string& filename, const std::string& url, t_clienttag client, t_gamelang language);
AdBannerSelector() = default;
~AdBannerSelector() = default;
bool is_loaded() const noexcept;
void load(const std::string& filename);
void unload() noexcept;
std::size_t size() const noexcept;
const AdBanner* const pick(t_clienttag client_tag, t_gamelang client_lang, std::size_t prev_ad_id);
const AdBanner* const find(t_clienttag client_tag, t_gamelang client_lang, std::size_t ad_id);