| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/InGameAdManager.h |
Include |
#include "Engine/InGameAdManager.h" |
class UInGameAdManager : public UPlatformInterfaceBase
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bShouldPauseWhileAdOpen |
If true, the game will pause when the user clicks on the ad, which could take over the screen |
|
ClickedBannerDelegates |
||
|
ClosedAdDelegates |
Name | Description | |
---|---|---|
|
UInGameAdManager ( |
Name | Description | ||
---|---|---|---|
|
AddClickedBannerDelegate ( |
Adds a delegate to the list of listeners |
|
|
AddClosedAdDelegate ( |
Adds a delegate to the list of listeners |
|
|
ClearClickedBannerDelegate ( |
Removes a delegate from the list of listeners |
|
|
ClearClosedAdDelegate ( |
Removes a delegate from the list of listeners |
|
|
ForceCloseAd() |
If the game absolutely must close an opened (clicked on) advertisement, call this function. |
|
|
HideBanner() |
Hides the advertisement banner shown with ShowInGameAdvertisementBanner. |
|
|
Init() |
Perform any needed initialization |
|
|
OnUserClickedBanner() |
Called by platform when the user clicks on the ad banner. |
|
|
OnUserClosedAd() |
Called by platform when an opened ad is closed. Will unpause the game before calling the delegates |
|
|
SetPauseWhileAdOpen ( |
Sets the value of bShouldPauseWhileAdOpen |
|
|
ShowBanner ( |
Allows the platform to put up an advertisement on top of the viewport. |