11 enum class EComponentCreationMethod : uint8_t
16 SimpleConstructionScript,
18 UserConstructionScript,
40 mutable AActor* m_OwnerPrivate;
43 uint8_t m_bHasBegunPlay : 1;
46 uint8_t m_bHasBeenCreated : 1;
49 uint8_t m_bIsActive : 1;
52 uint8_t m_bHasBeenInitialized : 1;
72 virtual void TickComponent(
float deltaTime);
80 virtual void BeginPlay();
95 virtual void OnComponentCreated();
110 virtual void Activate(
bool bReset =
false);
117 void SetActiveFlag(
const bool bNewIsActive);
127 virtual void InitializeComponent();
135 virtual void BeginDestroy()
override;
143 virtual void UninitializeComponent();
150 virtual void OnComponentDestroyed(
bool bDestroyingHierarchy);
171 virtual bool ShouldActivate()
const;
This file contains the class UObject along with helper functions.
Definition ActorComponent.h:35
bool HasBeenInitialized() const
Definition ActorComponent.h:120
bool IsActive() const
Definition ActorComponent.h:104
EComponentCreationMethod m_CreationMethod
Definition ActorComponent.h:154
bool HasBeenCreated() const
Definition ActorComponent.h:92
uint8_t m_bWantsInitializeComponent
Definition ActorComponent.h:161
uint8_t m_bRegistered
Definition ActorComponent.h:167
uint8_t m_bAutoActivate
Definition ActorComponent.h:157
bool HasBegunPlay() const
Definition ActorComponent.h:132
bool IsRegistered() const
Definition ActorComponent.h:98
The base class of all the game code relevant objects.
Definition Object.h:106
Type
Definition KarmaTypes.h:13