Hello, I’m new to C++ and I’m trying to expose OnlineIdentityInterface::GetLinkedAccountAuthToken to blueprint for the Mod.io plugin I’m using
I can’t figure out how I’m supposed to use the delegates here.
//Linked Account Auth Token for Mod.io Login
UFUNCTION(BlueprintCallable, Category = "Online System")
void GetLinkedAccountAuthToken(int32 LocalUserNum, FString TokenType);
UPROPERTY(BlueprintAssignable, Category = "Online System")
IOnlineIdentity::FOnGetLinkedAccountAuthTokenCompleteDelegate LinkedAccountAuthToken;
void UNeithGameInstance::GetLinkedAccountAuthToken(int32 LocalUserNum, FString TokenType)
{
IOnlineIdentityPtr OnlineIdentityInterface = Online::GetIdentityInterface();
if (OnlineIdentityInterface.IsValid())
{
OnlineIdentityInterface->GetLinkedAccountAuthToken(LocalUserNum, TokenType, LinkedAccountAuthToken);
}
}
Documentation here
https://pubdocs.modapi.io/ue/documentation.html#_ssoexternal_authentication