Hooks
static bool BeforeCvLuaPlot_lGetOwnershipDuration(lua_State* L, int& result);static void AfterCvLuaPlot_lGetOwnershipDuration(lua_State* L, int& result);static int ReplaceCvLuaPlot_lGetOwnershipDuration(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlot_lGetOwnershipDuration>(host, &BeforeCvLuaPlot_lGetOwnershipDuration);CivRegisterAfter<CivHooks::CvLuaPlot_lGetOwnershipDuration>(host, &AfterCvLuaPlot_lGetOwnershipDuration);CivRegisterReplace<CivHooks::CvLuaPlot_lGetOwnershipDuration>(host, &ReplaceCvLuaPlot_lGetOwnershipDuration);