Bazaar developer reference

CvGame::setName(const char *)

Defined in
CvGame.cpp, line 7534
Class
CvGame
Hook name
CivHooks::CvGame_setName

Hooks

static bool BeforeCvGame_setName(CvGame* self, const char* szName);static void AfterCvGame_setName(CvGame* self, const char* szName);static void ReplaceCvGame_setName(void (*original)(CvGame*, const char*), CvGame* self, const char* szName);CivRegisterBefore<CivHooks::CvGame_setName>(host, &BeforeCvGame_setName);CivRegisterAfter<CivHooks::CvGame_setName>(host, &AfterCvGame_setName);CivRegisterReplace<CivHooks::CvGame_setName>(host, &ReplaceCvGame_setName);

Code

7534void CvGame::setName(const char* szName)7535{7536	CvPreGame::setGameName(szName);7537}

Calls

Called by