Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | FLevelEditorPlayNetworkEmulationSettings |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Settings/LevelEditorPlayNetworkEmulationSettings.h |
| Include Path | #include "Settings/LevelEditorPlayNetworkEmulationSettings.h" |
Syntax
USTRUCT ()
struct FLevelEditorPlayNetworkEmulationSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsNetworkEmulationEnabled | bool | When true will apply the emulation settings when launching the game. | Settings/LevelEditorPlayNetworkEmulationSettings.h |
|
| CurrentProfile | FString | The profile name of the settings currently applied. | Settings/LevelEditorPlayNetworkEmulationSettings.h |
|
| EmulationTarget | NetworkEmulationTarget | Settings/LevelEditorPlayNetworkEmulationSettings.h |
|
|
| InPackets | FNetworkEmulationPacketSettings | Settings that add latency and packet loss to all incoming packets. | Settings/LevelEditorPlayNetworkEmulationSettings.h |
|
| OutPackets | FNetworkEmulationPacketSettings | Settings that add latency and packet loss to all outgoing packets. | Settings/LevelEditorPlayNetworkEmulationSettings.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString BuildPacketSettingsForCmdLine() |
Convert the PIE settings into CmdLine settings | Settings/LevelEditorPlayNetworkEmulationSettings.h | |
FString BuildPacketSettingsForURL() |
Convert the PIE settings into URL settings | Settings/LevelEditorPlayNetworkEmulationSettings.h | |
void ConvertToNetDriverSettings
(
FPacketSimulationSettings& OutNetDriverSettings |
Convert the PIE settings into NetDriver settings | Settings/LevelEditorPlayNetworkEmulationSettings.h | |
bool IsCustomProfile() |
Settings/LevelEditorPlayNetworkEmulationSettings.h | ||
bool IsEmulationEnabledForTarget
(
NetworkEmulationTarget CurrentTarget |
Settings/LevelEditorPlayNetworkEmulationSettings.h | ||
void OnPostEditChange
(
FPropertyChangedEvent& PropertyChangedEvent |
Settings/LevelEditorPlayNetworkEmulationSettings.h | ||
void OnPostInitProperties() |
Settings/LevelEditorPlayNetworkEmulationSettings.h |