Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
AShooterGameSession Struct Reference

#include <GameState.h>

+ Inheritance diagram for AShooterGameSession:
+ Collaboration diagram for AShooterGameSession:

Public Member Functions

TArray< FInstalledItemInfo > & CachedModsField ()
 
TArray< FShooterSessionData > & ThreadSafeSearchResultsField ()
 
FShooterGameSessionParams & CurrentSessionParamsField ()
 
TSharedPtr< FShooterOnlineSessionSettings, 0 > & HostSettingsField ()
 
TSharedPtr< FShooterOnlineSearchSettings, 0 > & SearchSettingsField ()
 
bool & bFoundSessionField ()
 
FStringApproveLogin (FString *result, FString *Options, FString *authToken, unsigned int *NewHomeServerId)
 
void CancelFindSessions ()
 
bool FPlayerJoinAllowedCheck (bool UseReservedSlots)
 
void FindSessions (TSharedPtr< FUniqueNetId, 0 > UserId, FName SessionName, bool bIsLAN, bool bIsPresence, bool bRecreateSearchSettings, EListSessionStatus::Type FindType, bool bQueryNotFullSessions, bool bPasswordServers, const wchar_t *ServerName, FString ClusterId, FString AtlasId, FString ServerId, FString AuthListURL)
 
EOnlineAsyncTaskState::Type GetSearchResultStatus (int *SearchResultIdx, int *NumSearchResults)
 
TArray< FOnlineSessionSearchResult > * GetSearchResults ()
 
void HandleMatchHasEnded ()
 
void HandleMatchHasStarted ()
 
void InitOptions (FString *Options)
 
bool IsPlayerPendingHomeServerChange (FString PlayerId, unsigned int *RequestedNewHomeServer)
 
bool FPlayerJoinAllowedCheck ()
 
bool JoinSession (TSharedPtr< FUniqueNetId, 0 > UserId, FName SessionName, FOnlineSessionSearchResult *SearchResult)
 
bool JoinSession (TSharedPtr< FUniqueNetId, 0 > UserId, FName SessionName, int SessionIndexInSearchResults)
 
void OnCreateSessionComplete (FName SessionName, bool bWasSuccessful)
 
void OnDestroySessionComplete (FName SessionName, bool bWasSuccessful)
 
void RegisterServer ()
 
void RemovePlayerPendingHomeServerChange (FString PlayerId)
 
void Restart ()
 
void SerializeServerIsFull (FMemoryArchive *Ar, char *ServerIsFull)
 
void Tick (float __formal)
 
bool FPlayerJoinAllowedCheck (AShooterGameSession *pGameSession)
 
void TickPlayersJoinAllowedChecks ()
 
bool TravelToSession (int ControllerId, FName SessionName)
 
TArray< FInstalledItemInfo > & CachedModsField ()
 
TArray< FShooterSessionData > & ThreadSafeSearchResultsField ()
 
TArray< UNetConnection * > FailedAuthTokenClientConnectionsField ()
 
TArray< FUniqueNetIdUInt64 > & FailedAuthTokenClientUniqueIDsField ()
 
FShooterGameSessionParams & CurrentSessionParamsField ()
 
TSharedPtr< FShooterOnlineSessionSettings, 0 > & HostSettingsField ()
 
TSharedPtr< FShooterOnlineSearchSettings, 0 > & SearchSettingsField ()
 
bool & bFoundSessionField ()
 
void OnStartOnlineGameComplete (FName SessionName, bool bWasSuccessful)
 
void HandleMatchHasStarted ()
 
void HandleMatchHasEnded ()
 
TArray< FOnlineSessionSearchResult > * GetSearchResults ()
 
void OnCreateSessionComplete (FName SessionName, bool bWasSuccessful)
 
void OnDestroySessionComplete (FName SessionName, bool bWasSuccessful)
 
void DelayedSessionDelete ()
 
void InitOptions (FString *Options)
 
void RegisterServer ()
 
void UpdatePublishedSession ()
 
FStringApproveLogin (FString *result, FString *Options, FString *authToken)
 
void OnCheckAuthTokenComplete (bool bWasSuccessful, FUniqueNetId *UserId)
 
void OnNumConnectedPlayersChanged (int NewPlayersCount)
 
void Tick (float __formal)
 
void OnFindSessionsComplete (bool bWasSuccessful)
 
void OnFoundSession ()
 
void BroadcastFoundSessionEvent ()
 
void CancelFindSessions ()
 
bool JoinSession (TSharedPtr< FUniqueNetId, 0 > UserId, FName SessionName, int SessionIndexInSearchResults)
 
bool JoinSession (TSharedPtr< FUniqueNetId, 0 > UserId, FName SessionName, FOnlineSessionSearchResult *SearchResult)
 
bool TravelToSession (int ControllerId, FName SessionName)
 
void Restart ()
 
- Public Member Functions inherited from AGameSession
int & MaxSpectatorsField ()
 
int & MaxPlayersField ()
 
char & ReservedPlayerSlotsField ()
 
char & MaxSplitscreensPerConnectionField ()
 
bool & bRequiresPushToTalkField ()
 
FNameSessionNameField ()
 
bool RequiresPushToTalk ()
 
FStringApproveLogin (FString *result, FString *Options, FString *authToken, unsigned int *NewHomeServerId)
 
bool AtCapacity (bool bSpectator, FString *AuthToken, bool UseReservedSlots, int *NumFreeSlots)
 
bool BanPlayer (APlayerController *BannedPlayer, FText *BanReason)
 
void DumpSessionState ()
 
void InitOptions (FString *Options)
 
bool KickPlayer (APlayerController *KickedPlayer, FText *KickReason)
 
void NotifyLogout (APlayerController *PC)
 
void OnLoginComplete (int LocalUserNum, bool bWasSuccessful, FUniqueNetId *UserId, FString *Error)
 
bool ProcessAutoLogin ()
 
void RegisterPlayer (APlayerController *NewPlayer, TSharedPtr< FUniqueNetId, 0 > *UniqueId, bool bWasFromInvite)
 
void ReturnToMainMenuHost ()
 
bool TravelToSession (int ControllerId, FName InSessionName)
 
void UnregisterPlayer (APlayerController *ExitingPlayer)
 
void UpdateSessionJoinability (FName InSessionName, bool bPublicSearchable, bool bAllowInvites, bool bJoinViaPresence, bool bJoinViaPresenceFriendsOnly)
 
int & MaxSpectatorsField ()
 
int & MaxPlayersField ()
 
char & MaxSplitscreensPerConnectionField ()
 
bool & bRequiresPushToTalkField ()
 
FNameSessionNameField ()
 
bool RequiresPushToTalk ()
 
void InitOptions (FString *Options)
 
bool ProcessAutoLogin ()
 
void OnLoginComplete (int LocalUserNum, bool bWasSuccessful, FUniqueNetId *UserId, FString *Error)
 
FStringApproveLogin (FString *result, FString *Options, FString *authToken)
 
void RegisterPlayer (APlayerController *NewPlayer, TSharedPtr< FUniqueNetId, 0 > *UniqueId, bool bWasFromInvite)
 
void UnregisterPlayer (APlayerController *ExitingPlayer)
 
bool AtCapacity (bool bSpectator, FString *AuthToken)
 
void NotifyLogout (APlayerController *PC)
 
bool KickPlayer (APlayerController *KickedPlayer, FText *KickReason)
 
void BanPlayer ()
 
void ReturnToMainMenuHost ()
 
bool TravelToSession (int ControllerId, FName InSessionName)
 
void UpdateSessionJoinability (FName InSessionName, bool bPublicSearchable, bool bAllowInvites, bool bJoinViaPresence, bool bJoinViaPresenceFriendsOnly)
 

Static Public Member Functions

static AShooterGameSession DelayedSessionDelete ()
 
static AShooterGameSession OnFindSessionsComplete ()
 
static AShooterGameSession OnFoundSession ()
 
static AShooterGameSession OnJoinSessionComplete ()
 
static AShooterGameSession OnNumConnectedPlayersChanged ()
 
static AShooterGameSession OnStartOnlineGameComplete ()
 
static void SerializeServerIsFull (UWorld *World, FMemoryArchive *Ar, char *ServerIsFull)
 
static AShooterGameSession UpdatePublishedSession ()
 
static UClassGetPrivateStaticClass (const wchar_t *Package)
 
static UClassStaticClass ()
 
static UClassGetPrivateStaticClass (const wchar_t *Package)
 
- Static Public Member Functions inherited from AGameSession
static UClassGetPrivateStaticClass (const wchar_t *Package)
 

Detailed Description

Definition at line 403 of file GameState.h.

Member Function Documentation

◆ ApproveLogin() [1/2]

FString * AShooterGameSession::ApproveLogin ( FString * result,
FString * Options,
FString * authToken )
inline

Definition at line 364 of file GameState.h.

◆ ApproveLogin() [2/2]

FString * AShooterGameSession::ApproveLogin ( FString * result,
FString * Options,
FString * authToken,
unsigned int * NewHomeServerId )
inline

Definition at line 423 of file GameState.h.

◆ bFoundSessionField() [1/2]

bool & AShooterGameSession::bFoundSessionField ( )
inline

Definition at line 349 of file GameState.h.

◆ bFoundSessionField() [2/2]

bool & AShooterGameSession::bFoundSessionField ( )
inline

Definition at line 416 of file GameState.h.

◆ BroadcastFoundSessionEvent()

void AShooterGameSession::BroadcastFoundSessionEvent ( )
inline

Definition at line 370 of file GameState.h.

◆ CachedModsField() [1/2]

TArray< FInstalledItemInfo > & AShooterGameSession::CachedModsField ( )
inline

Definition at line 342 of file GameState.h.

◆ CachedModsField() [2/2]

TArray< FInstalledItemInfo > & AShooterGameSession::CachedModsField ( )
inline

Definition at line 406 of file GameState.h.

◆ CancelFindSessions() [1/2]

void AShooterGameSession::CancelFindSessions ( )
inline

Definition at line 371 of file GameState.h.

◆ CancelFindSessions() [2/2]

void AShooterGameSession::CancelFindSessions ( )
inline

Definition at line 424 of file GameState.h.

◆ CurrentSessionParamsField() [1/2]

FShooterGameSessionParams & AShooterGameSession::CurrentSessionParamsField ( )
inline

Definition at line 346 of file GameState.h.

◆ CurrentSessionParamsField() [2/2]

FShooterGameSessionParams & AShooterGameSession::CurrentSessionParamsField ( )
inline

Definition at line 409 of file GameState.h.

◆ DelayedSessionDelete() [1/2]

void AShooterGameSession::DelayedSessionDelete ( )
inline

Definition at line 360 of file GameState.h.

◆ DelayedSessionDelete() [2/2]

static AShooterGameSession AShooterGameSession::DelayedSessionDelete ( )
inlinestatic

Definition at line 426 of file GameState.h.

◆ FailedAuthTokenClientConnectionsField()

TArray< UNetConnection * > AShooterGameSession::FailedAuthTokenClientConnectionsField ( )
inline

Definition at line 344 of file GameState.h.

◆ FailedAuthTokenClientUniqueIDsField()

TArray< FUniqueNetIdUInt64 > & AShooterGameSession::FailedAuthTokenClientUniqueIDsField ( )
inline

Definition at line 345 of file GameState.h.

◆ FindSessions()

void AShooterGameSession::FindSessions ( TSharedPtr< FUniqueNetId, 0 > UserId,
FName SessionName,
bool bIsLAN,
bool bIsPresence,
bool bRecreateSearchSettings,
EListSessionStatus::Type FindType,
bool bQueryNotFullSessions,
bool bPasswordServers,
const wchar_t * ServerName,
FString ClusterId,
FString AtlasId,
FString ServerId,
FString AuthListURL )
inline

Definition at line 427 of file GameState.h.

◆ FPlayerJoinAllowedCheck() [1/3]

bool AShooterGameSession::FPlayerJoinAllowedCheck ( )
inline

Definition at line 434 of file GameState.h.

◆ FPlayerJoinAllowedCheck() [2/3]

bool AShooterGameSession::FPlayerJoinAllowedCheck ( AShooterGameSession * pGameSession)
inline

Definition at line 451 of file GameState.h.

◆ FPlayerJoinAllowedCheck() [3/3]

bool AShooterGameSession::FPlayerJoinAllowedCheck ( bool UseReservedSlots)
inline

Definition at line 425 of file GameState.h.

◆ GetPrivateStaticClass() [1/2]

static UClass * AShooterGameSession::GetPrivateStaticClass ( const wchar_t * Package)
inlinestatic

Definition at line 376 of file GameState.h.

◆ GetPrivateStaticClass() [2/2]

static UClass * AShooterGameSession::GetPrivateStaticClass ( const wchar_t * Package)
inlinestatic

Definition at line 455 of file GameState.h.

◆ GetSearchResults() [1/2]

TArray< FOnlineSessionSearchResult > * AShooterGameSession::GetSearchResults ( )
inline

Definition at line 357 of file GameState.h.

◆ GetSearchResults() [2/2]

TArray< FOnlineSessionSearchResult > * AShooterGameSession::GetSearchResults ( )
inline

Definition at line 429 of file GameState.h.

◆ GetSearchResultStatus()

EOnlineAsyncTaskState::Type AShooterGameSession::GetSearchResultStatus ( int * SearchResultIdx,
int * NumSearchResults )
inline

Definition at line 428 of file GameState.h.

◆ HandleMatchHasEnded() [1/2]

void AShooterGameSession::HandleMatchHasEnded ( )
inline

Definition at line 356 of file GameState.h.

◆ HandleMatchHasEnded() [2/2]

void AShooterGameSession::HandleMatchHasEnded ( )
inline

Definition at line 430 of file GameState.h.

◆ HandleMatchHasStarted() [1/2]

void AShooterGameSession::HandleMatchHasStarted ( )
inline

Definition at line 355 of file GameState.h.

◆ HandleMatchHasStarted() [2/2]

void AShooterGameSession::HandleMatchHasStarted ( )
inline

Definition at line 431 of file GameState.h.

◆ HostSettingsField() [1/2]

TSharedPtr< FShooterOnlineSessionSettings, 0 > & AShooterGameSession::HostSettingsField ( )
inline

Definition at line 347 of file GameState.h.

◆ HostSettingsField() [2/2]

TSharedPtr< FShooterOnlineSessionSettings, 0 > & AShooterGameSession::HostSettingsField ( )
inline

Definition at line 410 of file GameState.h.

◆ InitOptions() [1/2]

void AShooterGameSession::InitOptions ( FString * Options)
inline

Definition at line 361 of file GameState.h.

◆ InitOptions() [2/2]

void AShooterGameSession::InitOptions ( FString * Options)
inline

Definition at line 432 of file GameState.h.

◆ IsPlayerPendingHomeServerChange()

bool AShooterGameSession::IsPlayerPendingHomeServerChange ( FString PlayerId,
unsigned int * RequestedNewHomeServer )
inline

Definition at line 433 of file GameState.h.

◆ JoinSession() [1/4]

bool AShooterGameSession::JoinSession ( TSharedPtr< FUniqueNetId, 0 > UserId,
FName SessionName,
FOnlineSessionSearchResult * SearchResult )
inline

Definition at line 373 of file GameState.h.

◆ JoinSession() [2/4]

bool AShooterGameSession::JoinSession ( TSharedPtr< FUniqueNetId, 0 > UserId,
FName SessionName,
FOnlineSessionSearchResult * SearchResult )
inline

Definition at line 435 of file GameState.h.

◆ JoinSession() [3/4]

bool AShooterGameSession::JoinSession ( TSharedPtr< FUniqueNetId, 0 > UserId,
FName SessionName,
int SessionIndexInSearchResults )
inline

Definition at line 372 of file GameState.h.

◆ JoinSession() [4/4]

bool AShooterGameSession::JoinSession ( TSharedPtr< FUniqueNetId, 0 > UserId,
FName SessionName,
int SessionIndexInSearchResults )
inline

Definition at line 436 of file GameState.h.

◆ OnCheckAuthTokenComplete()

void AShooterGameSession::OnCheckAuthTokenComplete ( bool bWasSuccessful,
FUniqueNetId * UserId )
inline

Definition at line 365 of file GameState.h.

◆ OnCreateSessionComplete() [1/2]

void AShooterGameSession::OnCreateSessionComplete ( FName SessionName,
bool bWasSuccessful )
inline

Definition at line 358 of file GameState.h.

◆ OnCreateSessionComplete() [2/2]

void AShooterGameSession::OnCreateSessionComplete ( FName SessionName,
bool bWasSuccessful )
inline

Definition at line 438 of file GameState.h.

◆ OnDestroySessionComplete() [1/2]

void AShooterGameSession::OnDestroySessionComplete ( FName SessionName,
bool bWasSuccessful )
inline

Definition at line 359 of file GameState.h.

◆ OnDestroySessionComplete() [2/2]

void AShooterGameSession::OnDestroySessionComplete ( FName SessionName,
bool bWasSuccessful )
inline

Definition at line 439 of file GameState.h.

◆ OnFindSessionsComplete() [1/2]

static AShooterGameSession AShooterGameSession::OnFindSessionsComplete ( )
inlinestatic

Definition at line 440 of file GameState.h.

◆ OnFindSessionsComplete() [2/2]

void AShooterGameSession::OnFindSessionsComplete ( bool bWasSuccessful)
inline

Definition at line 368 of file GameState.h.

◆ OnFoundSession() [1/2]

void AShooterGameSession::OnFoundSession ( )
inline

Definition at line 369 of file GameState.h.

◆ OnFoundSession() [2/2]

static AShooterGameSession AShooterGameSession::OnFoundSession ( )
inlinestatic

Definition at line 441 of file GameState.h.

◆ OnJoinSessionComplete()

static AShooterGameSession AShooterGameSession::OnJoinSessionComplete ( )
inlinestatic

Definition at line 442 of file GameState.h.

◆ OnNumConnectedPlayersChanged() [1/2]

static AShooterGameSession AShooterGameSession::OnNumConnectedPlayersChanged ( )
inlinestatic

Definition at line 443 of file GameState.h.

◆ OnNumConnectedPlayersChanged() [2/2]

void AShooterGameSession::OnNumConnectedPlayersChanged ( int NewPlayersCount)
inline

Definition at line 366 of file GameState.h.

◆ OnStartOnlineGameComplete() [1/2]

static AShooterGameSession AShooterGameSession::OnStartOnlineGameComplete ( )
inlinestatic

Definition at line 444 of file GameState.h.

◆ OnStartOnlineGameComplete() [2/2]

void AShooterGameSession::OnStartOnlineGameComplete ( FName SessionName,
bool bWasSuccessful )
inline

Definition at line 354 of file GameState.h.

◆ RegisterServer() [1/2]

void AShooterGameSession::RegisterServer ( )
inline

Definition at line 362 of file GameState.h.

◆ RegisterServer() [2/2]

void AShooterGameSession::RegisterServer ( )
inline

Definition at line 445 of file GameState.h.

◆ RemovePlayerPendingHomeServerChange()

void AShooterGameSession::RemovePlayerPendingHomeServerChange ( FString PlayerId)
inline

Definition at line 446 of file GameState.h.

◆ Restart() [1/2]

void AShooterGameSession::Restart ( )
inline

Definition at line 375 of file GameState.h.

◆ Restart() [2/2]

void AShooterGameSession::Restart ( )
inline

Definition at line 447 of file GameState.h.

◆ SearchSettingsField() [1/2]

TSharedPtr< FShooterOnlineSearchSettings, 0 > & AShooterGameSession::SearchSettingsField ( )
inline

Definition at line 348 of file GameState.h.

◆ SearchSettingsField() [2/2]

TSharedPtr< FShooterOnlineSearchSettings, 0 > & AShooterGameSession::SearchSettingsField ( )
inline

Definition at line 411 of file GameState.h.

◆ SerializeServerIsFull() [1/2]

void AShooterGameSession::SerializeServerIsFull ( FMemoryArchive * Ar,
char * ServerIsFull )
inline

Definition at line 448 of file GameState.h.

◆ SerializeServerIsFull() [2/2]

static void AShooterGameSession::SerializeServerIsFull ( UWorld * World,
FMemoryArchive * Ar,
char * ServerIsFull )
inlinestatic

Definition at line 449 of file GameState.h.

◆ StaticClass()

static UClass * AShooterGameSession::StaticClass ( )
inlinestatic

Definition at line 353 of file GameState.h.

◆ ThreadSafeSearchResultsField() [1/2]

TArray< FShooterSessionData > & AShooterGameSession::ThreadSafeSearchResultsField ( )
inline

Definition at line 343 of file GameState.h.

◆ ThreadSafeSearchResultsField() [2/2]

TArray< FShooterSessionData > & AShooterGameSession::ThreadSafeSearchResultsField ( )
inline

Definition at line 407 of file GameState.h.

◆ Tick() [1/2]

void AShooterGameSession::Tick ( float __formal)
inline

Definition at line 367 of file GameState.h.

◆ Tick() [2/2]

void AShooterGameSession::Tick ( float __formal)
inline

Definition at line 450 of file GameState.h.

◆ TickPlayersJoinAllowedChecks()

void AShooterGameSession::TickPlayersJoinAllowedChecks ( )
inline

Definition at line 452 of file GameState.h.

◆ TravelToSession() [1/2]

bool AShooterGameSession::TravelToSession ( int ControllerId,
FName SessionName )
inline

Definition at line 374 of file GameState.h.

◆ TravelToSession() [2/2]

bool AShooterGameSession::TravelToSession ( int ControllerId,
FName SessionName )
inline

Definition at line 453 of file GameState.h.

◆ UpdatePublishedSession() [1/2]

void AShooterGameSession::UpdatePublishedSession ( )
inline

Definition at line 363 of file GameState.h.

◆ UpdatePublishedSession() [2/2]

static AShooterGameSession AShooterGameSession::UpdatePublishedSession ( )
inlinestatic

Definition at line 454 of file GameState.h.


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