ALobbyBeaconHost::ProcessKickPlayer

Handle a request from a client to kick another player (may not succeed)

Choose your operating system:

Windows

macOS

Linux

References

Module

Lobby

Header

/Engine/Plugins/Online/OnlineFramework/Source/Lobby/Public/LobbyBeaconHost.h

Include

#include "LobbyBeaconHost.h"

Source

/Engine/Plugins/Online/OnlineFramework/Source/Lobby/Private/LobbyBeaconHost.cpp

Syntax

virtual bool ProcessKickPlayer
(
    ALobbyBeaconClient * Instigator,
    const FUniqueNetIdRepl & PlayerToKick,
    const FText & Reason
)

Remarks

Handle a request from a client to kick another player (may not succeed)

Returns

true if the player was kicked, false if not

Parameters

Parameter

Description

Instigator

player making the request

PlayerToKick

id of the player to kick

Reason

reason for the kick