Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/GameModeBase.h |
Include |
#include "GameFramework/GameModeBase.h" |
Source |
/Engine/Source/Runtime/Engine/Private/GameModeBase.cpp |
virtual bool SetPause
(
APlayerController * PC,
FCanUnpause CanUnpauseDelegate
)
Adds the delegate to the list if the player Controller has the right to pause the game. The delegate is called to see if it is ok to unpause the game, e.g. the reason the game was paused has been cleared.
Parameter |
Description |
---|---|
PC |
the player Controller to check for admin privs |
CanUnpauseDelegate |
the delegate to query when checking for unpause |