Hooks
static bool BeforePUF_isOtherPlayer(const CvUnit* pUnit, int iData1, int arg2, bool& result);static void AfterPUF_isOtherPlayer(const CvUnit* pUnit, int iData1, int arg2, bool& result);static bool ReplacePUF_isOtherPlayer(bool (*original)(const CvUnit*, int, int), const CvUnit* pUnit, int iData1, int arg2);CivRegisterBefore<CivHooks::PUF_isOtherPlayer>(host, &BeforePUF_isOtherPlayer);CivRegisterAfter<CivHooks::PUF_isOtherPlayer>(host, &AfterPUF_isOtherPlayer);CivRegisterReplace<CivHooks::PUF_isOtherPlayer>(host, &ReplacePUF_isOtherPlayer);