UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
InGameAdManager.h File Reference
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Engine/PlatformInterfaceBase.h"
#include "InGameAdManager.generated.h"

Go to the source code of this file.

Classes

class  UInGameAdManager
 

Enumerations

enum  EAdManagerDelegate : int { AMD_ClickedBanner , AMD_UserClosedAd , AMD_MAX }
 

Functions

 DECLARE_DYNAMIC_DELEGATE (FOnUserClickedBanner)
 
 DECLARE_DYNAMIC_DELEGATE (FOnUserClosedAdvertisement)
 

Enumeration Type Documentation

◆ EAdManagerDelegate

This object is responsible for the display and callbacks associated with handling ingame advertisements

Enumerator
AMD_ClickedBanner 
AMD_UserClosedAd 
AMD_MAX 

Function Documentation

◆ DECLARE_DYNAMIC_DELEGATE() [1/2]

DECLARE_DYNAMIC_DELEGATE ( FOnUserClickedBanner  )

Delegate called when user clicks on an banner ad. Base class already handles pausing, so a delegate is only needed if you need extra handling. If you set it to a PC or other actor function, make sure to set it back when switching levels.

◆ DECLARE_DYNAMIC_DELEGATE() [2/2]

DECLARE_DYNAMIC_DELEGATE ( FOnUserClosedAdvertisement  )

Delegate called when user closes an ad (after clicking on banner). Base class already handles pausing, so a delegate is only needed if you need extra handling. If you set it to a PC or other actor function, make sure to set it back when switching levels.