添加项目文件。

This commit is contained in:
2026-10-12 16:22:04 +08:00
parent 7c68a0ca0a
commit aad11be43d
1000 changed files with 120807 additions and 0 deletions
@@ -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);
}
}