UGameFeaturesSubsystem

The manager subsystem for game features

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GameFeatures

Header

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

Include

#include "GameFeaturesSubsystem.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UGameFeaturesSubsystem : public UEngineSubsystem

Remarks

The manager subsystem for game features

Functions

Name Description

Public function

void

 

AddObserver

Public function

void

 

DeactivateGameFeaturePlugin

(
    const FString& PluginURL,
    const FGameFeaturePluginDeactivateC...
)

Deactivates the specified plugin

Public function

void

 

DeactivateGameFeaturePlugin

(
    const FString& PluginURL
)

Deactivates the specified plugin

Public function Const

void

 

ForEachActiveGameFeature

(
    Func InFunc
)

Calls the compile-time lambda on each loaded game feature data of the specified type

Public function Static

UGameFeature...

 

Get()

Public function

const UGameF...

 

GetGameFeatureDataForActivePluginByURL

(
    const FString& PluginURL
)

Returns the game feature data for the plugin specified by PluginURL

Public function

void

 

GetGameFeatureDataForActivePlugins

(
    TArray< const UGameFeatureData*...
)

Returns all the active plugins GameFeatureDatas

Public function

bool

 

GetGameFeaturePluginInstallPercent

(
    const FString& PluginURL,
    float& Install_Percent
)

Gets the Install_Percent for single game feature plugin if it is active.

Public function Const

void

 

GetLoadedGameFeaturePluginFilenamesForCooking

(
    TArray< FString >& OutLoadedPlugin...
)

Returns the list of plugin filenames that have progressed beyond installed.

Public function

FString

 

GetPluginFilenameFromPluginURL

(
    const FString& PluginURL
)

Get the plugin path from the plugin URL

Public function

bool

 

GetPluginURLForBuiltInPluginByName

(
    const FString& PluginName,
    FString& OutPluginURL
)

If the specified plugin is a built-in plugin, return the URL used to identify it.

Public function Const

T &

 

GetPolicy()

Returns the game-specific policy for managing game feature plugins

Public function

void

 

LoadAndActivateGameFeaturePlugin

(
    const FString& PluginURL,
    const FGameFeaturePluginLoadComplet...
)

Loads a single game feature plugin and activates it.

Public function

void

 

LoadBuiltInGameFeaturePlugins

Loads built-in game feature plugins that pass the specified filters

Public function Static

TSharedPtr< ...

 

LoadGameFeatureData

(
    const FString& GameFeatureToLoad
)

Loads the specified game feature data and its bundles

Public function Static

FGameFeature...

 

OnPluginDeactivatedDataReady()

Broadcasts when a plugin is deactivated

Public function Static

FGameFeature...

 

OnPluginLoadCompleteDataReady()

Broadcasts when a plugin is activated and the GameFeatureData is avaialble

Public function

void

 

RemoveObserver

Public function

void

 

UninstallGameFeaturePlugin

(
    const FString& PluginURL
)

Uninstall the specified game feature plugin.

Public function

void

 

UninstallGameFeaturePlugin

(
    const FString& PluginURL,
    const FGameFeaturePluginUninstallCo...
)

Uninstall the specified game feature plugin.

Public function

void

 

UnloadGameFeaturePlugin

(
    const FString& PluginURL,
    bool bKeepRegistered
)

Unloads the specified game feature plugin.

Public function

void

 

UnloadGameFeaturePlugin

(
    const FString& PluginURL,
    const FGameFeaturePluginUnloadCompl...,
    bool bKeepRegistered
)

Unloads the specified game feature plugin.

Overridden from USubsystem

Name Description

Public function Virtual

void

 

Deinitialize()

Implement this for deinitialization of instances of the system

Public function Virtual

void

 

Initialize

(
    FSubsystemCollectionBase& Collecti...
)

Implement this for initialization of instances of the system

Typedefs

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss