Strix Unreal SDK
PIEHelper.h
1 /*
2  * Copyright 2019 Soft Gear Co., Ltd. All Rights Reserved.
3  *
4  * See https://strixengine.com/en/terms-of-use/ for full license details.
5  */
6 #pragma once
7 
8 #include "Engine/GameInstance.h"
9 
13 class PIEHelper
14 {
15 public:
20  static int32 GetPIEIdFromGameInstance(UGameInstance* gameInstance);
21 
22 
27  static int32 GetPIEIdFromWorldContextObject(const UObject* worldContextObject);
28 };
static int32 GetPIEIdFromGameInstance(UGameInstance *gameInstance)
Get the Play In Editor instance Id from the Game Instance object.
Definition: PIEHelper.cpp:10
static int32 GetPIEIdFromWorldContextObject(const UObject *worldContextObject)
Get the Play In Editor instance Id from a world context object.
Definition: PIEHelper.cpp:18
Class containing various utility functions for managing PIE (Play In Editor) instances.
Definition: PIEHelper.h:13