48 std::string m_ContextHandle;
94 float PIEAccumulatedTickSeconds = 0.f;
115 WorldPtr = m_ThisCurrentWorld;
154 return m_ThisCurrentWorld;
169 , m_GameViewport(nullptr)
170 , m_OwningGameInstance(nullptr)
177 , m_ThisCurrentWorld(nullptr)
181 UWorld* m_ThisCurrentWorld;
221 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:157
@ None
Events of the unknown category.
Definition Event.h:37
#define DECLARE_KARMA_CLASS(TClass, TSuperClass)
Karma's gamecode object class declaration.
Definition GFrameworkMacros.h:44
This file contains the types used in game 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:255
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:262
virtual void WorldAdded(UWorld *World)
Definition Engine.h:247
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:28
A game viewport (FViewport) is a high-level abstract interface for the platform specific rendering,...
Definition GameViewportClient.h:33
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:150
Karma's std::vector wrapper.
Definition KarmaTypes.h:152
Specifies the goal/source of a UWorld object.
Definition KarmaTypes.h:45
Type
Definition KarmaTypes.h:47
A context for dealing with UWorlds at the engine level. As the engine brings up and destroys world,...
Definition Engine.h:45
void RemoveRef(UWorld *&WorldPtr)
Removes an external reference.
Definition Engine.h:127
void AddRef(UWorld *&WorldPtr)
Routine to add outside references to our UWorld. If our UWorld changes, routines outside of UWorldCon...
Definition Engine.h:113
FORCEINLINE UWorld * World() const
Getter for variable m_ThisCurrentWorld.
Definition Engine.h:152
bool m_RunAsDedicated
Definition Engine.h:73
uint32_t m_AudioDeviceID
Definition Engine.h:85
FWorldContext()
A usual constructor.
Definition Engine.h:162
bool m_bWaitingOnOnlineSubsystem
Definition Engine.h:77
bool m_bIsPrimaryPIEInstance
Definition Engine.h:81
void SetCurrentWorld(UWorld *World)
Set CurrentWorld and update external reference pointers to reflect this.
Definition Engine.cpp:10
float PIEFixedTickSeconds
Definition Engine.h:93
KarmaVector< UWorld ** > m_ExternalReferences
Definition Engine.h:104