Night Sky Engine
A fighting game framework made in Unreal Engine
Loading...
Searching...
No Matches
UNSESessionSubsystem Class Reference

#include <NSESessionSubsystem.h>

Inheritance diagram for UNSESessionSubsystem:
Collaboration diagram for UNSESessionSubsystem:

Public Member Functions

 UNSESessionSubsystem ()
void CreateSession (int32 NumPublicConnections, bool bIsLANMatch)
void UpdateSession ()
void StartSession ()
void DestroySession ()
void FindSessions (int32 MaxSearchResults, bool IsLANQuery)
void JoinGameSession_BP (FNSESessionInfo Info)
void JoinGameSession (const FOnlineSessionSearchResult &SessionResult)

Public Attributes

FNSEOnCreateSessionComplete OnCreateSessionCompleteDelegate
FNSEOnUpdateSessionComplete OnUpdateSessionCompleteEvent
FNSEOnStartSessionComplete OnStartSessionCompleteEvent
FNSEOnDestroySessionComplete OnDestroySessionCompleteEvent
FNSEOnFindSessionsComplete OnFindSessionsCompleteEvent
FNSEOnJoinSessionComplete OnJoinGameSessionCompleteEvent

Protected Member Functions

void OnCreateSessionComplete (FName SessionName, bool bSuccess)
void OnUpdateSessionComplete (FName SessionName, bool bSuccess)
void OnStartSessionComplete (FName SessionName, bool bSuccess)
void OnDestroySessionComplete (FName SessionName, bool bSuccess)
void OnFindSessionsComplete (bool bSuccess)
void OnJoinSessionComplete (FName SessionName, EOnJoinSessionCompleteResult::Type Result)
void OnSessionInviteAccepted (const bool bSuccess, const int32 ControllerId, FUniqueNetIdPtr UserId, const FOnlineSessionSearchResult &InviteResult)
bool TryTravelToCurrentSession ()

Detailed Description

Definition at line 43 of file NSESessionSubsystem.h.

Constructor & Destructor Documentation

◆ UNSESessionSubsystem()

UNSESessionSubsystem::UNSESessionSubsystem ( )

Definition at line 17 of file NSESessionSubsystem.cpp.

Member Function Documentation

◆ CreateSession()

void UNSESessionSubsystem::CreateSession ( int32 NumPublicConnections,
bool bIsLANMatch )

Definition at line 46 of file NSESessionSubsystem.cpp.

◆ DestroySession()

void UNSESessionSubsystem::DestroySession ( )

Definition at line 128 of file NSESessionSubsystem.cpp.

◆ FindSessions()

void UNSESessionSubsystem::FindSessions ( int32 MaxSearchResults,
bool IsLANQuery )

Definition at line 148 of file NSESessionSubsystem.cpp.

◆ JoinGameSession()

void UNSESessionSubsystem::JoinGameSession ( const FOnlineSessionSearchResult & SessionResult)

Definition at line 179 of file NSESessionSubsystem.cpp.

◆ JoinGameSession_BP()

void UNSESessionSubsystem::JoinGameSession_BP ( FNSESessionInfo Info)

Definition at line 174 of file NSESessionSubsystem.cpp.

◆ OnCreateSessionComplete()

void UNSESessionSubsystem::OnCreateSessionComplete ( FName SessionName,
bool bSuccess )
protected

Definition at line 203 of file NSESessionSubsystem.cpp.

◆ OnDestroySessionComplete()

void UNSESessionSubsystem::OnDestroySessionComplete ( FName SessionName,
bool bSuccess )
protected

Definition at line 233 of file NSESessionSubsystem.cpp.

◆ OnFindSessionsComplete()

void UNSESessionSubsystem::OnFindSessionsComplete ( bool bSuccess)
protected

Definition at line 243 of file NSESessionSubsystem.cpp.

◆ OnJoinSessionComplete()

void UNSESessionSubsystem::OnJoinSessionComplete ( FName SessionName,
EOnJoinSessionCompleteResult::Type Result )
protected

Definition at line 268 of file NSESessionSubsystem.cpp.

◆ OnSessionInviteAccepted()

void UNSESessionSubsystem::OnSessionInviteAccepted ( const bool bSuccess,
const int32 ControllerId,
FUniqueNetIdPtr UserId,
const FOnlineSessionSearchResult & InviteResult )
protected

Definition at line 280 of file NSESessionSubsystem.cpp.

◆ OnStartSessionComplete()

void UNSESessionSubsystem::OnStartSessionComplete ( FName SessionName,
bool bSuccess )
protected

Definition at line 223 of file NSESessionSubsystem.cpp.

◆ OnUpdateSessionComplete()

void UNSESessionSubsystem::OnUpdateSessionComplete ( FName SessionName,
bool bSuccess )
protected

Definition at line 213 of file NSESessionSubsystem.cpp.

◆ StartSession()

void UNSESessionSubsystem::StartSession ( )

Definition at line 108 of file NSESessionSubsystem.cpp.

◆ TryTravelToCurrentSession()

bool UNSESessionSubsystem::TryTravelToCurrentSession ( )
protected

Definition at line 295 of file NSESessionSubsystem.cpp.

◆ UpdateSession()

void UNSESessionSubsystem::UpdateSession ( )

Definition at line 81 of file NSESessionSubsystem.cpp.

Member Data Documentation

◆ OnCreateSessionCompleteDelegate

FNSEOnCreateSessionComplete UNSESessionSubsystem::OnCreateSessionCompleteDelegate

Definition at line 52 of file NSESessionSubsystem.h.

◆ OnDestroySessionCompleteEvent

FNSEOnDestroySessionComplete UNSESessionSubsystem::OnDestroySessionCompleteEvent

Definition at line 64 of file NSESessionSubsystem.h.

◆ OnFindSessionsCompleteEvent

FNSEOnFindSessionsComplete UNSESessionSubsystem::OnFindSessionsCompleteEvent

Definition at line 69 of file NSESessionSubsystem.h.

◆ OnJoinGameSessionCompleteEvent

FNSEOnJoinSessionComplete UNSESessionSubsystem::OnJoinGameSessionCompleteEvent

Definition at line 75 of file NSESessionSubsystem.h.

◆ OnStartSessionCompleteEvent

FNSEOnStartSessionComplete UNSESessionSubsystem::OnStartSessionCompleteEvent

Definition at line 60 of file NSESessionSubsystem.h.

◆ OnUpdateSessionCompleteEvent

FNSEOnUpdateSessionComplete UNSESessionSubsystem::OnUpdateSessionCompleteEvent

Definition at line 56 of file NSESessionSubsystem.h.


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