23 lines
670 B
C#
23 lines
670 B
C#
namespace Application.Domain;
|
|
|
|
public interface IGameEquService
|
|
{
|
|
#region 装备资源
|
|
|
|
Task<game_equ> GetEquInfo(int equId);
|
|
|
|
#endregion
|
|
#region 用户装备
|
|
|
|
Task<List<unit_user_equ>> GetUserEquData(string userId, int type, string equName, int PageIndex, int PageSize,
|
|
RefAsync<int> Total);
|
|
|
|
Task<List<unit_user_equ>> GetUserEquData(string userId, int equId);
|
|
Task<bool> AddUserEqu(string userId, int equId, int count, string remark);
|
|
Task<bool> DeductUserEqu(string userId, List<unit_user_equ> equData, string remark);
|
|
Task<bool> DeductUserEqu(string userId, int equId, int count, string remark);
|
|
|
|
|
|
#endregion
|
|
|
|
} |