// // /*=============================================================================== // // Copyright (C) 2024 PhantomsXR Ltd. All Rights Reserved. // // // // This file is part of the LeaderboardSystem.Runtime. // // // // The Nin1 cannot be copied, distributed, or made available to // // third-parties for commercial purposes without written permission of PhantomsXR Ltd. // // // // Contact nswell@phantomsxr.com for licensing requests. // // ===============================================================================*/ namespace Phantom.XRMOD.GameServices.Runtime { [System.Serializable] public class AddOrUpdateScoreArgs : BaseLeaderboardArgs { /// /// Player Name /// public string UserName = string.Empty; /// /// Player Score /// public float Score; } [System.Serializable] public class GetScoreListArgs : BaseLeaderboardArgs { /// /// Page index /// public int Offset = 0; /// /// Num of page /// public int Limit = 10; } [System.Serializable] public class GetPlayerScoreArgs : BaseLeaderboardArgs { } [System.Serializable] public class BaseLeaderboardArgs { /// /// leaderboard id /// public string LeaderboardId; } }