Bazaar developer reference

CvGame::GetMapScoreMod() const

Defined in
CvGame.cpp, line 1781
Class
CvGame
Hook name
CivHooks::CvGame_GetMapScoreMod

Hooks

static bool BeforeCvGame_GetMapScoreMod(const CvGame* self, int& result);static void AfterCvGame_GetMapScoreMod(const CvGame* self, int& result);static int ReplaceCvGame_GetMapScoreMod(int (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetMapScoreMod>(host, &BeforeCvGame_GetMapScoreMod);CivRegisterAfter<CivHooks::CvGame_GetMapScoreMod>(host, &AfterCvGame_GetMapScoreMod);CivRegisterReplace<CivHooks::CvGame_GetMapScoreMod>(host, &ReplaceCvGame_GetMapScoreMod);

Code

1780/// How does the size of the map affect how some of the score components are weighted?1781int CvGame::GetMapScoreMod() const1782{1783	return m_iMapScoreMod;1784}

Called by