* Get the date of the last update to any part of the edge's capacity. * @return Last update. */
| 60 | * @return Last update. |
| 61 | */ |
| 62 | TimerGameEconomy::Date LastUpdate() const { return std::max(this->last_unrestricted_update, this->last_restricted_update); } |
| 63 | |
| 64 | void Update(uint capacity, uint usage, uint32_t time, EdgeUpdateModes modes); |
| 65 | void Restrict() { this->last_unrestricted_update = EconomyTime::INVALID_DATE; } |
no outgoing calls
no test coverage detected