添加项目文件。
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
using UserDomain.Entity;
|
||||
using UserService.Response;
|
||||
using CommonDomain.BaseModel;
|
||||
|
||||
namespace UserService.BattleOrder
|
||||
{
|
||||
public interface IBattleOrderService
|
||||
{
|
||||
Task<UserBattleOrder> GetUserBattleOrderAsync(string userId);
|
||||
|
||||
Task<BattleOrderResponse> GetUserBattleOrderWithConfigAsync(string userId);
|
||||
|
||||
Task<(bool success, int newLevel, long remainExp)> AddExpAsync(string userId, long exp);
|
||||
|
||||
Task<(bool success, string message, List<GiftConfig> rewards)> ReceiveAllRewardsAsync(string userId);
|
||||
|
||||
Task<(bool success, string message, List<GiftConfig> rewards)> ReceiveLevelRewardAsync(string userId, int level);
|
||||
|
||||
Task<(bool success, string message, int newLevel, int cost)> BuyLevelsAsync(string userId, int levelCount);
|
||||
|
||||
Task<(bool success, string message, List<int> purchasedAdvances)> BuyAdvanceAsync(string userId, int type);
|
||||
|
||||
Task<UserBattleOrder> CreateOrResetBattleOrderAsync(string userId);
|
||||
|
||||
Task<BattleOrderLevelStatusResponse> GetLevelRewardStatusAsync(string userId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user