Hooks
static bool BeforeCvLuaPlayer_lGetUnhappinessMod(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetUnhappinessMod(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetUnhappinessMod(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetUnhappinessMod>(host, &BeforeCvLuaPlayer_lGetUnhappinessMod);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetUnhappinessMod>(host, &AfterCvLuaPlayer_lGetUnhappinessMod);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetUnhappinessMod>(host, &ReplaceCvLuaPlayer_lGetUnhappinessMod);