在EnvQueryContext_BlueprintBase.cpp中
FORCEINLINE bool DoesImplementBPFunction(FName FuncName, const UObject* Ob, const UClass* StopAtClass)
{
return (Ob->GetClass()->FindFunctionByName(FuncName)->GetOuter() != StopAtClass);
}
UClass* StopAtClass = UEnvQueryContext_BlueprintBase::StaticClass();
bool bImplementsProvideSingleActor = DoesImplementBPFunction(GET_FUNCTION_NAME_CHECKED(UEnvQueryContext_BlueprintBase, ProvideSingleActor), this, StopAtClass);