ENetMode

The network mode the game is currently running.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/EngineBaseTypes.h

Include

#include "Engine/EngineBaseTypes.h"

Syntax

enum ENetMode
{
    NM_Standalone,
    NM_DedicatedServer,
    NM_ListenServer,
    NM_Client,
    NM_MAX,
}

Values

Name

Description

NM_Standalone

Standalone: a game without networking, with one or more local players.

NM_DedicatedServer

Dedicated server: server with no local players.

NM_ListenServer

Listen server: a server that also has a local player who is hosting the game, available to other players on the network.

NM_Client

Network client: client connected to a remote server.

NM_MAX

Remarks

The network mode the game is currently running.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss