UGameInstance::RemoveLocalPlayer

Syntax

bool RemoveLocalPlayer
(
    ULocalPlayer * ExistingPlayer
)

Remarks

Removes a player.

Returns

whether the player was successfully removed. Removal is not allowed while connected to a server.

Parameters

Parameter

Description

Player

The player to remove.

References

Module

Engine

Header

Runtime/Engine/Classes/Engine/GameInstance.h

Source

Runtime/Engine/Private/GameInstance.cpp