UGameFrameworkComponent

GameFrameworkComponent is a base class for actor components made for the basic game framework classes.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ModularGameplay

Header

/Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Public/Components/GameFrameworkComponent.h

Include

#include "Components/GameFrameworkComponent.h"

Syntax

UCLASS(Blueprintable, BlueprintType, HideCategories=(Trigger, PhysicsVolume))
class UGameFrameworkComponent : public UActorComponent

Remarks

GameFrameworkComponent is a base class for actor components made for the basic game framework classes.

Constructors

Name Description

Public function

UGameFrameworkComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

T *

 

GetGameInstance()

Gets the game instance this component is a part of, this will return null if not called during normal gameplay

Public function Const

T *

 

GetGameInstanceChecked()

Public function Const

FTimerManage...

 

GetWorldTimerManager()

Returns the world's timer manager

Public function Const

bool

 

HasAuthority()

Returns true if the owner's role is ROLE_Authority