Bazaar developer reference

CvPreGame::civilizationAdjectiveKey(PlayerTypes)

Defined in
CvPreGame.cpp, line 730
Hook name
CivHooks::CvPreGame_civilizationAdjectiveKey

Hooks

static bool BeforeCvPreGame_civilizationAdjectiveKey(PlayerTypes p, const CvString*& result);static void AfterCvPreGame_civilizationAdjectiveKey(PlayerTypes p, const CvString*& result);static const CvString& ReplaceCvPreGame_civilizationAdjectiveKey(const CvString& (*original)(PlayerTypes), PlayerTypes p);CivRegisterBefore<CivHooks::CvPreGame_civilizationAdjectiveKey>(host, &BeforeCvPreGame_civilizationAdjectiveKey);CivRegisterAfter<CivHooks::CvPreGame_civilizationAdjectiveKey>(host, &AfterCvPreGame_civilizationAdjectiveKey);CivRegisterReplace<CivHooks::CvPreGame_civilizationAdjectiveKey>(host, &ReplaceCvPreGame_civilizationAdjectiveKey);

Code

730const CvString& civilizationAdjectiveKey(PlayerTypes p)731{732	if(p >= 0 && p < MAX_PLAYERS)733		return s_civAdjectives[p];734	static const CvString empty = "";735	return empty;736}

Calls

Called by