CvLandmass::SetID(int)
- Defined in
- CvMap.cpp, line 72
- Class
- CvLandmass
- Hook name
CivHooks::CvLandmass_SetID
Hooks
static bool BeforeCvLandmass_SetID(CvLandmass* self, int iID);static void AfterCvLandmass_SetID(CvLandmass* self, int iID);static void ReplaceCvLandmass_SetID(void (*original)(CvLandmass*, int), CvLandmass* self, int iID);CivRegisterBefore<CivHooks::CvLandmass_SetID>(host, &BeforeCvLandmass_SetID);CivRegisterAfter<CivHooks::CvLandmass_SetID>(host, &AfterCvLandmass_SetID);CivRegisterReplace<CivHooks::CvLandmass_SetID>(host, &ReplaceCvLandmass_SetID);
Code
72void CvLandmass::SetID(int iID)73{74 m_iID = iID;75}