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

APixoVRGameState is a custom game state class that extends AGameState. More...

#include <PixoVRGameState.h>

Inheritance diagram for APixoVRGameState:
[legend]

Public Member Functions

 APixoVRGameState ()
 
virtual void GetLifetimeReplicatedProps (TArray< FLifetimeProperty > &OutLifetimeProps) const override
 
bool HasGameSessionStarted () const
 Checks if the game session has started.
 
void ServerStartGameSession ()
 Server-side function to start the game session.
 

Private Member Functions

 GENERATED_BODY ()
 

Private Attributes

bool bIsGameSession
 Indicates whether the game session has started.
 

Detailed Description

APixoVRGameState is a custom game state class that extends AGameState.

UCLASS()

Definition at line 15 of file PixoVRGameState.h.

Constructor & Destructor Documentation

◆ APixoVRGameState()

APixoVRGameState::APixoVRGameState ( )

Definition at line 6 of file PixoVRGameState.cpp.

Member Function Documentation

◆ GENERATED_BODY()

APixoVRGameState::GENERATED_BODY ( )
private

◆ GetLifetimeReplicatedProps()

void APixoVRGameState::GetLifetimeReplicatedProps ( TArray< FLifetimeProperty > & OutLifetimeProps) const
overridevirtual

Definition at line 21 of file PixoVRGameState.cpp.

◆ HasGameSessionStarted()

bool APixoVRGameState::HasGameSessionStarted ( ) const
inlineBlueprintCallable

Checks if the game session has started.

Returns
True if the game session has started, false otherwise.

UFUNCTION(BlueprintCallable, Category = "Session")

Definition at line 41 of file PixoVRGameState.h.

◆ ServerStartGameSession()

void APixoVRGameState::ServerStartGameSession ( )
ReliableWithValidationServer

Server-side function to start the game session.

UFUNCTION(Server, Reliable, WithValidation)

Member Data Documentation

◆ bIsGameSession

bool APixoVRGameState::bIsGameSession
privateReplicated

Indicates whether the game session has started.

UPROPERTY(Replicated)

Definition at line 53 of file PixoVRGameState.h.


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