Hooks
static bool BeforeCvAIOperationMerchantDelegation_FindBestTarget(CvAIOperationMerchantDelegation* self, CvUnit* pUnit, bool bOnlySafePaths, CvPlot*& result);static void AfterCvAIOperationMerchantDelegation_FindBestTarget(CvAIOperationMerchantDelegation* self, CvUnit* pUnit, bool bOnlySafePaths, CvPlot*& result);static CvPlot* ReplaceCvAIOperationMerchantDelegation_FindBestTarget(CvPlot* (*original)(CvAIOperationMerchantDelegation*, CvUnit*, bool), CvAIOperationMerchantDelegation* self, CvUnit* pUnit, bool bOnlySafePaths);CivRegisterBefore<CivHooks::CvAIOperationMerchantDelegation_FindBestTarget>(host, &BeforeCvAIOperationMerchantDelegation_FindBestTarget);CivRegisterAfter<CivHooks::CvAIOperationMerchantDelegation_FindBestTarget>(host, &AfterCvAIOperationMerchantDelegation_FindBestTarget);CivRegisterReplace<CivHooks::CvAIOperationMerchantDelegation_FindBestTarget>(host, &ReplaceCvAIOperationMerchantDelegation_FindBestTarget);