Navigation
API > API/Plugins > API/Plugins/MassSpawner > API/Plugins/MassSpawner/UMassEntityTraitBase
References
| Module | MassSpawner |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityTraitBase.h |
| Include | #include "MassEntityTraitBase.h" |
Syntax
struct FAdditionalTraitRequirements
Remarks
This is a type wrapping an existing TArray to limit how users can interact with the contained data. We essentially limit users to just adding elements, no other operations.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAdditionalTraitRequirements
(
TArray< const UStruct* >& InTargetContainer |
|||
| Copying constructor and assignment deleted to prevent users storing copies of the type, which wouldn't be safe due to this type hosting a reference to an array that can go out of scope. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FAdditionalTraitRequirements & | Add
(
const UScriptStruct* RequiredType |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FAdditionalTraitRequirements & | operator=
(
const FAdditionalTraitRequirements& |