Nelaric Unreal Gameplay
Gameplay framework API
Loading...
Searching...
No Matches
ANelaricGameModeBase Class Reference

Base game mode for NelaricGameplay worlds. More...

#include <NelaricGameModeBase.h>

Inheritance diagram for ANelaricGameModeBase:

Public Member Functions

GAMEPLAYRUNTIME_API ANelaricGameModeBase ()
 Selects the project's player controller for this game mode.
GAMEPLAYRUNTIME_API bool CanAcceptTransition () const
 Reports whether this server can accept a transition.
virtual GAMEPLAYRUNTIME_API void StartPlay () override
 Starts the target approval beacon on an online server.

Public Attributes

int32 TransitionBeaconListenPort = 15000
 Port on which this server listens for transition approval beacons.

Detailed Description

Base game mode for NelaricGameplay worlds.

The server owns this actor for its world lifetime. It selects ANelaricPlayerController by default and hosts destination approval requests. Access game mode state on the game thread.

Member Function Documentation

◆ CanAcceptTransition()

GAMEPLAYRUNTIME_API bool ANelaricGameModeBase::CanAcceptTransition ( ) const

Reports whether this server can accept a transition.

Call on the authoritative game thread. This temporary implementation returns true until the active WorldStartupConfig can be retrieved and its MaxPlayers policy applied.

Returns
True while destination capacity integration is pending.

◆ StartPlay()

virtual GAMEPLAYRUNTIME_API void ANelaricGameModeBase::StartPlay ( )
overridevirtual

Starts the target approval beacon on an online server.

Unreal calls this on the authoritative game thread.


The documentation for this class was generated from the following file: