Documentation for the Unreal C++ Library
Loading...
Searching...
No Matches
UMultiplayerManagerComponent Class Reference

UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) More...

#include <MultiplayerManagerComponent.h>

Inheritance diagram for UMultiplayerManagerComponent:
[legend]

Public Member Functions

 UMultiplayerManagerComponent ()
 
bool FindSessions (float InTimeoutInSeconds=120.f, int InOrgId=-1, int InModuleId=-1, FString InUserName="", FString InModuleVersion="")
 UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")
 
virtual void OnGameServerChanged (const FGameServerResponse &Response)
 UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")
 
virtual void OnSessionCreated (FName SessionName, bool bSuccessful)
 UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")
 
void OnSetLabelFail (const FAgonesError &Error)
 UFUNCTION(Category = "Multiplayer | Manager")
 
void OnSetLabelSuccess (const FEmptyResponse &Response)
 UFUNCTION(Category = "Multiplayer | Manager")
 
void SetModuleInfo (int InModuleId, FString InModuleVersion)
 UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")
 
void SetUserInfo (FString InUserName, int InUserOrgId)
 UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")
 
virtual void TickComponent (float DeltaTime, ELevelTick TickType, FActorComponentTickFunction *ThisTickFunction) override
 

Public Attributes

bool bWasMetaDataSet
 UPROPERTY(BlueprintReadOnly)
 
FGameServerDelegate GameServerDelegate
 UPROPERTY(EditAnywhere, BlueprintReadWrite)
 

Protected Member Functions

virtual void BeginPlay () override
 

Protected Attributes

UAgonesComponent * AgonesSDK
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )

Definition at line 14 of file MultiplayerManagerComponent.h.

Constructor & Destructor Documentation

◆ UMultiplayerManagerComponent()

UMultiplayerManagerComponent::UMultiplayerManagerComponent ( )

Definition at line 16 of file MultiplayerManagerComponent.cpp.

Member Function Documentation

◆ BeginPlay()

void UMultiplayerManagerComponent::BeginPlay ( )
overrideprotectedvirtual

Definition at line 32 of file MultiplayerManagerComponent.cpp.

Here is the call graph for this function:

◆ FindSessions()

bool UMultiplayerManagerComponent::FindSessions ( float InTimeoutInSeconds = 120.f,
int InOrgId = -1,
int InModuleId = -1,
FString InUserName = "",
FString InModuleVersion = "" )
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")

Definition at line 193 of file MultiplayerManagerComponent.cpp.

◆ GENERATED_BODY()

UMultiplayerManagerComponent::GENERATED_BODY ( )
private

◆ OnGameServerChanged()

void UMultiplayerManagerComponent::OnGameServerChanged ( const FGameServerResponse & Response)
virtualBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")

Definition at line 94 of file MultiplayerManagerComponent.cpp.

Here is the caller graph for this function:

◆ OnSessionCreated()

void UMultiplayerManagerComponent::OnSessionCreated ( FName SessionName,
bool bSuccessful )
virtualBlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")

Definition at line 139 of file MultiplayerManagerComponent.cpp.

Here is the caller graph for this function:

◆ OnSetLabelFail()

void UMultiplayerManagerComponent::OnSetLabelFail ( const FAgonesError & Error)

UFUNCTION(Category = "Multiplayer | Manager")

Definition at line 81 of file MultiplayerManagerComponent.cpp.

Here is the caller graph for this function:

◆ OnSetLabelSuccess()

void UMultiplayerManagerComponent::OnSetLabelSuccess ( const FEmptyResponse & Response)

UFUNCTION(Category = "Multiplayer | Manager")

Definition at line 76 of file MultiplayerManagerComponent.cpp.

Here is the caller graph for this function:

◆ SetModuleInfo()

void UMultiplayerManagerComponent::SetModuleInfo ( int InModuleId,
FString InModuleVersion )
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")

Definition at line 181 of file MultiplayerManagerComponent.cpp.

Here is the call graph for this function:

◆ SetUserInfo()

void UMultiplayerManagerComponent::SetUserInfo ( FString InUserName,
int InUserOrgId )
BlueprintCallable

UFUNCTION(BlueprintCallable, Category = "Multiplayer | Manager")

Definition at line 169 of file MultiplayerManagerComponent.cpp.

Here is the call graph for this function:

◆ TickComponent()

void UMultiplayerManagerComponent::TickComponent ( float DeltaTime,
ELevelTick TickType,
FActorComponentTickFunction * ThisTickFunction )
overridevirtual

Definition at line 87 of file MultiplayerManagerComponent.cpp.

Member Data Documentation

◆ AgonesSDK

UAgonesComponent* UMultiplayerManagerComponent::AgonesSDK
protected

Definition at line 26 of file MultiplayerManagerComponent.h.

◆ bWasMetaDataSet

bool UMultiplayerManagerComponent::bWasMetaDataSet
BlueprintReadOnly

UPROPERTY(BlueprintReadOnly)

Definition at line 42 of file MultiplayerManagerComponent.h.

◆ GameServerDelegate

FGameServerDelegate UMultiplayerManagerComponent::GameServerDelegate
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite)

Definition at line 36 of file MultiplayerManagerComponent.h.


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