Navigation
API > API/Plugins > API/Plugins/ModularGameplay
GameFrameworkComponent is a base class for actor components made for the basic game framework classes.
| Name | UGameFrameworkComponent |
| Type | class |
| Header File | /Engine/Plugins/Runtime/ModularGameplay/Source/ModularGameplay/Public/Components/GameFrameworkComponent.h |
| Include Path | #include "Components/GameFrameworkComponent.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable, BlueprintType, HideCategories=(Trigger, PhysicsVolume))
class UGameFrameworkComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UGameFrameworkComponent
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGameFrameworkComponent
(
const FObjectInitializer& ObjectInitializer |
Components/GameFrameworkComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * GetGameInstance() |
Gets the game instance this component is a part of, this will return null if not called during normal gameplay | Components/GameFrameworkComponent.h | |
T * GetGameInstanceChecked() |
Components/GameFrameworkComponent.h | ||
FTimerManager & GetWorldTimerManager() |
Returns the world's timer manager | Components/GameFrameworkComponent.h | |
bool HasAuthority() |
Returns true if the owner's role is ROLE_Authority | Components/GameFrameworkComponent.h |