Bazaar developer reference

CvPreGame::targetScore()

Defined in
CvPreGame.cpp, line 3152
Hook name
CivHooks::CvPreGame_targetScore

Hooks

static bool BeforeCvPreGame_targetScore(int& result);static void AfterCvPreGame_targetScore(int& result);static int ReplaceCvPreGame_targetScore(int (*original)());CivRegisterBefore<CivHooks::CvPreGame_targetScore>(host, &BeforeCvPreGame_targetScore);CivRegisterAfter<CivHooks::CvPreGame_targetScore>(host, &AfterCvPreGame_targetScore);CivRegisterReplace<CivHooks::CvPreGame_targetScore>(host, &ReplaceCvPreGame_targetScore);

Code

3152int targetScore()3153{3154	return s_targetScore;3155}

Calls

Called by