1212
This commit is contained in:
@@ -2,6 +2,39 @@
|
||||
|
||||
public interface IUnitUserAttrService
|
||||
{
|
||||
#region 个人属性
|
||||
|
||||
Task<UserAttrModel> GetUserAttrModel(string userId);
|
||||
Task<unit_user_attr> GetUserAttr(string userId);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 体力操作
|
||||
|
||||
Task<unit_user_blood> GetUserBlood(string userId);
|
||||
Task<bool> UpdateUserBlood(string userId, int op, int count, bool mustUp = false);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 经验操作
|
||||
|
||||
Task<unit_user_exp> GetUserExp(string userId);
|
||||
Task<bool> UpdateUserExp(string userId, long exp, int op = 1);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 士气操作
|
||||
|
||||
Task<unit_user_morale> GetUserMorale(string userId);
|
||||
Task<bool> UpdateUserMorale(string userId, int op, int count);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 活力
|
||||
|
||||
Task<unit_user_vigour> GetUserVigourInfo(string userId);
|
||||
Task<bool> UpdateUserVigour(string userId, int op, decimal count, string UpTime = "");
|
||||
Task<bool> UpdateUserUpVigour(string userId, decimal count);
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user