Bazaar developer reference

CvPlot::nukeExplosion(int, CvUnit *)

Defined in
CvPlot.cpp, line 891
Class
CvPlot
Hook name
CivHooks::CvPlot_nukeExplosion

Hooks

static bool BeforeCvPlot_nukeExplosion(CvPlot* self, int iDamageLevel, CvUnit* arg1);static void AfterCvPlot_nukeExplosion(CvPlot* self, int iDamageLevel, CvUnit* arg1);static void ReplaceCvPlot_nukeExplosion(void (*original)(CvPlot*, int, CvUnit*), CvPlot* self, int iDamageLevel, CvUnit* arg1);CivRegisterBefore<CivHooks::CvPlot_nukeExplosion>(host, &BeforeCvPlot_nukeExplosion);CivRegisterAfter<CivHooks::CvPlot_nukeExplosion>(host, &AfterCvPlot_nukeExplosion);CivRegisterReplace<CivHooks::CvPlot_nukeExplosion>(host, &ReplaceCvPlot_nukeExplosion);

Code

890// Left-over method, primarily because it is exposed to Lua.891void CvPlot::nukeExplosion(int iDamageLevel, CvUnit*)892{893	CvUnitCombat::ApplyNuclearExplosionDamage(this, iDamageLevel);894}

Calls

Called by