1111
This commit is contained in:
@@ -2,5 +2,22 @@
|
||||
|
||||
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
|
||||
|
||||
}
|
||||
@@ -15,7 +15,7 @@ public interface IGameGoodsService
|
||||
Task<unit_user_goods> GetUserGoodsInfo(string userId, int goodsId);
|
||||
Task<int> GetUserGoodsCount(string userId, int goodsId);
|
||||
|
||||
Task<List<unit_user_goods>> GetUserGoodsData(string userId, List<string> code, string search, int page,
|
||||
Task<List<unit_user_goods>> GetUserGoodsData(string userId, List<string> code, List<string> noCode, string search, int page,
|
||||
int limit, RefAsync<int> total);
|
||||
|
||||
Task<bool> UpdateUserGoods(string userId, int op, int goodsId, int count, string remark = "");
|
||||
|
||||
@@ -5,8 +5,10 @@ public interface IGameMapService
|
||||
#region 城市地图数据
|
||||
|
||||
Task<game_city> GetCityInfo(int cityId);
|
||||
Task<List<game_city>> GetCityData();
|
||||
Task<List<game_city_map>> GetCityMap(int cityId);
|
||||
Task<List<game_city_map>> GetCityShowMap(int cityId);
|
||||
Task<game_city_map> GetMapInfo(string mapId);
|
||||
Task<List<game_city_map>> GetMapCity(int cityId);
|
||||
Task<int> GetMapCityByMapId(string mapId);
|
||||
Task<List<game_city_npc>> GetMapNpc(string mapId);
|
||||
Task<game_city_npc> GetNpcInfo(int npcId);
|
||||
@@ -17,7 +19,9 @@ public interface IGameMapService
|
||||
Task<string> GetUserOnMapId(string userId);
|
||||
Task<unit_user_online> GetUserOnMap(string userId);
|
||||
Task UpdateUserOnMap(string userId, string ip, string mapId);
|
||||
|
||||
Task<bool> UpdateUserOnMap(unit_user_online data, string mapId);
|
||||
Task SetUserMapDefult(string userId);
|
||||
Task<game_city_map> GetToMapInfo(string userId, string toMap, bool isUpUserMap = true, bool isChangeCity = false);
|
||||
#endregion
|
||||
|
||||
#region 其他相关
|
||||
@@ -27,5 +31,12 @@ public interface IGameMapService
|
||||
Task<List<UserModel>> GetMapUser(string mapId, int area, int showArea, List<string> noUser, int page,
|
||||
int limit, RefAsync<int> total);
|
||||
|
||||
#endregion
|
||||
|
||||
#region 自动寻路
|
||||
|
||||
Task<List<MapLine>> CreateAutoMap(string start, string end);
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Application.Domain;
|
||||
|
||||
public interface IUnitUserAttrService
|
||||
{
|
||||
Task<unit_user_blood> GetUserBlood(string userId);
|
||||
Task<bool> UpdateUserBlood(string userId, int op, int count, bool mustUp = false);
|
||||
}
|
||||
Reference in New Issue
Block a user