1#ifndef NANOMMO_SERVER_WARS_H_
2#define NANOMMO_SERVER_WARS_H_
24 std::chrono::seconds
left{0};
54 bool Scores(
const WarKill& kill, std::chrono::steady_clock::time_point now) {
56 std::erase_if(scored_, [now](
const auto& victim) {
59 return scored_.try_emplace({kill.
war, kill.
victim}, now).second;
64 std::map<std::pair<uint32_t, uint32_t>, std::chrono::steady_clock::time_point>
static constexpr std::chrono::minutes kOnceEvery
bool Scores(const WarKill &kill, std::chrono::steady_clock::time_point now)
uint32_t challenged_kills
std::string challenged_name
uint32_t challenger_kills
std::chrono::seconds left
std::string challenger_name
uint32_t Against(uint32_t guild) const
The other side from the guild's, by its id.