A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
APixoVRGameMode Class Reference

APixoVRGameMode is a custom game mode class that extends AGameMode and implements IPixoCoreInterface. Setup ExperienceManagerClass, so this class will create it on initialization with all managers inside ExperienceManager. More...

#include <PixoVRGameMode.h>

Inheritance diagram for APixoVRGameMode:
[legend]

Public Member Functions

 APixoVRGameMode ()
 
UExperienceManagerGetBaseExperienceManager () const
 Gets the reference to the base experience manager.
 
UBaseManagerGetManagerRef (TSubclassOf< UBaseManager > ManagerClass)
 Retrieves a reference to the specified manager class.
 
UBaseManagerGetManagerRef_Implementation (TSubclassOf< UBaseManager > ManagerClass)
 Implementation of the GetManagerRef function from the IPixoCoreInterface.
 
UStoryManagerGetStoryManager ()
 Retrieves the story manager.
 
UStreamingLevelManagerGetStreamingLevelManager ()
 Retrieves the streaming level manager.
 
virtual void InitGame (const FString &MapName, const FString &Options, FString &ErrorMessage) override
 Initializes the game mode and ExperienceManager.
 
virtual void Tick (float DeltaSeconds) override
 

Protected Attributes

UExperienceManagerExperienceManager = nullptr
 UPROPERTY()
 
TSubclassOf< UExperienceManagerExperienceManagerClass
 UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = Classes, DisplayName = ExperienceManager)
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

APixoVRGameMode is a custom game mode class that extends AGameMode and implements IPixoCoreInterface. Setup ExperienceManagerClass, so this class will create it on initialization with all managers inside ExperienceManager.

UCLASS()

Definition at line 18 of file PixoVRGameMode.h.

Constructor & Destructor Documentation

◆ APixoVRGameMode()

APixoVRGameMode::APixoVRGameMode ( )

Definition at line 5 of file PixoVRGameMode.cpp.

Member Function Documentation

◆ GENERATED_BODY()

APixoVRGameMode::GENERATED_BODY ( )
private

◆ GetBaseExperienceManager()

UExperienceManager * APixoVRGameMode::GetBaseExperienceManager ( ) const
inlineBlueprintCallable

Gets the reference to the base experience manager.

Returns
The reference to the base experience manager.

UFUNCTION(BlueprintCallable)

Definition at line 43 of file PixoVRGameMode.h.

◆ GetManagerRef()

UBaseManager * IPixoCoreInterface::GetManagerRef ( TSubclassOf< UBaseManager > ManagerClass)
inheritedBlueprintCallableBlueprintNativeEvent

Retrieves a reference to the specified manager class.

Parameters
ManagerClassThe class of the manager to retrieve.
Returns
A pointer to the manager instance.

UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Manager")

◆ GetManagerRef_Implementation()

UBaseManager * APixoVRGameMode::GetManagerRef_Implementation ( TSubclassOf< UBaseManager > ManagerClass)

Implementation of the GetManagerRef function from the IPixoCoreInterface.

Parameters
ManagerClassThe class of the manager.
Returns
The reference to the manager.

UFUNCTION()

Definition at line 31 of file PixoVRGameMode.cpp.

◆ GetStoryManager()

UStoryManager * IPixoCoreInterface::GetStoryManager ( )
inheritedBlueprintCallableBlueprintNativeEvent

Retrieves the story manager.

Returns
The story manager instance.

UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Manager")

◆ GetStreamingLevelManager()

UStreamingLevelManager * IPixoCoreInterface::GetStreamingLevelManager ( )
inheritedBlueprintCallableBlueprintNativeEvent

Retrieves the streaming level manager.

Returns
The streaming level manager instance.

UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Manager")

◆ InitGame()

void APixoVRGameMode::InitGame ( const FString & MapName,
const FString & Options,
FString & ErrorMessage )
overridevirtual

Initializes the game mode and ExperienceManager.

Parameters
MapNameThe name of the map.
OptionsThe game options.
ErrorMessageThe error message, if any.

Definition at line 11 of file PixoVRGameMode.cpp.

Here is the call graph for this function:

◆ Tick()

void APixoVRGameMode::Tick ( float DeltaSeconds)
overridevirtual

Definition at line 21 of file PixoVRGameMode.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ ExperienceManager

UExperienceManager* APixoVRGameMode::ExperienceManager = nullptr
protected

UPROPERTY()

Definition at line 65 of file PixoVRGameMode.h.

◆ ExperienceManagerClass

TSubclassOf<UExperienceManager> APixoVRGameMode::ExperienceManagerClass
protectedBlueprintReadWriteEditDefaultsOnly

UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = Classes, DisplayName = ExperienceManager)

Definition at line 60 of file PixoVRGameMode.h.


The documentation for this class was generated from the following files: