Checks validity of FActorDefinition. More...
Collaboration diagram for FActorDefinitionValidator:Public Member Functions | |
| bool | AreValid (const TArray< FActorDefinition > &ActorDefinitions) |
| Iterate all actor definitions and their properties and display messages on error. More... | |
| bool | SingleIsValid (const FActorDefinition &Definition) |
| Validate ActorDefinition and display messages on error. More... | |
Private Member Functions | |
| bool | AreTagsValid (const FString &Tags) |
| template<typename T > | |
| bool | AreValid (const FString &Type, const TArray< T > &Array) |
| Applies IsValid to each item in Array. More... | |
| template<typename T , typename F > | |
| bool | ForEach (const FString &Type, const TArray< T > &Array, F Validator) |
| Applies Validator to each item in Array. More... | |
| template<typename T > | |
| FString | GetDisplayId (const FString &Type, size_t Index, const T &Item) |
| FString | GetDisplayId (const FString &Type, size_t Index, const FString &Item) |
| bool | IsIdValid (const FString &Id) |
| bool | IsValid (const EActorAttributeType Type) |
| bool | IsValid (const FActorVariation &Variation) |
| bool | IsValid (const FActorAttribute &Attribute) |
| bool | IsValid (const FActorDefinition &ActorDefinition) |
| template<typename T , typename ... ARGS> | |
| bool | OnScreenAssert (bool Predicate, const T &Format, ARGS &&... Args) const |
| If Predicate is false, print an error message. More... | |
| bool | ValueIsValid (const EActorAttributeType Type, const FString &Value) |
Private Attributes | |
| FScopedStack< FString > | Stack |
Checks validity of FActorDefinition.
Definition at line 20 of file ActorBlueprintFunctionLibrary.cpp.
|
inlineprivate |
Definition at line 108 of file ActorBlueprintFunctionLibrary.cpp.
References OnScreenAssert().
Referenced by IsValid().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Iterate all actor definitions and their properties and display messages on error.
Definition at line 26 of file ActorBlueprintFunctionLibrary.cpp.
Referenced by UActorBlueprintFunctionLibrary::CheckActorDefinitions(), and IsValid().
Here is the caller graph for this function:
|
inlineprivate |
Applies IsValid to each item in Array.
Pushes a new context to the stack for each item.
Definition at line 97 of file ActorBlueprintFunctionLibrary.cpp.
References ForEach(), and IsValid().
Here is the call graph for this function:
|
inlineprivate |
Applies Validator to each item in Array.
Pushes a new context to the stack for each item.
Definition at line 81 of file ActorBlueprintFunctionLibrary.cpp.
References GetDisplayId(), FScopedStack< T >::PushScope(), and Stack.
Referenced by AreValid(), and IsValid().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 68 of file ActorBlueprintFunctionLibrary.cpp.
Referenced by ForEach().
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 73 of file ActorBlueprintFunctionLibrary.cpp.
|
inlineprivate |
Definition at line 102 of file ActorBlueprintFunctionLibrary.cpp.
References OnScreenAssert().
Referenced by IsValid().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 114 of file ActorBlueprintFunctionLibrary.cpp.
References OnScreenAssert(), and PropAttributes::SIZE.
Referenced by AreValid(), IsValid(), and SingleIsValid().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 126 of file ActorBlueprintFunctionLibrary.cpp.
References ForEach(), FActorVariation::Id, IsIdValid(), IsValid(), OnScreenAssert(), FActorVariation::RecommendedValues, FActorVariation::Type, and ValueIsValid().
Here is the call graph for this function:
|
inlineprivate |
Definition at line 137 of file ActorBlueprintFunctionLibrary.cpp.
References FActorAttribute::Id, IsIdValid(), IsValid(), FActorAttribute::Type, FActorAttribute::Value, and ValueIsValid().
Here is the call graph for this function:
|
inlineprivate |
Definition at line 145 of file ActorBlueprintFunctionLibrary.cpp.
References AreTagsValid(), AreValid(), FActorDefinition::Attributes, FActorDefinition::Id, IsIdValid(), FActorDefinition::Tags, and FActorDefinition::Variations.
Here is the call graph for this function:
|
inlineprivate |
If Predicate is false, print an error message.
If possible the message is printed to the editor window.
Definition at line 44 of file ActorBlueprintFunctionLibrary.cpp.
Referenced by AreTagsValid(), IsIdValid(), and IsValid().
Here is the caller graph for this function:
|
inline |
Validate ActorDefinition and display messages on error.
Definition at line 32 of file ActorBlueprintFunctionLibrary.cpp.
References FActorDefinition::Id, IsValid(), FScopedStack< T >::PushScope(), and Stack.
Referenced by UActorBlueprintFunctionLibrary::CheckActorDefinition().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 120 of file ActorBlueprintFunctionLibrary.cpp.
Referenced by IsValid().
Here is the caller graph for this function:
|
private |
Definition at line 155 of file ActorBlueprintFunctionLibrary.cpp.
Referenced by ForEach(), OnScreenAssert(), and SingleIsValid().
1.8.13