std::vector<int> sort_team(const std::set<int> &team) const; // Ordered first by gender, then by number.
void set_formation_at(uint64_t t, bool offense, unsigned formation);
+ // Used to notify when we've inserted a new one into the database.
+ void inserted_new_formation(int formation_id, const std::string &name) {
+ formations[formation_id] = Formation{ formation_id, name };
+ }
+
private:
struct Player {
int player_id;