第三方账户关联
账户关联功能
UENUM()
namespace ENLinkingType
{
enum Type
{
NONE,
GOOGLEPLAY,
GAMECENTER,
GOOGLE,
FACEBOOK,
NAVER,
TWITTER,
LINE,
APPLE,
THIRDPARTYSDK
};
}
if (FGamePotSDKPluginModule::IsGamePotSdkAvailable())
FGamePotSDKPluginModule::GetSharedGamePotSdk()->createLinking(ENLinkingType::Type linkingType);
void ASampleGameModeBase::OnCreateLinkingSuccess(FNUserInfo NUserInfo) {
// 账户关联成功
}
void ASampleGameModeBase::OnCreateLinkingCancel() {
// 玩家取消账户关联时
}
void ASampleGameModeBase::OnCreateLinkingFailure(FNError NError) {
// 账户关联失败。请使用NError.message显示错误消息。
}关联列表确认功能
解除关联功能
Last updated