AActor::IsNetMode

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.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h