Announcement

Collapse
No announcement yet.

How to read multiple leaderboards?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to read multiple leaderboards?

    How to read multiple leaderboards/stats via Online Subsystem? "ReadLeaderboardInteger" node reads only one single stat per request. My game have 30+ leaderboard stats, so it takes lot of time to read them all.

    #2
    up! up! up!

    Comment


      #3
      trying to necro this thread i guess.
      i'm trying to create a leader board system where i can select different leaderboards. after the first read, the entries seem to get messed up.
      tried clearing various variables/arrays for this, but no getting it right, so i guess i don't fully understand the logic of the code.

      is this where i need to reset the read object? or does someone have an example for multiple leaderboard reads?

      Code:
      //because we're reading multiple leaderboards, we may need to reset this???
      ReadObject->ColumnMetadata.Empty();
      new (ReadObject->ColumnMetadata) FColumnMetaData(StatName, EOnlineKeyValuePairDataType::Int32);
      Earthborn Interactive | Flutter Bombs | Blast Point

      Comment

      Working...
      X