43#include "CoreMinimal.h"
44#include "Impl/HiveAuthV4Impl.h"
45#include "Impl/HiveAuthV4HelperImpl.h"
47HIVESDK_API IHiveAuthV4Impl* GetAuthV4Instance();
48HIVESDK_API IHiveAuthV4HelperImpl* GetAuthV4HelperInstance();
126 static void Setup(
const FHiveAuthV4OnSetupDelegate& Delegate);
194 static void SignInWithAuthKey(
const FString& AuthKey,
const FHiveAuthV4OnSignInDelegate& Delegate);
217 static void SignOut(
const FHiveAuthV4OnSignOutDelegate& Delegate);
240 static void PlayerDelete(
const FHiveAuthV4OnSignOutDelegate& Delegate);
396 static void ConnectWithAuthKey(
const FString& AuthKey,
const FHiveAuthV4OnConnectDelegate& Delegate);
433 static void DisconnectWithName(
const FString& ProviderName,
const FHiveAuthV4OnDisconnectDelegate& Delegate);
467 static void SelectConflict(int64 SelectedPlayerId,
const FHiveAuthV4OnSignInDelegate& Delegate);
502 static void ShowConflictSelection(
const FHiveConflictViewData& ConflictViewData,
const FHiveAuthV4OnSignInDelegate& Delegate);
576 static void CheckMaintenance(
bool IsShow,
const FHiveAuthV4OnMaintenanceInfoDelegate& Delegate);
607 static void CheckBlacklist(
bool IsShow,
const FHiveAuthV4OnMaintenanceInfoDelegate& Delegate);
661 static void ShowSignIn(
const FHiveAuthV4OnSignInDelegate& Delegate);
682 static void ShowInquiry(
const FHiveAuthV4OnShowInquiryDelegate& Delegate);
700 static void ShowChatbotInquiry(
const FString& AdditionalInfo,
const FHiveAuthV4OnShowInquiryDelegate& Delegate);
719 static void ShowMyInquiry(
const FHiveAuthV4OnShowInquiryDelegate& Delegate);
744 static void ShowTerms(
const FHiveAuthV4OnShowTermsDelegate& Delegate);
790 static void GetProfile(
const TArray<int64> PlayerIdArray,
const FHiveAuthV4OnGetProfileDelegate& Delegate);
815 static void ShowProfile(int64 PlayerId,
const FHiveAuthV4OnShowProfileDelegate& Delegate);
949 static void ShowGameCenterLoginCancelDialog(
const FHiveAuthV4OnAuthV4DialogDismissDelegate& Delegate);
969 static bool GetAgeGateU13();
1041 class HIVESDK_API Helper
1256 static void SignIn(
const FHiveAuthV4HelperDelegate& Delegate);
1327 static void SignOut(
const FHiveAuthV4HelperDelegate& Delegate);
2049 static void AchievementsIncrement(
const FString& AchievementId, int64 value,
const FHiveAuthV4HelperDelegate& Delegate);
2260 static void ShowConflict(
const FHiveConflictSingleViewData& ViewData,
const FHiveAuthV4HelperDelegate& Delegate);
Provides HIVE SDK initialization and HIVE authentication functions The HIVE SDK performs initializat...
Definition: HiveAuthV4.h:84
static void AchievementsReveal(const FString &achievementId, const FHiveAuthV4HelperDelegate &Delegate)
Reveal hidden achievement.
static void LeaderboardsSubmitScore(const FString &LeaderboardId, int64 value, const FHiveAuthV4HelperDelegate &Delegate)
It update the leaderboard score.
static void SyncAccount(const EHiveProviderType &ProviderType, const FHiveAuthV4HelperDelegate &Delegate)
Helps to inform whether accounts conflict or not when executing the provided as well as other APIs.
static void Connect(const EHiveProviderType &ProviderType, const FHiveAuthV4HelperDelegate &Delegate)
Provider Connection
static void ShowConflict(const FHiveConflictSingleViewData &ViewData, const FHiveAuthV4HelperDelegate &Delegate)
Displays conflict status, and HIVE UI which is available to select an account as well as shows game i...
static void PlayerDelete(const FHiveAuthV4HelperDelegate &Delegate)
사용자 삭제
static void ShowConflict(const FHiveAuthV4HelperDelegate &Delegate)
Displays conflict status, and HIVE UI avilable to select an account.
static void AchievementsIncrement(const FString &AchievementId, int64 value, const FHiveAuthV4HelperDelegate &Delegate)
Increases achievement figures.
static void SignIn(const FHiveAuthV4HelperDelegate &Delegate)
Player sign-in
static void Disconnect(const EHiveProviderType &ProviderType, const FHiveAuthV4HelperDelegate &Delegate)
Provider disconnetion
static void SignOut(const FHiveAuthV4HelperDelegate &Delegate)
Player sign-out
static void AchievementsUnlock(const FString &achievementId, const FHiveAuthV4HelperDelegate &Delegate)
Unlock achievement.
static void SwitchAccount(const FHiveAuthV4HelperDelegate &Delegate)
If accounts conflict, sign out the current player and try to sign in with the account signed in on t...
static void ShowAchievements(const FHiveAuthV4HelperDelegate &Delegate)
Queries Achievements
static TArray< EHiveProviderType > GetIDPList()
Receives the Provider lists sent by SDK.
static void ShowGameCenterLoginCancelDialog(const FHiveAuthV4HelperOnDialogDismissDelegate &Delegate)
If a sign-in window of Game Center is not displayed, show its status and display a UI to inform how ...
static void ShowLeaderboard(const FHiveAuthV4HelperDelegate &Delegate)
Queries leaderboard
static void ResolveConflict(const FHiveAuthV4HelperDelegate &Delegate)
In case it is not changed the currently signed-in account after accounts conflict.
static void SignOut(const FHiveAuthV4OnSignOutDelegate &Delegate)
it remove the local session.
static void ShowDeviceManagement(const FHiveAuthV4OnShowDeviceManagementDelegate &Delegate)
It shows the device management UI.
static void CheckMaintenance(bool IsShow, const FHiveAuthV4OnMaintenanceInfoDelegate &Delegate)
It display maintenance status and return its data.
static void CheckProvider(const EHiveProviderType &ProviderType, const FHiveAuthV4OnCheckProviderDelegate &Delegate)
It check the status of the requested Provider.
static void DisconnectWithName(const FString &ProviderName, const FHiveAuthV4OnDisconnectDelegate &Delegate)
Releases the currently signed-in user from the requested custom provider.
static TOptional< FHivePlayerInfo > GetPlayerInfo()
It returns information about the currently signed-in user.
static void ShowInquiry(const FHiveAuthV4OnShowInquiryDelegate &Delegate)
It shows the 1: 1 query UI.
static void ShowProfile(int64 PlayerId, const FHiveAuthV4OnShowProfileDelegate &Delegate)
It display the profile UI of the requested playerId.
static void ResolveConflict(const FHiveAuthV4OnResolveConflictDelegate &Delegate)
It resolve the account conflicts(CONFLICT_PLAYER) caused by connect () call.
static void ShowSignIn(const FHiveAuthV4OnSignInDelegate &Delegate)
It shows the UI with a list of providers that can sign-in.
static void ShowTerms(const FHiveAuthV4OnShowTermsDelegate &Delegate)
It shows HIVE Terms and Conditions.
static void ConnectWithAuthKey(const FString &AuthKey, const FHiveAuthV4OnConnectDelegate &Delegate)
Requests connect with authKey gained from customized provider login implementation.
static void SetProviderChangedListener(const FHiveAuthV4OnCheckProviderDelegate &Delegate)
It set a handler to be notified whether the information of the linked Provider has changed.
static void GetHiveTalkPlusLoginToken(const FHiveAuthV4OnGetHiveTalkPlusLoginTokenDelegate &Delegate)
Get the required login token when logging in to HiveTalkPlus.
static void Setup(const FHiveAuthV4OnSetupDelegate &Delegate)
AuthV4 Perform initialization.
static void PlayerDelete(const FHiveAuthV4OnSignOutDelegate &Delegate)
Delete the account and remove the local session.
static void SignIn(const EHiveProviderType &ProviderType, const FHiveAuthV4OnSignInDelegate &Delegate)
Requests signIn according to the given providerType.
EHiveProviderType
Provider Types AUTO is for Automatic Login If the result of isAutoSignIn() call is true,...
Definition: HiveAuthV4Types.h:29
static void CheckBlacklist(bool IsShow, const FHiveAuthV4OnMaintenanceInfoDelegate &Delegate)
it check the restriction status of the current user.
static void Connect(const EHiveProviderType &ProviderType, const FHiveAuthV4OnConnectDelegate &Delegate)
It connects to the currently requested provider for the currently signed-in user.
static bool IsAutoSignIn()
It returns whether signIn (AUTO) is enabled.
static void ShowMyInquiry(const FHiveAuthV4OnShowInquiryDelegate &Delegate)
It shows the 1: 1 query UI.
static void GetProfile(const TArray< int64 > PlayerIdArray, const FHiveAuthV4OnGetProfileDelegate &Delegate)
it returns the profile information of the requested playerIds.
static void SignInWithAuthKey(const FString &AuthKey, const FHiveAuthV4OnSignInDelegate &Delegate)
Requests signIn with authKey gained from customized provider login implementation.
static void RefreshAccessToken(const FHiveAuthV4OnRefreshAccessTokenDelegate &Delegate)
Get the required access token when logging in to Hive.
static void ResetAgreement()
Initialize data related to agreement to terms.
static void ShowChatbotInquiry(const FString &AdditionalInfo, const FHiveAuthV4OnShowInquiryDelegate &Delegate)
Show HIVE Chatbot 1:1 inquiry
static void SelectConflict(int64 SelectedPlayerId, const FHiveAuthV4OnSignInDelegate &Delegate)
When an account conflict (CONFLICT_PLAYER) occurs due to connect, it notify the selected user to the ...
static void ShowAdultConfirm(const FHiveAuthV4OnAdultConfirmDelegate &Delegate)
It request adult authentication.
static void ShowConflictSelection(const FHiveConflictViewData &ConflictViewData, const FHiveAuthV4OnSignInDelegate &Delegate)
It shows UI to select user in conflict state.
static void GetProviderFriendsList(const EHiveProviderType &ProviderType, const FHiveAuthV4OnGetProviderFriendsListDelegate &Delegate)
It returns the playerId list information of the friends of the connected user corresponding to the in...
static void Disconnect(const EHiveProviderType &ProviderType, const FHiveAuthV4OnDisconnectDelegate &Delegate)
Releases the currently signed-in user from the requested provider.