Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AGameSession
References
| Module | Engine |
| 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
&40;
APlayerController &42; KickedPlayer,
const FText & KickReason
&41;
Remarks
Forcibly remove player from the server true if player was able to be kicked, false otherwise
Parameters
| Name | Description |
|---|---|
| KickedPlayer | player to kick |
| KickReason | text reason to display to player |