Nelaric Unreal Gameplay
Gameplay framework API
Toggle main menu visibility
Loading...
Searching...
No Matches
InitStateParticipantInterface.h
Go to the documentation of this file.
1
// Copyright (c) 2026 Nelaric
2
6
7
#pragma once
8
9
#include "UObject/Interface.h"
10
#include "
Pawn/InitStateTypes.h
"
11
12
#include "InitStateParticipantInterface.generated.h"
13
15
UINTERFACE(MinimalAPI)
16
class
UInitStateParticipantInterface
: public UInterface
17
{
18
GENERATED_BODY()
19
};
20
27
class
IInitStateParticipantInterface
28
{
29
GENERATED_BODY()
30
31
public
:
33
virtual
bool
IsInitApplicable
()
const
= 0;
34
40
virtual
bool
TryChangeInitState
() = 0;
41
51
virtual
bool
CanEnterReady
() = 0;
52
59
virtual
bool
CommitReadyWithoutNotification
() = 0;
60
66
virtual
void
NotifyReadyCommitted
(
const
Nelaric::FInitStateSnapshot
& Previous) = 0;
67
69
virtual
Nelaric::EInitState
GetInitState
()
const
= 0;
70
72
virtual
Nelaric::FInitGeneration
GetInitGeneration
()
const
= 0;
73
75
virtual
bool
HasTerminalInitFailure
()
const
= 0;
76
81
virtual
void
InvalidateInitGeneration
() = 0;
82
86
virtual
void
MarkTerminalInitFailure
() = 0;
87
};
InitStateTypes.h
Nelaric::EInitState
EInitState
Ordered stages of world initialization.
Definition
InitStateTypes.h:15
IInitStateParticipantInterface
Contract implemented by an actor component in world initialization.
Definition
InitStateParticipantInterface.h:28
IInitStateParticipantInterface::IsInitApplicable
virtual bool IsInitApplicable() const =0
Whether this component participates in its current context.
IInitStateParticipantInterface::TryChangeInitState
virtual bool TryChangeInitState()=0
Attempts one adjacent transition through DataInitialized.
IInitStateParticipantInterface::NotifyReadyCommitted
virtual void NotifyReadyCommitted(const Nelaric::FInitStateSnapshot &Previous)=0
Announces an already committed Ready transition.
IInitStateParticipantInterface::GetInitState
virtual Nelaric::EInitState GetInitState() const =0
Current component-owned state of this attempt.
IInitStateParticipantInterface::HasTerminalInitFailure
virtual bool HasTerminalInitFailure() const =0
Whether this attempt has a terminal failure.
IInitStateParticipantInterface::GetInitGeneration
virtual Nelaric::FInitGeneration GetInitGeneration() const =0
Current component-owned attempt identity.
IInitStateParticipantInterface::CommitReadyWithoutNotification
virtual bool CommitReadyWithoutNotification()=0
Writes Ready without callbacks after group checks pass.
IInitStateParticipantInterface::MarkTerminalInitFailure
virtual void MarkTerminalInitFailure()=0
Records a terminal failure without adding a state.
IInitStateParticipantInterface::InvalidateInitGeneration
virtual void InvalidateInitGeneration()=0
Invalidates old work and returns to Registered.
IInitStateParticipantInterface::CanEnterReady
virtual bool CanEnterReady()=0
Checks this component's internal preparation for Ready.
UInitStateParticipantInterface
UE type used to discover initialization participants on components.
Definition
InitStateParticipantInterface.h:17
Nelaric::FInitGeneration
Identity of one initialization attempt.
Definition
InitStateTypes.h:31
Nelaric::FInitStateSnapshot
Captures the stage and terminal failure of one initialization attempt.
Definition
InitStateTypes.h:41
NelaricGameplay
Plugins
NelaricGameplay
Source
GameplayRuntime
Public
Pawn
InitStateParticipantInterface.h
Generated by
1.18.0