So, I think I figured out the one of the problems. In one project I had been using the Steamworks SDK directly, and so had access to SteamUser(), but in 4.13, I have been trying to use the OnlineSubsystem plugins.
Regardless, if I try to use the IOnlineSubsystem and GetAuthToken, it doesn’t work.
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/Character.h"
#include "Online.h"
#include "MyCharacter.generated.h"
class IOnlineSubsystem;
class FOnlineSubsystemSteam;
UCLASS()
class STEAMAUTHTEST_API AMyCharacter : public ACharacter
{
GENERATED_BODY()
public:
// Sets default values for this character's properties
AMyCharacter();
// Called when the game starts or when spawned
virtual void BeginPlay() override;
// Called every frame
virtual void Tick( float DeltaSeconds ) override;
// Called to bind functionality to input
//virtual void SetupPlayerInputComponent(class UInputComponent* InputComponent) override;
IOnlineSubsystem* iOnline = IOnlineSubsystem::Get();
UFUNCTION(BlueprintCallable, Category = "Steam")
FString GetSessionTicket(class APlayerController* PlayerController);
//FOnlineSubsystemSteam->GetIdentityInterface()->GetAuthToken()
};