Hooks
static bool BeforeCvLuaPlayer_lIsEmpireUnhappy(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsEmpireUnhappy(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsEmpireUnhappy(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsEmpireUnhappy>(host, &BeforeCvLuaPlayer_lIsEmpireUnhappy);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsEmpireUnhappy>(host, &AfterCvLuaPlayer_lIsEmpireUnhappy);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsEmpireUnhappy>(host, &ReplaceCvLuaPlayer_lIsEmpireUnhappy);