Bazaar developer reference

CvPlayer::getCivilizationType() const

Defined in
CvPlayer.cpp, line 18488
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getCivilizationType

Hooks

static bool BeforeCvPlayer_getCivilizationType(const CvPlayer* self, CivilizationTypes& result);static void AfterCvPlayer_getCivilizationType(const CvPlayer* self, CivilizationTypes& result);static CivilizationTypes ReplaceCvPlayer_getCivilizationType(CivilizationTypes (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getCivilizationType>(host, &BeforeCvPlayer_getCivilizationType);CivRegisterAfter<CivHooks::CvPlayer_getCivilizationType>(host, &AfterCvPlayer_getCivilizationType);CivRegisterReplace<CivHooks::CvPlayer_getCivilizationType>(host, &ReplaceCvPlayer_getCivilizationType);

Code

18488CivilizationTypes CvPlayer::getCivilizationType() const18489{18490	return CvPreGame::civilization(GetID());18491}

Calls

Called by

38 functions in 19 files