Bazaar developer reference

CvReplayInfo::getPlayerDataSetName(unsigned int) const

Defined in
CvReplayInfo.cpp, line 458
Class
CvReplayInfo
Hook name
CivHooks::CvReplayInfo_getPlayerDataSetName

Hooks

static bool BeforeCvReplayInfo_getPlayerDataSetName(const CvReplayInfo* self, unsigned int idx, const char*& result);static void AfterCvReplayInfo_getPlayerDataSetName(const CvReplayInfo* self, unsigned int idx, const char*& result);static const char* ReplaceCvReplayInfo_getPlayerDataSetName(const char* (*original)(const CvReplayInfo*, unsigned int), const CvReplayInfo* self, unsigned int idx);CivRegisterBefore<CivHooks::CvReplayInfo_getPlayerDataSetName>(host, &BeforeCvReplayInfo_getPlayerDataSetName);CivRegisterAfter<CivHooks::CvReplayInfo_getPlayerDataSetName>(host, &AfterCvReplayInfo_getPlayerDataSetName);CivRegisterReplace<CivHooks::CvReplayInfo_getPlayerDataSetName>(host, &ReplaceCvReplayInfo_getPlayerDataSetName);

Code

458const char* CvReplayInfo::getPlayerDataSetName(unsigned int idx) const459{460	if(idx < m_dataSetMap.size())461	{462		return m_dataSetMap[idx].c_str();463	}464465	return NULL;466}

Calls

Called by