Files
UnrealEngineUWP/Engine/Plugins/Runtime/StateTree/Source/StateTreeModule/Public/IStateTreeSchemaProvider.h
guillaume arruda 86d3d44a83 FIx CIS errors
#rnx

[CL 31940855 by guillaume arruda in ue5-main branch]
2024-03-01 07:53:06 -05:00

27 lines
633 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "UObject/Interface.h"
#include "Templates/SubclassOf.h"
class UStateTreeSchema;
#include "IStateTreeSchemaProvider.generated.h"
UINTERFACE(MinimalAPI)
class UStateTreeSchemaProvider : public UInterface
{
GENERATED_BODY()
};
/**
* Implementing this interface allows derived class to override the schema used to filter valid state trees for a FStateTreeReference.
*/
class IStateTreeSchemaProvider
{
GENERATED_BODY()
public:
virtual TSubclassOf<UStateTreeSchema> GetSchema() const PURE_VIRTUAL(IStateTreeSchemaProvider::GetSchema(), return nullptr;)
};