Hooks
static bool BeforeCvPlayer_HasTrait(const CvPlayer* self, TraitTypes eTrait, bool& result);static void AfterCvPlayer_HasTrait(const CvPlayer* self, TraitTypes eTrait, bool& result);static bool ReplaceCvPlayer_HasTrait(bool (*original)(const CvPlayer*, TraitTypes), const CvPlayer* self, TraitTypes eTrait);CivRegisterBefore<CivHooks::CvPlayer_HasTrait>(host, &BeforeCvPlayer_HasTrait);CivRegisterAfter<CivHooks::CvPlayer_HasTrait>(host, &AfterCvPlayer_HasTrait);CivRegisterReplace<CivHooks::CvPlayer_HasTrait>(host, &ReplaceCvPlayer_HasTrait);