// Fill out your copyright notice in the Description page of Project Settings.
#include "SteamAuthTest.h"
#include "OnlineSubsystem.h"
#include "MyCharacter.h"
// Sets default values
AMyCharacter::AMyCharacter()
{
// Set this character to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
}
// Called when the game starts or when spawned
void AMyCharacter::BeginPlay()
{
Super::BeginPlay();
}
// Called every frame
void AMyCharacter::Tick( float DeltaTime )
{
Super::Tick( DeltaTime );
}
FString AMyCharacter::GetSessionTicket(class APlayerController* PlayerController)
{
FString SessionTicket = iOnline->GetIdentityInterface()->GetAuthToken(int32 PlayerController);
return SessionTicket;
}