Bazaar developer reference

CvPreGame::setTargetScore(int)

Defined in
CvPreGame.cpp, line 2965
Hook name
CivHooks::CvPreGame_setTargetScore

Hooks

static bool BeforeCvPreGame_setTargetScore(int t);static void AfterCvPreGame_setTargetScore(int t);static void ReplaceCvPreGame_setTargetScore(void (*original)(int), int t);CivRegisterBefore<CivHooks::CvPreGame_setTargetScore>(host, &BeforeCvPreGame_setTargetScore);CivRegisterAfter<CivHooks::CvPreGame_setTargetScore>(host, &AfterCvPreGame_setTargetScore);CivRegisterReplace<CivHooks::CvPreGame_setTargetScore>(host, &ReplaceCvPreGame_setTargetScore);

Code

2965void setTargetScore(int t)2966{2967	s_targetScore = t;2968}

Calls

Called by