Skip to content

Commit

Permalink
Update OnlineIntegration plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Nov 10, 2023
1 parent 8cb7948 commit 9914295
Show file tree
Hide file tree
Showing 17 changed files with 222 additions and 250 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,8 @@

FString FCommonSessionCreationSettings::GetMapName() const{ return FString(); }
FString FCommonSessionCreationSettings::ConstructTravelURL() const{ return FString(); }
FString UCommonSession_SearchResult::GetDescription() const{ return FString(); }
void UCommonSession_SearchResult::GetStringSetting(FName Key, FString& Value, bool& bFoundValue) const{ }
void UCommonSession_SearchResult::GetIntSetting(FName Key, int32& Value, bool& bFoundValue) const{ }
int32 UCommonSession_SearchResult::GetNumOpenPrivateConnections() const{ return int32(); }
int32 UCommonSession_SearchResult::GetNumOpenPublicConnections() const{ return int32(); }
int32 UCommonSession_SearchResult::GetMaxPublicConnections() const{ return int32(); }
int32 UCommonSession_SearchResult::GetPingInMs() const{ return int32(); }
void UCommonSession_SearchSessionRequest::NotifySearchFinished(bool bSucceeded, const FText& ErrorMessage){ }
UOnlineAsyncOperation* UCommonSessionSubsystem::CreateSessionCreationSequence(const FCommonSessionCreationSettings &SessionSettings){ return nullptr; }
UCommonSession_SearchSessionRequest* UCommonSessionSubsystem::CreateOnlineSearchSessionRequest(){ return nullptr; }
void UCommonSessionSubsystem::JoinSession(APlayerController* JoiningPlayer, UCommonSession_SearchResult* Request){ }
USessionMigrationSequence* UCommonSessionSubsystem::CreateSessionCreationSequence(const FCommonSessionCreationSettings &SessionSettings, TScriptInterface<ISessionCreationInteractionHandler> InteractionHandler){ return nullptr; }
USessionMigrationSequence* UCommonSessionSubsystem::CreateSessionJoiningSequence(APlayerController* Player, FCommonSession Session){ return nullptr; }
void UCommonSessionSubsystem::CleanUpSessions(){ }
void UCommonSessionSubsystem::InviteFriendToGameSession(const UOnlineFriend* OnlineFriend){ }
void UCommonSessionSubsystem::RespondToGameInvite(APlayerController* Player, UOnlineFriend* OnlineFriend, bool bAccept){ }
Expand All @@ -30,7 +21,8 @@ UE::Online::FOnlineSessionId UCommonSessionSubsystem::MakeOnlineSessionId(const
FString UCommonSessionSubsystem::OnlineSessionIdToString(UE::Online::FOnlineSessionId SessionId){ return FString(); }
TFuture<UE::Online::TOnlineResult<UE::Online::FLeaveSession>> UCommonSessionSubsystem::DestroySession(ULocalUserInfo* LocalUserInfo, FName SessionName, EOnlineIntegrationUnmappedContext Context){ return TFuture<UE::Online::TOnlineResult<UE::Online::FLeaveSession>>(); }
TFuture<UE::Online::TOnlineResult<UE::Online::FCreateSession>> UCommonSessionSubsystem::CreateSession(ULocalUserInfo* LocalUserInfo, FName SessionName, EOnlineIntegrationUnmappedContext Context, const FCommonSessionCreationSettings& Settings){ return TFuture<UE::Online::TOnlineResult<UE::Online::FCreateSession>>(); }
TFuture<UE::Online::TOnlineResult<UE::Online::FAddSessionMember>> UCommonSessionSubsystem::AddSessionMember(UE::Online::FAccountId User, FName SessionName, EOnlineIntegrationUnmappedContext Context){ return TFuture<UE::Online::TOnlineResult<UE::Online::FAddSessionMember>>(); }
TFuture<UE::Online::TOnlineResult<UE::Online::FAddSessionMember>> UCommonSessionSubsystem::AddSessionMember(UE::Online::FAccountId User, FName SessionName){ return TFuture<UE::Online::TOnlineResult<UE::Online::FAddSessionMember>>(); }
TFuture<UE::Online::TOnlineResult<UE::Online::FRemoveSessionMember>> UCommonSessionSubsystem::RemoveSessionMember(UE::Online::FAccountId User, FName SessionName){ return TFuture<UE::Online::TOnlineResult<UE::Online::FRemoveSessionMember>>(); }
FString UCommonSessionSubsystem::GetStringAttributeFromSession(const FCommonSession& Session, FName Key) const{ return FString(); }
int64 UCommonSessionSubsystem::GetIntAttributeFromSession(const FCommonSession& Session, FName Key) const{ return int64(); }
double UCommonSessionSubsystem::GetDoubleAttributeFromSession(const FCommonSession& Session, FName Key) const{ return double(); }
Expand All @@ -39,26 +31,15 @@ bool UCommonSessionSubsystem::IsValidSession(const FCommonSession& Session){ ret
TSharedPtr<const UE::Online::ISession> UCommonSessionSubsystem::GetSession(const FCommonSession& SessionHandle) const{ return TSharedPtr<const UE::Online::ISession>(); }
FDelegateHandle UCommonSessionSubsystem::AddOnSessionUpdateReceivedDelegate(const FOnCommonSessionUpdateReceived::FDelegate& Delegate){ return FDelegateHandle(); }
void UCommonSessionSubsystem::RemoveSessionUpdateReceivedDelegate(FDelegateHandle Handle){ }
void UCommonSessionSubsystem::JoinStartupSession(ULocalUserInfo* LocalUserInfo, FName SessionName){ }
void UCommonSessionSubsystem::Initialize(FSubsystemCollectionBase& Collection){ }
void UCommonSessionSubsystem::Deinitialize(){ }
void UCommonSessionSubsystem::HandleSessionUpdated(const UE::Online::FSessionUpdated& SessionUpdated, EOnlineIntegrationUnmappedContext Context) const{ }
void UCommonSessionSubsystem::TravelLocalSessionFailure(UWorld* World, ETravelFailure::Type FailureType, const FString& ReasonString){ }
void UCommonSessionSubsystem::HandlePostLoadMap(UWorld* World){ }
void UCommonSessionSubsystem::OnOnlineContextCreated(){ }
void UCommonSessionSubsystem::FindSessionsInternal(APlayerController* SearchingPlayer, const TSharedRef<FCommonOnlineSearchSettings>& InSearchSettings){ }
void UCommonSessionSubsystem::JoinSessionInternal(ULocalPlayer* LocalPlayer, UCommonSession_SearchResult* Request){ }
void UCommonSessionSubsystem::InternalTravelToSession(const FName SessionName){ }
void UCommonSessionSubsystem::NotifyUserRequestedSession(const FPlatformUserId& PlatformUserId, UCommonSession_SearchResult* RequestedSession,
const FOnlineResultInformation& RequestedSessionResult){ }
void UCommonSessionSubsystem::NotifyJoinSessionComplete(const FOnlineResultInformation& Result){ }
void UCommonSessionSubsystem::NotifyCreateSessionComplete(const FOnlineResultInformation& Result){ }
void UCommonSessionSubsystem::FindSessionsInternalOSSv2(ULocalPlayer* LocalPlayer){ }
void UCommonSessionSubsystem::JoinSessionInternalOSSv2(ULocalPlayer* LocalPlayer, UCommonSession_SearchResult* Request){ }
UE::Online::ISessionsPtr UCommonSessionSubsystem::GetSessionsInterface(EOnlineIntegrationUnmappedContext Context) const{ return UE::Online::ISessionsPtr(); }
void UCommonSessionSubsystem::CleanUpSessionsOSSv2(){ }
void UCommonSessionSubsystem::OnSessionJoinRequested(const UE::Online::FUILobbyJoinRequested& EventParams){ }
UE::Online::FAccountId UCommonSessionSubsystem::GetAccountId(APlayerController* PlayerController) const{ return UE::Online::FAccountId(); }
UE::Online::FLobbyId UCommonSessionSubsystem::GetLobbyId(const FName SessionName) const{ return UE::Online::FLobbyId(); }
void UCommonSessionSubsystem::UpdatePresencePostLoadMap(UWorld* World){ }
void UCommonSessionStatics::FetchFriendSession( UOnlineFriend* Friend, const FOnFetchFriendSessionComplete& CompletionDelegate){ }
void UCommonSessionStatics::JoinSession(APlayerController* PlayerController, const FCommonSession& Session){ }
USessionMigrationSequence* UCommonSessionStatics::JoinSession(APlayerController* PlayerController, const FCommonSession& Session){ return nullptr; }
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ UE_DEFINE_GAMEPLAY_TAG(FCommonUserTags::Platform_Trait_SingleOnlineUser, TEXT("P

void UCommonUserSubsystem::Initialize(FSubsystemCollectionBase& Collection){ }
void UCommonUserSubsystem::Deinitialize(){ }
void UCommonUserSubsystem::WhenLocalUserInfoIsCreated(FOnLocalUserInfoCreated::FDelegate Delegate, int32 PlayerIndex){ }
void UCommonUserSubsystem::SendSystemMessage(FGameplayTag MessageType, FText TitleText, FText BodyText){ }
void UCommonUserSubsystem::WhenLocalUserInfoIsCreated(FOnLocalUserInfoCreated Delegate, int32 PlayerIndex){ }
void UCommonUserSubsystem::WhenLocalUserInfoIsCreated_Native(FOnLocalUserInfoCreated_Native::FDelegate Delegate, int32 PlayerIndex){ }
void UCommonUserSubsystem::SetMaxLocalPlayers(int32 InMaxLocalPLayers){ }
int32 UCommonUserSubsystem::GetMaxLocalPlayers() const{ return int32(); }
int32 UCommonUserSubsystem::GetNumLocalPlayers() const{ return int32(); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
ULocalUserInfo::ULocalUserInfo(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { }
bool ULocalUserInfo::IsLoggedIn(EOnlineIntegrationUnmappedContext Context) const{ return bool(); }
ECommonUserLoginStatus ULocalUserInfo::GetLoginStatus(EOnlineIntegrationUnmappedContext Context) const{ return ECommonUserLoginStatus(); }
ECommonUserPrivilegeResult ULocalUserInfo::GetCachedPrivilegeResult(ECommonUserPrivilege Privilege,
EOnlineIntegrationMappedContext Context) const{ return ECommonUserPrivilegeResult(); }
ECommonUserAvailability ULocalUserInfo::GetPrivilegeAvailability(ECommonUserPrivilege Privilege) const{ return ECommonUserAvailability(); }
FUniqueNetIdRepl ULocalUserInfo::GetNetId(EOnlineIntegrationMappedContext Context) const{ return FUniqueNetIdRepl(); }
FUniqueNetIdRepl ULocalUserInfo::GetNetId(EOnlineIntegrationUnmappedContext Context) const{ return FUniqueNetIdRepl(); }
FString ULocalUserInfo::GetMappedContextNickname(EOnlineIntegrationMappedContext Context) const{ return FString(); }
Expand All @@ -31,7 +28,7 @@ void ULocalUserInfo::HandleSessionJoined(const UE::Online::FSessionJoined& Sessi
void ULocalUserInfo::HandleSessionLeft(const UE::Online::FSessionLeft& SessionLeft, EOnlineIntegrationUnmappedContext Context){ }
void ULocalUserInfo::HandleSessionUpdated(const UE::Online::FSessionUpdated& SessionUpdated, EOnlineIntegrationUnmappedContext Context){ }
void ULocalUserInfo::HandleUISessionJoinRequested(const UE::Online::FUISessionJoinRequested& SessionJoinRequested, EOnlineIntegrationUnmappedContext Context){ }
void ULocalUserInfo::SetPresenceJoinability(EOnlineUserPresenceJoinability Joinability) const{ }
void ULocalUserInfo::SetPresenceJoinability(EOnlineUserPresenceJoinability Joinability, FOnlineIntegrationInternalAccessKey&&) const{ }
void ULocalUserInfo::SetPresenceValue(const FString& Key, const FString& Value) const{ }
void ULocalUserInfo::ClearPresenceProperty(const FString& Key) const{ }
void ULocalUserInfo::SetPresenceString(const FString& InPresenceString) const{ }
Expand All @@ -43,6 +40,8 @@ void ULocalUserInfo::SetGameSession(const FCommonSession &Session, FOnlineIntegr
void ULocalUserInfo::SetNATType(const ECommonUserNATType InNATType, FOnlineIntegrationInternalAccessKey&&){ }
void ULocalUserInfo::SetCurrentAuthenticationSequence( UOnlineAuthenticationSequence* AuthenticationSequence, FOnlineIntegrationInternalAccessKey&&){ }
void ULocalUserInfo::SetHasLinkedAccount(bool bHasLinkedAccount, FOnlineIntegrationInternalAccessKey&&){ }
void ULocalUserInfo::SetCanPlayPrivilegeAvailability(const ECommonUserPrivilegeAvailability& Availability, FOnlineIntegrationInternalAccessKey&&){ }
void ULocalUserInfo::SetCanPlayOnlinePrivilegeAvailability(const ECommonUserPrivilegeAvailability& Availability, FOnlineIntegrationInternalAccessKey&&){ }
void ULocalUserInfo::OnLoginStatusChanged(TSharedRef<UE::Online::FAccountInfo> AccountInfo, EOnlineIntegrationUnmappedContext Context, FOnlineIntegrationInternalAccessKey&&){ }
void ULocalUserInfo::NotifyFriendPresenceUpdated(UOnlineFriend* OnlineFriend){ }
void ULocalUserInfo::RelationshipUpdated(const UE::Online::FRelationshipUpdated& RelationshipUpdated, EOnlineIntegrationUnmappedContext Context){ }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@

bool UOnlineAsyncOperation::Start(){ return bool(); }
void UOnlineAsyncOperation::Cancel(){ }
FDelegateHandle UOnlineAsyncOperation::AddOperationFinishedDelegate(FOnOnlineAsyncOperationCompleted::FDelegate &&Delegate){ return FDelegateHandle(); }
FDelegateHandle UOnlineAsyncOperation::AddOperationFinishedDelegate(FOnOnlineAsyncOperationCompleted_Native::FDelegate &&Delegate){ return FDelegateHandle(); }
void UOnlineAsyncOperation::NotifySequenceFinished(){ }
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const FGameplayTagContainer& UOnlineIntegrationComponent::GetTraitTags() const{
bool UOnlineIntegrationComponent::HasTraitTag(const FGameplayTag& Tag) const{ return bool(); }
UOnlineIntegrationSubsystem* UOnlineIntegrationComponent::GetOnlineIntegration() const{ return nullptr; }
bool UOnlineIntegrationSubsystem::ShouldWaitForStartInput() const{ return bool(); }
UE::Online::EOnlineServices UOnlineIntegrationSubsystem::GetOnlineServicesProvider(EOnlineIntegrationMappedContext Context) const{ return UE::Online::EOnlineServices(); }
UE::Online::EOnlineServices UOnlineIntegrationSubsystem::GetOnlineServicesProvider(EOnlineIntegrationUnmappedContext Context) const{ return UE::Online::EOnlineServices(); }
EOnlineIntegrationUnmappedContext UOnlineIntegrationSubsystem::GetServiceProviderContext(UE::Online::EOnlineServices ServiceProvider) const{ return EOnlineIntegrationUnmappedContext(); }
UE::Online::EOnlineServicesConnectionStatus UOnlineIntegrationSubsystem::GetConnectionStatus(EOnlineIntegrationMappedContext Context) const{ return UE::Online::EOnlineServicesConnectionStatus(); }
bool UOnlineIntegrationSubsystem::HasOnlineConnection(EOnlineIntegrationMappedContext Context) const{ return bool(); }
bool UOnlineIntegrationSubsystem::HasExternalServiceContext() const{ return bool(); }
Expand All @@ -31,6 +32,9 @@ FOnlineContextCache* UOnlineIntegrationSubsystem::GetUnmappedContextCache(EOnlin
bool UOnlineIntegrationSubsystem::HasInitializedBackend() const{ return bool(); }
bool UOnlineIntegrationSubsystem::CreateOnlineContexts(const FOnlineIntegrationPlatformSettings& Settings, FOnlineIntegrationInternalAccessKey&& AccessToken){ return bool(); }
EOnlineIntegrationUnmappedContext UOnlineIntegrationSubsystem::ResolveOnlineContext(EOnlineIntegrationMappedContext Context) const{ return EOnlineIntegrationUnmappedContext(); }
EOnlineIntegrationUnmappedContext UOnlineIntegrationSubsystem::GetComplementaryContext(EOnlineIntegrationUnmappedContext Context) const{ return EOnlineIntegrationUnmappedContext(); }
void UOnlineIntegrationSubsystem::ShutdownProcess(){ }
void UOnlineIntegrationSubsystem::RestartProcess(){ }
void UOnlineIntegrationSubsystem::Initialize(FSubsystemCollectionBase& Collection){ }
bool UOnlineIntegrationSubsystem::ShouldCreateSubsystem(UObject* Outer) const{ return bool(); }
void UOnlineIntegrationSubsystem::Deinitialize(){ }
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file has been automatically generated by the Unreal Header Implementation tool

#include "OnlineAuthenticationHandler.h"
#include "OnlineInteractionHandlers.h"

void IOnlineAuthenticationHandler::ProgressUpdate(const FText& Status){ }
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This file has been automatically generated by the Unreal Header Implementation tool

#include "SessionMigrationSequence.h"

void USessionMigrationSequence::Cancel(){ }
void USessionMigrationSequence::DestroySession(TSharedRef<FControlFlowNode>, ULocalUserInfo* LocalUser, EOnlineIntegrationUnmappedContext Context){ }
void USessionMigrationSequence::NotifySessionSetupComplete() const{ }
void USessionMigrationSequence::BindTravelDelegates(){ }
void USessionMigrationSequence::TravelLocalSessionFailure(UWorld* World, ETravelFailure::Type FailureType, const FString& ReasonString){ }
void USessionMigrationSequence::HandlePostLoadMap(UWorld* World){ }
Loading

0 comments on commit 9914295

Please sign in to comment.