Is their a Interface for FOnlineSubsystemEOS?

It’s wierd but I really can’t find a way to get Interfaces of EOS
there are useful Interfaces in class FOnlineSubsystemEOS, but it seems no IOnlineSubsystemEOS to get.

or is there a way to get a Pointer for FOlineSubsystemEOS?

I just following this doc and want to call EOS_Connect_Login function…

got some code from discord, thanks the community

#include "OnlineSubsystemEOS.h"

FOnlineSubsystemEOS* MY_GameInstance::GetOnlineSubsystemEos()
{
	IOnlineSubsystem* ossBase = Online::GetSubsystem(GetWorld(), "EOS");
	return static_cast<FOnlineSubsystemEOS*>(ossBase);
}


OnlineSubsystemEOS.h is not coming up. I added it to .build.cs but still no luck.
Any tips please?

You need to add “OnlineSubsystemEOS” to your included modules in your .build file

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "OnlineSubsystemEOS" });

Check the docs if there are any further dependencies.