I'm currently trying to write basic functions that read/write leaderboard in c++. However after reading documentation and some code in OnlineLeaderboardInterfaceOculus.cpp i still have no idea how to do it properly.
This is what i tried to do:
void MyOculusClass::WriteLeaderboard(FString BoardName, int score)
{
FOnlineSubsystemOculus* OculusSubsystem = new FOnlineSubsystemOculus();