AGameModeBase::MustSpectate

Returns true if NewPlayerController may only join the server as a spectator.

References

Module

Engine

Header

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

Include

#include "GameFramework/GameModeBase.h"

Syntax

bool MustSpectate
(
    APlayerController * NewPlayerController
) const

Remarks

Returns true if NewPlayerController may only join the server as a spectator.

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