UDefaultGameFeaturesProjectPolicies

This is a default implementation that immediately processes all game feature plugins the based on their BuiltInAutoRegister, BuiltInAutoLoad, and BuiltInAutoActivate settings.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

GameFeatures

Header

/Engine/Plugins/Experimental/GameFeatures/Source/GameFeatures/Public/GameFeaturesProjectPolicies.h

Include

#include "GameFeaturesProjectPolicies.h"

Syntax

UCLASS()
class UDefaultGameFeaturesProjectPolicies : public UGameFeaturesProjectPolicies

Remarks

This is a default implementation that immediately processes all game feature plugins the based on their BuiltInAutoRegister, BuiltInAutoLoad, and BuiltInAutoActivate settings.

It will be used if no project-specific policy is set in Project Settings .. Game Features

Overridden from UGameFeaturesProjectPolicies

Name Description

Public function Virtual Const

void

 

GetGameFeatureLoadingMode

(
    bool& bLoadClientData,
    bool& bLoadServerData
)

Called to determine if this should be treated as a client, server, or both for data preloading Actions can use this to decide what to load at runtime

Public function Virtual Const

const TArray...

 

GetPreloadBundleStateForGameFeature()

Returns the bundle state to use for assets returned by GetPreloadAssetListForGameFeature() See the Asset Manager documentation for more information about asset bundles

Public function Virtual

void

 

InitGameFeatureManager()

Called when the game feature manager is initialized.