Hooks
static bool BeforeCvLuaPlayer_lCountNumBuildings(lua_State* L, int& result);static void AfterCvLuaPlayer_lCountNumBuildings(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lCountNumBuildings(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lCountNumBuildings>(host, &BeforeCvLuaPlayer_lCountNumBuildings);CivRegisterAfter<CivHooks::CvLuaPlayer_lCountNumBuildings>(host, &AfterCvLuaPlayer_lCountNumBuildings);CivRegisterReplace<CivHooks::CvLuaPlayer_lCountNumBuildings>(host, &ReplaceCvLuaPlayer_lCountNumBuildings);