46 std::string m_ContextHandle;
92 float PIEAccumulatedTickSeconds = 0.f;
113 WorldPtr = m_ThisCurrentWorld;
152 return m_ThisCurrentWorld;
167 , m_GameViewport(nullptr)
168 , m_OwningGameInstance(nullptr)
175 , m_ThisCurrentWorld(nullptr)
179 UWorld* m_ThisCurrentWorld;
219 virtual void Tick(
float DeltaSeconds,
bool bIdleMode);
#define KARMA_API
Defining Karma's API macro for storage class information.
Definition Core.h:41
#define FORCEINLINE
Typical inlining macro for clarity.
Definition Core.h:170
@ None
Events of the unknown category.
Definition Event.h:35
#define DECLARE_KARMA_CLASS(TClass, TSuperClass)
Karma's gamecode object class declaration.
Definition GFrameworkMacros.h:45
This file contains the custom types used in Engine's logic.
This file contains the class UObject along with helper functions.
This file contains UWorld class and FActorSpawnParameters.
virtual void WorldDestroyed(UWorld *InWorld)
Definition Engine.h:253
void Init()
Set up UGameInstance for the constructor.
Definition Engine.cpp:21
KEngine()
Default constructor. Includes setting up UGameInstance.
Definition Engine.cpp:15
virtual class UGameInstance * GetCurrentGameInstance() const
Definition Engine.h:260
virtual void WorldAdded(UWorld *World)
Definition Engine.h:245
virtual void Tick(float DeltaSeconds, bool bIdleMode)
Update everything (UWorlds and subsequently all the AActors). Should be economic for processor and re...
Definition Engine.cpp:35
void CleanupGameViewport()
Definition Engine.cpp:67
FWorldContext & CreateNewWorldContext(EWorldType::Type WorldType)
Create a context for new world.
Definition Engine.cpp:58
A high-level manager object for an instance of the running game.
Definition GameInstance.h:26
A game viewport (FViewport) is a high-level abstract interface for the platform specific rendering,...
Definition GameViewportClient.h:31
UObject()
Definition Object.cpp:10
The World is the top level object representing a map or a sandbox in which Actors and Components will...
Definition World.h:148
Karma's std::vector wrapper with additional functionalities.
Definition KarmaTypes.h:243
Specifies the goal/source of a UWorld object.
Definition KarmaTypes.h:56
Type
Definition KarmaTypes.h:58
A context for dealing with UWorlds at the engine level. As the engine brings up and destroys world,...
Definition Engine.h:43
void RemoveRef(UWorld *&WorldPtr)
Removes an external reference.
Definition Engine.h:125
void AddRef(UWorld *&WorldPtr)
Routine to add outside references to our UWorld. If our UWorld changes, routines outside of UWorldCon...
Definition Engine.h:111
FORCEINLINE UWorld * World() const
Getter for variable m_ThisCurrentWorld.
Definition Engine.h:150
bool m_RunAsDedicated
Definition Engine.h:71
uint32_t m_AudioDeviceID
Definition Engine.h:83
FWorldContext()
A usual constructor.
Definition Engine.h:160
bool m_bWaitingOnOnlineSubsystem
Definition Engine.h:75
bool m_bIsPrimaryPIEInstance
Definition Engine.h:79
void SetCurrentWorld(UWorld *World)
Set CurrentWorld and update external reference pointers to reflect this.
Definition Engine.cpp:10
float PIEFixedTickSeconds
Definition Engine.h:91
KarmaVector< UWorld ** > m_ExternalReferences
Definition Engine.h:102