+ std::set<int> get_team_at(uint64_t t);
+ void set_team_at(uint64_t, const std::set<int> &new_team);
+ 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 };
+ }