Bazaar developer reference

CvLandmass::SetContinentType(const char)

Defined in
CvMap.cpp, line 132
Class
CvLandmass
Hook name
CivHooks::CvLandmass_SetContinentType

Hooks

static bool BeforeCvLandmass_SetContinentType(CvLandmass* self, const char cContinent);static void AfterCvLandmass_SetContinentType(CvLandmass* self, const char cContinent);static void ReplaceCvLandmass_SetContinentType(void (*original)(CvLandmass*, const char), CvLandmass* self, const char cContinent);CivRegisterBefore<CivHooks::CvLandmass_SetContinentType>(host, &BeforeCvLandmass_SetContinentType);CivRegisterAfter<CivHooks::CvLandmass_SetContinentType>(host, &AfterCvLandmass_SetContinentType);CivRegisterReplace<CivHooks::CvLandmass_SetContinentType>(host, &ReplaceCvLandmass_SetContinentType);

Code

132void CvLandmass::SetContinentType(const char cContinent)133{134	m_cContinentType = cContinent;135}

Called by