Bazaar developer reference

CvReplayInfo::getNumPlayers() const

Defined in
CvReplayInfo.cpp, line 238
Class
CvReplayInfo
Hook name
CivHooks::CvReplayInfo_getNumPlayers

Hooks

static bool BeforeCvReplayInfo_getNumPlayers(const CvReplayInfo* self, int& result);static void AfterCvReplayInfo_getNumPlayers(const CvReplayInfo* self, int& result);static int ReplaceCvReplayInfo_getNumPlayers(int (*original)(const CvReplayInfo*), const CvReplayInfo* self);CivRegisterBefore<CivHooks::CvReplayInfo_getNumPlayers>(host, &BeforeCvReplayInfo_getNumPlayers);CivRegisterAfter<CivHooks::CvReplayInfo_getNumPlayers>(host, &AfterCvReplayInfo_getNumPlayers);CivRegisterReplace<CivHooks::CvReplayInfo_getNumPlayers>(host, &ReplaceCvReplayInfo_getNumPlayers);

Code

238int CvReplayInfo::getNumPlayers() const239{240	return (int)m_listPlayerInfo.size();241}

Calls

Called by