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 BanPlayer
(
APlayerController * BannedPlayer,
const FText & BanReason
)
Forcibly remove player from the server and ban them permanently
true if player was able to be banned, false otherwise
Parameter |
Description |
---|---|
BannedPlayer |
player to ban |
KickReason |
text reason to display to player |