UPlatformGameInstance

Inheritance Hierarchy

Syntax

class UPlatformGameInstance : public UGameInstance

Remarks

UObject based class for handling mobile events. Having this object as an option gives the app lifetime access to these global delegates. The component UApplicationLifecycleComponent is destroyed at level loads

Variables

Name Description

Public variable

FPlatformFailed ...

 

ApplicationFailedToRegisterForRemoteNotificationsDelegate

Called when the application fails to register for remote notifications

Public variable

FPlatformDelega ...

 

ApplicationHasEnteredForegroundDelegate

Called when the application is returning to the foreground (reverse any processing done in the EnterBackground delegate)

Public variable

FPlatformDelega ...

 

ApplicationHasReactivatedDelegate

Called when the application has been reactivated (reverse any processing done in the Deactivate delegate)

Public variable

FPlatformReceiv ...

 

ApplicationReceivedLocalNotificationDelegate

Called when the application receives a local notification

Public variable

FPlatformReceiv ...

 

ApplicationReceivedRemoteNotificationDelegate

Called when the application receives a remote notification

Public variable

FPlatformScreen ...

 

ApplicationReceivedScreenOrientationChangedNotificationDelegate

Called when the application receives a screen orientation change notification

Public variable

FPlatformStartu ...

 

ApplicationReceivedStartupArgumentsDelegate

Called with arguments passed to the application on statup, perhaps meta data passed on by another application which launched this one.

Public variable

FPlatformRegist ...

 

ApplicationRegisteredForRemoteNotificationsDelegate

Called when the user grants permission to register for remote notifications

Public variable

FPlatformRegist ...

 

ApplicationRegisteredForUserNotificationsDelegate

Called when the user grants permission to register for notifications

Public variable

FPlatformDelega ...

 

ApplicationShouldUnloadResourcesDelegate

Called when the OS is running low on resources and asks the application to free up any cached resources, drop graphics quality etc.

Public variable

FPlatformDelega ...

 

ApplicationWillDeactivateDelegate

This is called when the application is about to be deactivated (e.g., due to a phone call or SMS or the sleep button).

Public variable

FPlatformDelega ...

 

ApplicationWillEnterBackgroundDelegate

This is called when the application is being backgrounded (e.g., due to switching to another app or closing it via the home button) The game should release shared resources, save state, etc..., since it can be terminated from the background state without any further warning.

Public variable

FPlatformDelega ...

 

ApplicationWillTerminateDelegate

This may be called when the application is getting terminated by the OS.

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

Called before destroying the object.

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Classes

References

Module

Engine

Header

Runtime/Engine/Classes/Kismet/BlueprintPlatformLibrary.h