AActor::IsNetMode

Test whether net mode is the given mode.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h

Include

#include "GameFramework/Actor.h"

Syntax

bool IsNetMode
(
    ENetMode Mode
) const

Remarks

Test whether net mode is the given mode. In optimized non-editor builds this can be more efficient than GetNetMode() because it can check the static build flags without considering PIE.

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