CvLandmass::GetID() const
- Defined in
- CvMap.cpp, line 66
- Class
- CvLandmass
- Hook name
CivHooks::CvLandmass_GetID
Hooks
static bool BeforeCvLandmass_GetID(const CvLandmass* self, int& result);static void AfterCvLandmass_GetID(const CvLandmass* self, int& result);static int ReplaceCvLandmass_GetID(int (*original)(const CvLandmass*), const CvLandmass* self);CivRegisterBefore<CivHooks::CvLandmass_GetID>(host, &BeforeCvLandmass_GetID);CivRegisterAfter<CivHooks::CvLandmass_GetID>(host, &AfterCvLandmass_GetID);CivRegisterReplace<CivHooks::CvLandmass_GetID>(host, &ReplaceCvLandmass_GetID);
Code
66int CvLandmass::GetID() const67{68 return m_iID;69}