UGameViewportClient::NotifyPlayerRemoved

Notifies all interactions that a new player has been added to the list of active players.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/GameViewportClient.h

Include

#include "Engine/GameViewportClient.h"

Source

/Engine/Source/Runtime/Engine/Private/GameViewportClient.cpp

Syntax

virtual void NotifyPlayerRemoved
(
    int32 PlayerIndex,
    class ULocalPlayer * RemovedPlayer
)

Remarks

Notifies all interactions that a new player has been added to the list of active players.

Parameters

Parameter

Description

PlayerIndex

the index [into the GamePlayers array] where the player was located

RemovedPlayer

the player that was removed