-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
98 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
MementoMori.Ortega/Share/Data/ApiInterface/Ranking/GetPlayerRankingRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using MessagePack; | ||
|
||
namespace MementoMori.Ortega.Share.Data.ApiInterface.Ranking | ||
{ | ||
[MessagePackObject(true)] | ||
[OrtegaApi("ranking/getPlayerRanking", true, false)] | ||
public class GetPlayerRankingRequest : ApiRequestBase | ||
{ | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
MementoMori.Ortega/Share/Data/ApiInterface/Ranking/GetPlayerRankingResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System.Runtime.CompilerServices; | ||
using MementoMori.Ortega.Share.Data.Player; | ||
using MessagePack; | ||
|
||
namespace MementoMori.Ortega.Share.Data.ApiInterface.Ranking | ||
{ | ||
[MessagePackObject(true)] | ||
public class GetPlayerRankingResponse : ApiResponseBase, IUserSyncApiResponse | ||
{ | ||
public long AutoRanking { get; set; } | ||
|
||
public List<PlayerInfo> AutoRankingPlayerList { get; set; } | ||
|
||
public long AutoRankingToday { get; set; } | ||
|
||
public long BattlePower { get; set; } | ||
|
||
public long BattlePowerRanking { get; set; } | ||
|
||
public List<PlayerInfo> BattlePowerRankingPlayerList { get; set; } | ||
|
||
public long BattlePowerRankingToday { get; set; } | ||
|
||
public long PlayerRankRanking { get; set; } | ||
|
||
public List<PlayerInfo> PlayerRankRankingPlayerList { get; set; } | ||
|
||
public long PlayerRankRankingToday { get; set; } | ||
|
||
public long TowerBattleRanking { get; set; } | ||
|
||
public List<PlayerInfo> TowerBattleRankingPlayerList { get; set; } | ||
|
||
public long TowerBattleRankingToday { get; set; } | ||
|
||
public UserSyncData UserSyncData { get; set; } | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
MementoMori.Ortega/Share/Data/ApiInterface/Ranking/ReceiveAchieveRankingRewardRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using MessagePack; | ||
|
||
namespace MementoMori.Ortega.Share.Data.ApiInterface.Ranking | ||
{ | ||
[MessagePackObject(true)] | ||
[OrtegaApi("ranking/receiveAchieveRankingReward", true, false)] | ||
public class ReceiveAchieveRankingRewardRequest : ApiRequestBase | ||
{ | ||
public long AchieveRankingRewardMBId { get; set; } | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
MementoMori.Ortega/Share/Data/ApiInterface/Ranking/ReceiveAchieveRankingRewardResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System.Runtime.CompilerServices; | ||
using MementoMori.Ortega.Share.Data.Item; | ||
using MessagePack; | ||
|
||
namespace MementoMori.Ortega.Share.Data.ApiInterface.Ranking | ||
{ | ||
[MessagePackObject(true)] | ||
public class ReceiveAchieveRankingRewardResponse : ApiResponseBase, IUserSyncApiResponse | ||
{ | ||
public List<UserItem> RewardItemList { get; set; } | ||
|
||
public UserSyncData UserSyncData { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters