Hooks
static bool BeforeCvLuaGame_lGetUnitCreatedCount(lua_State* L, int& result);static void AfterCvLuaGame_lGetUnitCreatedCount(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetUnitCreatedCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetUnitCreatedCount>(host, &BeforeCvLuaGame_lGetUnitCreatedCount);CivRegisterAfter<CivHooks::CvLuaGame_lGetUnitCreatedCount>(host, &AfterCvLuaGame_lGetUnitCreatedCount);CivRegisterReplace<CivHooks::CvLuaGame_lGetUnitCreatedCount>(host, &ReplaceCvLuaGame_lGetUnitCreatedCount);