Navigation
API > API/Plugins > API/Plugins/GameFeatures
Description of a component to add to a type of actor when this game feature is enabled (the actor class must be game feature aware, it does not happen magically)
| Name | FGameFeatureComponentEntry |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeatureAction_AddComponents.h |
| Include Path | #include "GameFeatureAction_AddComponents.h" |
Syntax
USTRUCT ()
struct FGameFeatureComponentEntry
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGameFeatureComponentEntry() |
GameFeatureAction_AddComponents.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorClass | TSoftClassPtr< AActor > | The base actor class to add a component to. | GameFeatureAction_AddComponents.h |
|
| AdditionFlags | uint8 | Observe these rules when adding the component, if any. | GameFeatureAction_AddComponents.h |
|
| bClientComponent | uint8 | Should this component be added for clients. | GameFeatureAction_AddComponents.h |
|
| bServerComponent | uint8 | Should this component be added on servers. | GameFeatureAction_AddComponents.h |
|
| ComponentClass | TSoftClassPtr< UActorComponent > | The component class to add to the specified type of actor. | GameFeatureAction_AddComponents.h |
|