35 unsigned long long login_id,
const std::size_t max_messages=4,
const std::chrono::seconds& time_period=std::chrono::seconds{10},
36 const bool moderator=
false);
41 void mark_available(
const int game_id=0,
const std::string& location=
"");
const std::string & version() const
const simple_wml::node * config_address() const
void mark_available(const int game_id=0, const std::string &location="")
const std::size_t MaxMessages
void set_status(STATUS status)
unsigned int messages_since_flood_start_
std::chrono::steady_clock::time_point flood_start_
void mark_registered(bool registered=true)
void set_moderator(bool moderator)
unsigned long long get_login_id() const
const std::string & name() const
const std::chrono::seconds TimePeriod
bool is_moderator() const
unsigned long long login_id_
player(const std::string &n, simple_wml::node &cfg, long id, bool registered, const std::string &version, const std::string &source, unsigned long long login_id, const std::size_t max_messages=4, const std::chrono::seconds &time_period=std::chrono::seconds{10}, const bool moderator=false)
const std::string & source() const
bool is_message_flooding()
static map_location::direction n