ADD file via upload

main
pw6mfljci 5 months ago
parent 1c9b8a47cd
commit 7d0fea5944

@ -0,0 +1,23 @@
#pragma once
#include "common.h"
#include <vector>
class RankList
{
private:
std::vector<PlayerMsg> m_msg;
const std::string m_rankfile = "retro";
const int MAX_RANK = 10;
public:
RankList();
void SaveMsg(PlayerMsg msg);
std::vector<PlayerMsg> getRankList();
void SaveToRank();
private:
void WriteTime(PlayerMsg& msg);
void ReadFile();
void WriteFile();
};
Loading…
Cancel
Save