Announcement

Collapse
No announcement yet.

How to read multiple leaderboards?

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

  • replied
    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);

    Leave a comment:


  • replied
    up! up! up!

    Leave a comment:


  • started a topic How to read multiple leaderboards?

    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.
Working...
X