QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
QVariant data(const QModelIndex &index, int role) const override;
-// Player get_player(int player_id) const;
+ int get_player_id(unsigned row) const {
+ return players[row].player_id;
+ }
private:
struct Player {