Navigation
API > API/Runtime > API/Runtime/Engine
FLevelInstanceID is a runtime unique id that is computed from the Hash of LevelInstance Actor Guid and all its ancestor LevelInstance Actor Guids. Resulting in a different ID for all instances whether they load the same level or not.
| Name | FLevelInstanceID |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/LevelInstance/LevelInstanceTypes.h |
| Include Path | #include "LevelInstance/LevelInstanceTypes.h" |
Syntax
struct FLevelInstanceID
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| LevelInstance/LevelInstanceTypes.h | |||
FLevelInstanceID
(
ULevelInstanceSubsystem* LevelInstanceSubsystem, |
LevelInstance/LevelInstanceTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorName | FName | Name allows distinguishing between LevelInstances with embedded parent LevelInstances because embedded actors have a guaranteed unique name (ContainerID suffix) | LevelInstance/LevelInstanceTypes.h | |
| ContainerID | FActorContainerID | LevelInstance/LevelInstanceTypes.h | ||
| Hash | uint64 | LevelInstance/LevelInstanceTypes.h | ||
| PackageShortName | FString | PackageShortName allows distinguising between instanced LevelInstances of the same source level. | LevelInstance/LevelInstanceTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FActorContainerID & GetContainerID() |
LevelInstance/LevelInstanceTypes.h | ||
uint64 GetHash() |
LevelInstance/LevelInstanceTypes.h | ||
bool IsValid() |
LevelInstance/LevelInstanceTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FLevelInstanceID& Other |
LevelInstance/LevelInstanceTypes.h | ||
bool operator==
(
const FLevelInstanceID& Other |
LevelInstance/LevelInstanceTypes.h |