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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback