GEP-Assignment1/RankManager.cpp
void RankManager::loadPlayerInfoComplete() {
	int i = 0;
	getRankingsFromFile(playersInMem, ranksFile);
	for (Player *p : *playersInMem) {
		completelUserScoresFileName = partialUserScoresFileName + p->getUserName() + fileExtention;
		//cout << endl << "Loaded: " << completelUserScoresFileName << "from storage" << endl;

		getOrUpdateScoreFromFile(p, completelUserScoresFileName);
		//cout << endl << p.toString() << endl;

	}
}
/* Loads the list of players that are maintained by the RankManager from the Rankings File.
	This is called immediately after the RankManager is created. The path to the Ranking File is specified by the ranksFile member. */
Loads the list of players that are maintained by the RankManager from the Rankings File.
This is called immediately after the RankManager is created. The path to the Ranking File is specified by the ranksFile member.
Loads the list of players that are maintained by the RankManager from the Rankings File . This is called immediately after the RankManager is created . The path to the Ranking File is specified by the ranksFile member .
void RankManager::loadPlayerInfoComplete() {
	int i = 0;
	getRankingsFromFile(playersInMem, ranksFile);
	for (Player *p : *playersInMem) {
		completelUserScoresFileName = partialUserScoresFileName + p->getUserName() + fileExtention;
		getOrUpdateScoreFromFile(p, completelUserScoresFileName);
	}
}
void RankManager :: loadPlayerInfoComplete ( ) { int i = 0 ; getRankingsFromFile ( playersInMem , ranksFile ) ; for ( Player * p : * playersInMem ) { completelUserScoresFileName = partialUserScoresFileName + p -> getUserName ( ) + fileExtention ; getOrUpdateScoreFromFile ( p , completelUserScoresFileName ) ; } }
Loads the list of players that are maintained by the RankManager from the Rankings File.
Loads the list of players that are maintained by the RankManager from the Rankings File .
//cout << endl << "Loaded: " << completelUserScoresFileName << "from storage" << endl; //cout << endl << p.toString() << endl;