view include/core/anime_db.h @ 9:5c0397762b53

INCOMPLETE: megacommit :)
author Paper <mrpapersonic@gmail.com>
date Sun, 10 Sep 2023 03:59:16 -0400
parents
children 4b198a111713
line wrap: on
line source

#ifndef __core__anime_db_h
#define __core__anime_db_h
#include <unordered_map>

namespace Anime {

class Anime;

class Database {
	public:
		std::unordered_map<int, Anime> items;
		int GetTotalAnimeAmount();
		int GetTotalEpisodeAmount();
		int GetTotalWatchedAmount();
		int GetTotalPlannedAmount();
		double GetAverageScore();
		double GetScoreDeviation();
};

inline Database db;

} // namespace Anime
#endif // __core__anime_db_h