Jump to content

yakingkuo

Verified Members
  • Posts

    37
  • Joined

  • Last visited

Posts posted by yakingkuo

  1. Hello   ,

     

    Sorry for not getting back to you earlier, please see below in detail.

    For the parameters of DownloadLeaderboardScores:

     

    public enum LeaderBoardRequestType
    {
          GlobalData = Internal.ELeaderboardDataRequest.k_ELeaderboardDataRequestGlobal /* 0 */,
          GlobalDataAroundUser = Internal.ELeaderboardDataRequest.k_ELeaderboardDataRequestGlobalAroundUser /* 1 */,
          LocalData = Internal.ELeaderboardDataRequest.k_ELeaderboardDataRequestLocal /* 2 */,
          LocalDataAroundUser = Internal.ELeaderboardDataRequest.k_ELeaderboardDataRequestLocaleAroundUser /* 3 */,
    }

     

    public enum LeaderBoardTimeRange
    {
         AllTime = Internal.ELeaderboardDataTimeRange.k_ELeaderboardDataScropeAllTime /* 0 */,
         Daily = Internal.ELeaderboardDataTimeRange.k_ELeaderboardDataScropeDaily /* 1 */,
         Weekly = Internal.ELeaderboardDataTimeRange.k_ELeaderboardDataScropeWeekly /* 2 */,
         Monthly = Internal.ELeaderboardDataTimeRange.k_ELeaderboardDataScropeMonthly /* 3 */,
    }

     

    UserStats.DownloadLeaderboardScores(callback, leadername name,  
                                        LeaderBoardRequestType, LeaderBoardTimeRange, start,end);

     If LeaderBoardRequestType of downloading leaderboard is "GlobalData" , content will get the user ranking data anywhere in the world.

    But if it is "LocalData", content will get the user ranking data depending on your location.

    And you could also set the LeaderboardTimeRange as AllTime / Daily / Weekly / Monthly to get the user ranking during this period.

    Please let me know if you still have further questions. Thanks.

     

     

     

  2. Hi,  

     

    Sorry that we don’t have systemic UI to show the achievement status, including the unlock or progress.

     

    But if Tsuro has its UI built in to show the status, you could get the status of the achievements through VIVEPORT SDK API

     

    Here is the document link: https://developer.viveport.com/documents/sdk/en/api_stats.html

     

    Please feel free to let me know if you have any questions to use them. Thanks .

     

    Regards,

    Yaking

  3. Hi : 

    Ok, I know your question clearly.  And currently, we don't have an UI pops up to show the achievement is unlocked, but we have already a plan to do that next year. Sorry for inconvenient. 

    Anyway, thanks for your suggestion. We will provide more convinient API for developer and VIVEPORT SDK will get better and better. 

     

    Thank you !!

  4. Hi : 

    Actually, we don't have any UI in developer console to show the achievement is locked or unlocked. Just need to use VIVEPORT SDK API to get the information. 

    Please let us know which game store shows the inforamtion, maybe we can have a reference. 

     

    Thank you !! 

  5. Hi : 

    Sorry for late response. 

    Did you follow the flow:

    1. Init and IsReady <= support you have done and get the response successfully.

    2. DownloadStats() and GetAchievement()

    3. SetAchievement() <= to unlock the achievement

    4. UploadStats() <= Upload your achievement status into server.

    5. DownloadStats() <= to get the latest achievement value on the server. 

    6. GetAchievement() <= you will get the latest achievement status. 

    Did you miss any steps above? Please let me know if you have any question to use the APIs. Thanks a lot. 

×
×
  • Create New...