|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <wars.h>
Public Member Functions | |
| bool | Scores (const WarKill &kill, std::chrono::steady_clock::time_point now) |
Static Public Attributes | |
| static constexpr std::chrono::minutes | kOnceEvery {5} |
Which war kills score: a victim scores for a war once every five minutes at most, so that a player can't run up their guild's score on a friend in the other guild who keeps coming back to die. The kill happens either way. It's the server's to remember, so an instance starts with none.
|
inline |
|
staticconstexpr |