CvHallOfFameInfo
From Civilization Modding Wiki
Jump to navigationJump to search
The CvHallOfFameInfo file handles getting the information for the hall of fame page of the main menu
The SDK files are written in the C++ programming language. They can be edited in a text editor such as notepad or in a programming editor like Microsoft's Visual Studio.
This page is missing information. Do not remove this notice until it is complete.
Functions
Below is a list of all the functions in the file. Each function has a quick description attached to it. Note that there are comments strewn throughout some of these files, direct from the developers in order to aid the potential modders. All these functions are in the class CvHallOfFameInfo.
Function | Parameters | Return Type | Description |
---|---|---|---|
CvHallOfFameInfo::CvHallOfFameInfo() | None | Void | Does nothing. |
CvHallOfFameInfo::~CvHallOfFameInfo() | None | Void | Runs SAFE_DELETE on every member of m_aReplays to clear up the memory used |
CvHallOfFameInfo::loadReplays() | None | Void | Loads the vector m_aReplays with ReplaysInfos through the loadReplays function of the CvDLLUtilityIFaceBase class. |
CvHallOfFameInfo::getNumGames() const | None | Integer | Returns how many replays there are in the vector m_aReplays |
CvHallOfFameInfo::getReplayInfo() | int i | CvReplayInfo* | Returns the ith member of m_aReplays. Does not check to make sure it is in range. |