Navigation
API > API/Runtime > API/Runtime/AIModule
AIDataProvider is an object that can provide collection of properties associated with bound pawn owner or request Id.
Editable properties are used to set up provider instance, creating additional filters or ways of accessing data (e.g. gameplay tag of ability)
Non editable properties are holding data
| Name | FAIDataProviderValue |
| Type | struct |
| Header File | /Engine/Source/Runtime/AIModule/Classes/DataProviders/AIDataProvider.h |
| Include Path | #include "DataProviders/AIDataProvider.h" |
Syntax
USTRUCT ()
struct FAIDataProviderValue
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAIDataProviderValue() |
DataProviders/AIDataProvider.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FAIDataProviderValue() |
DataProviders/AIDataProvider.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataBinding | TObjectPtr< UAIDataProvider > | (optional) provider for dynamic data binding | DataProviders/AIDataProvider.h |
|
| DataField | FName | Name of provider's value property | DataProviders/AIDataProvider.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedProperty | FProperty * | Cached uproperty of provider | DataProviders/AIDataProvider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BindData
(
const UObject* Owner, |
Bind data in provider and cache property for faster access | DataProviders/AIDataProvider.h | |
| Find all properties of provider that are matching filter | DataProviders/AIDataProvider.h | ||
T * GetRawValuePtr() |
Return raw data from provider's property | DataProviders/AIDataProvider.h | |
bool IsDynamic() |
DataProviders/AIDataProvider.h | ||
virtual bool IsMatchingType
(
FProperty* PropType |
Filter for provider's properties | DataProviders/AIDataProvider.h | |
FString ToString() |
DataProviders/AIDataProvider.h | ||
virtual FString ValueToString() |
Describe default data | DataProviders/AIDataProvider.h |