Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/GameSession.h |
Include |
#include "GameFramework/GameSession.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameSession.cpp |
virtual bool KickPlayer
(
APlayerController * KickedPlayer,
const FText & KickReason
)
Forcibly remove player from the server
true if player was able to be kicked, false otherwise
Parameter |
Description |
---|---|
KickedPlayer |
player to kick |
KickReason |
text reason to display to player |