CvArea::init(int, bool)
- Defined in
- CvArea.cpp, line 44
- Class
- CvArea
- Hook name
CivHooks::CvArea_init
Hooks
static bool BeforeCvArea_init(CvArea* self, int iID, bool bWater);static void AfterCvArea_init(CvArea* self, int iID, bool bWater);static void ReplaceCvArea_init(void (*original)(CvArea*, int, bool), CvArea* self, int iID, bool bWater);CivRegisterBefore<CivHooks::CvArea_init>(host, &BeforeCvArea_init);CivRegisterAfter<CivHooks::CvArea_init>(host, &AfterCvArea_init);CivRegisterReplace<CivHooks::CvArea_init>(host, &ReplaceCvArea_init);
Code
44void CvArea::init(int iID, bool bWater)45{46 //--------------------------------47 // Init saved data48 reset(iID, bWater);4950 //--------------------------------51 // Init non-saved data5253 //--------------------------------54 // Init other game data55}