#pragma once #include "common.h" #include class RankList { private: std::vector m_msg; const std::string m_rankfile = "retro"; const int MAX_RANK = 10; public: RankList(); void SaveMsg(PlayerMsg msg); std::vector getRankList(); void SaveToRank(); private: void WriteTime(PlayerMsg& msg); void ReadFile(); void WriteFile(); };