Bazaar developer reference

CvVictoryInfo::IsWinsGame() const

Defined in
CvInfos.cpp, line 2554
Class
CvVictoryInfo
Hook name
CivHooks::CvVictoryInfo_IsWinsGame

Hooks

static bool BeforeCvVictoryInfo_IsWinsGame(const CvVictoryInfo* self, bool& result);static void AfterCvVictoryInfo_IsWinsGame(const CvVictoryInfo* self, bool& result);static bool ReplaceCvVictoryInfo_IsWinsGame(bool (*original)(const CvVictoryInfo*), const CvVictoryInfo* self);CivRegisterBefore<CivHooks::CvVictoryInfo_IsWinsGame>(host, &BeforeCvVictoryInfo_IsWinsGame);CivRegisterAfter<CivHooks::CvVictoryInfo_IsWinsGame>(host, &AfterCvVictoryInfo_IsWinsGame);CivRegisterReplace<CivHooks::CvVictoryInfo_IsWinsGame>(host, &ReplaceCvVictoryInfo_IsWinsGame);

Code

2554bool CvVictoryInfo::IsWinsGame() const2555{2556	return m_bWinsGame;2557}

Called by