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);
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);
HIVE SDK 초기화 및 HIVE 인증 기능을 제공한다 HIVE SDK 는 xml 설정 파일을 기반으로 초기화를 수행한다.
Definition: HiveAuthV4.h:84
static void AchievementsReveal(const FString &achievementId, const FHiveAuthV4HelperDelegate &Delegate)
숨겨진 업적 공개.
static void LeaderboardsSubmitScore(const FString &LeaderboardId, int64 value, const FHiveAuthV4HelperDelegate &Delegate)
리더보드 점수를 갱신.
static void SyncAccount(const EHiveProviderType &ProviderType, const FHiveAuthV4HelperDelegate &Delegate)
제공된 API 외 경우에 계정의 충돌 여부를 확인할 수 있다.
static void Connect(const EHiveProviderType &ProviderType, const FHiveAuthV4HelperDelegate &Delegate)
Provider 연결
static void ShowConflict(const FHiveConflictSingleViewData &ViewData, const FHiveAuthV4HelperDelegate &Delegate)
충돌 상태를 알려주고 사용할 계정을 선택할 수 있고, 게임 정보를 같이 표현할 수 있는 HIVE UI 를 보여준다.
static void PlayerDelete(const FHiveAuthV4HelperDelegate &Delegate)
사용자 삭제
static void ShowConflict(const FHiveAuthV4HelperDelegate &Delegate)
충돌 상태를 알려주고 사용할 계정을 선택하는 HIVE UI 를 보여준다.
static void AchievementsIncrement(const FString &AchievementId, int64 value, const FHiveAuthV4HelperDelegate &Delegate)
업적 수치 증가.
static void SignIn(const FHiveAuthV4HelperDelegate &Delegate)
사용자 로그인
static void Disconnect(const EHiveProviderType &ProviderType, const FHiveAuthV4HelperDelegate &Delegate)
Provider 연결 해제
static void SignOut(const FHiveAuthV4HelperDelegate &Delegate)
사용자 로그아웃
static void AchievementsUnlock(const FString &achievementId, const FHiveAuthV4HelperDelegate &Delegate)
업적 달성.
static void SwitchAccount(const FHiveAuthV4HelperDelegate &Delegate)
계정 Conflict가 발생한 경우 현재 로그인 된 사용자를 로그아웃 시키고, 기기에 연결된 계정으로 로그인을 시도한다.
static void ShowAchievements(const FHiveAuthV4HelperDelegate &Delegate)
업적 조회
static TArray< EHiveProviderType > GetIDPList()
SDK에서 제공하는 Provider의 목록을 받는다.
static void ShowGameCenterLoginCancelDialog(const FHiveAuthV4HelperOnDialogDismissDelegate &Delegate)
Game Center 로그인창을 표시할 수 없는 경우, 해당 상태를 보여주고, Game Center 로그인 방법을 안내하는 UI를 띄운다.
static void ShowLeaderboard(const FHiveAuthV4HelperDelegate &Delegate)
리더보드 조회
static void ResolveConflict(const FHiveAuthV4HelperDelegate &Delegate)
계정 Conflict가 발생한 경우 기존 사용자를 유지하는 경우 사용한다.
static void SignOut(const FHiveAuthV4OnSignOutDelegate &Delegate)
로컬에 있는 세션을 제거 한다.
static void ShowDeviceManagement(const FHiveAuthV4OnShowDeviceManagementDelegate &Delegate)
기기 관리 서비스 UI 를 띄운다.
static void CheckMaintenance(bool IsShow, const FHiveAuthV4OnMaintenanceInfoDelegate &Delegate)
점검 상태 표시 및 데이터 반환한다.
static void CheckProvider(const EHiveProviderType &ProviderType, const FHiveAuthV4OnCheckProviderDelegate &Delegate)
요청한 Provider 의 상태를 체크 한다.
static void DisconnectWithName(const FString &ProviderName, const FHiveAuthV4OnDisconnectDelegate &Delegate)
현재 사인-인 된 유저에 요청한 커스텀 provider 와 연동을 해제 한다.
static TOptional< FHivePlayerInfo > GetPlayerInfo()
현재 사인-인 된 유저의 정보를 반환 한다.
static void ShowInquiry(const FHiveAuthV4OnShowInquiryDelegate &Delegate)
1:1 문의 UI 를 띄운다.
static void ShowProfile(int64 PlayerId, const FHiveAuthV4OnShowProfileDelegate &Delegate)
요청한 playerId 의 프로필 UI 를 표시한다.
static void ResolveConflict(const FHiveAuthV4OnResolveConflictDelegate &Delegate)
connect 로 인해 계정이 충돌 된 상황 (CONFLICT_PLAYER) 을 해제 한다.
static void ShowSignIn(const FHiveAuthV4OnSignInDelegate &Delegate)
사인-인 을 할 수 있는 Provider 목록이 있는 UI 를 띄운다.
static void ShowTerms(const FHiveAuthV4OnShowTermsDelegate &Delegate)
HIVE 약관 정보를 표시한다.
static void ConnectWithAuthKey(const FString &AuthKey, const FHiveAuthV4OnConnectDelegate &Delegate)
자체 구현한 커스텀 로그인 후 획득한 authKey 값으로 connect을 요청 한다.
static void SetProviderChangedListener(const FHiveAuthV4OnCheckProviderDelegate &Delegate)
연동된 Provider 의 정보가 바뀌었는지 통보 받는다.
static void GetHiveTalkPlusLoginToken(const FHiveAuthV4OnGetHiveTalkPlusLoginTokenDelegate &Delegate)
HiveTalkPlus 로그인시 필요한 로그인 토큰을 얻어온다.
static void Setup(const FHiveAuthV4OnSetupDelegate &Delegate)
AuthV4 초기화를 수행한다.
static void PlayerDelete(const FHiveAuthV4OnSignOutDelegate &Delegate)
계정을 삭제하고 로컬에 있는 세션을 제거 한다.
static void SignIn(const EHiveProviderType &ProviderType, const FHiveAuthV4OnSignInDelegate &Delegate)
주어진 providerType 에 따라 signIn 을 요청 한다.
EHiveProviderType
Provider 형태 정의 여기서 AUTO 는 자동로그인의 용도로 쓰이며 isAutoSignIn() 이 true 일 경우 SignIn 시 AUTO 로 입력해 주면 된다.
Definition: HiveAuthV4Types.h:29
static void CheckBlacklist(bool IsShow, const FHiveAuthV4OnMaintenanceInfoDelegate &Delegate)
현재 유저의 제재 상태를 체크한다.
static void Connect(const EHiveProviderType &ProviderType, const FHiveAuthV4OnConnectDelegate &Delegate)
현재 사인-인 된 유저에 요청한 provider 와 연동 한다.
static bool IsAutoSignIn()
signIn(AUTO) 가 가능한지 여부를 반환한다.
static void ShowMyInquiry(const FHiveAuthV4OnShowInquiryDelegate &Delegate)
1:1 내문의 UI 를 띄운다.
static void GetProfile(const TArray< int64 > PlayerIdArray, const FHiveAuthV4OnGetProfileDelegate &Delegate)
요청한 playerId 들의 프로필 정보를 반환한다.
static void SignInWithAuthKey(const FString &AuthKey, const FHiveAuthV4OnSignInDelegate &Delegate)
자체 구현한 커스텀 로그인 후 획득한 authKey 값으로 signIn을 요청 한다.
static void RefreshAccessToken(const FHiveAuthV4OnRefreshAccessTokenDelegate &Delegate)
Hive 로그인시 필요한 액세스 토큰을 얻어온다.
static void ResetAgreement()
약관동의 관련 데이터를 초기화 한다.
static void ShowChatbotInquiry(const FString &AdditionalInfo, const FHiveAuthV4OnShowInquiryDelegate &Delegate)
HIVE 챗봇 1:1 문의 화면 호출
static void SelectConflict(int64 SelectedPlayerId, const FHiveAuthV4OnSignInDelegate &Delegate)
connect 로 인한 계정 충돌 상황 (CONFLICT_PLAYER) 일 때 유저를 선택 한다.
static void ShowAdultConfirm(const FHiveAuthV4OnAdultConfirmDelegate &Delegate)
성인 인증을 요청한다.
static bool GetAgeGateU13()
COPPA 13세 나이 제한 여부를 반환한다.
static void ShowConflictSelection(const FHiveConflictViewData &ConflictViewData, const FHiveAuthV4OnSignInDelegate &Delegate)
충돌상태에서 유저를 선택하는 UI 를 띄운다.
static void GetProviderFriendsList(const EHiveProviderType &ProviderType, const FHiveAuthV4OnGetProviderFriendsListDelegate &Delegate)
입력받은 providerType 에 해당하는 연결된 사용자의 친구들의 playerId 목록 정보를 얻어온다.
static void Disconnect(const EHiveProviderType &ProviderType, const FHiveAuthV4OnDisconnectDelegate &Delegate)
현재 사인-인 된 유저에 요청한 provider 와 연동을 해제 한다.