1212
This commit is contained in:
@@ -6,4 +6,5 @@ public interface IExchangeService
|
||||
Task<game_exchange> GetExchangeInfo(int exId);
|
||||
Task<int> GetExchangeCount(string userId, int exId);
|
||||
Task<bool> AddUserExchangeLog(string userId, int exId, int count, long endTime);
|
||||
Task HandleExchangeLogData();
|
||||
}
|
||||
@@ -9,4 +9,5 @@ public interface IOnHookService
|
||||
|
||||
Task<bool> StopOnHook(string userId);
|
||||
Task HandleHook();
|
||||
Task HandleOnHookGoods(OnHookAwardModel data);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace Application.Domain;
|
||||
|
||||
public interface IRankService
|
||||
{
|
||||
Task<string> GetRankUpdateTime();
|
||||
Task<List<GameRankModel>> GetGameRank(int type, int area, int page, int limit, RefAsync<int> total);
|
||||
Task<List<GameRankModel>> GetGameCopperRank(int area, int page, int limit, RefAsync<int> total);
|
||||
Task<List<GameRankModel>> GetGameTeachAndRenownRank(int type, int area, int page, int limit, RefAsync<int> total);
|
||||
Task HandleRank();
|
||||
}
|
||||
@@ -14,6 +14,7 @@ public interface IGameEquService
|
||||
Task<List<unit_user_equ>> GetUserEquData(string userId, int type, string equName, int PageIndex, int PageSize,
|
||||
RefAsync<int> Total, bool isRemOn = false, bool isRemLock = false);
|
||||
|
||||
Task<List<unit_user_equ>> GetUserEquData(string userId, string query);
|
||||
Task<List<unit_user_equ>> GetUserEquData(string userId, int equId);
|
||||
Task<List<unit_user_equ>> GetUserEquData(string userId, string code, List<string> noUeId);
|
||||
Task<unit_user_equ> GetUserEquInfo(string ueId);
|
||||
@@ -62,6 +63,13 @@ public interface IGameEquService
|
||||
|
||||
Task<int> GetUserEquWeightSum(string userId);
|
||||
Task<game_equ_make> GetMakeEquByGoodsId(int goodsId);
|
||||
Task RemoveUserOnEqu(string userId, string type, int count);
|
||||
#endregion
|
||||
|
||||
#region 耐久
|
||||
|
||||
Task UpdateUserOnEquDurability(string userId);
|
||||
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -16,7 +16,7 @@ public interface IGameFightService
|
||||
string userId, long exp = 0, long copper = 0, long petExp = 0, string award = "", string pars = "");
|
||||
|
||||
Task<bool> SetFightWin(game_fight_data fightData, string winUser,bool setDefMap=true);
|
||||
|
||||
Task HandleFightData();
|
||||
|
||||
#endregion
|
||||
#region 战斗相关
|
||||
@@ -28,7 +28,7 @@ public interface IGameFightService
|
||||
Task<game_map_goods> GetFightGoodsInfo(string mapId, string mgId);
|
||||
Task RemoveFightGoods(string mapId, string mgId);
|
||||
Task AutoUseDrug(UserAttrModel user, game_fight_data fight);
|
||||
Task HandelFightEnd(string userId, List<dynamic> data);
|
||||
Task HandelFightEnd(string userId, List<FightRemoveData> data);
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -20,6 +20,7 @@ public interface IGameMapService
|
||||
Task<string> GetUserOnMapId(string userId);
|
||||
Task<game_city_map> GetUserOnToMapInfo(string userId);
|
||||
Task<unit_user_online> GetUserOnMap(string userId);
|
||||
Task UpdateUserOnMap(string userId);
|
||||
Task UpdateUserOnMap(string userId, string ip, string mapId);
|
||||
Task<bool> UpdateUserOnMap(unit_user_online data, string mapId);
|
||||
Task<UserOnMap> GetUserOnMapInfo(string userId);
|
||||
|
||||
@@ -14,8 +14,11 @@ public interface IGameMonsterService
|
||||
int count = 1, int time = 0, string par = "");
|
||||
|
||||
Task<unit_user_monster> GetCreateMonsterInfo(string umId);
|
||||
Task<bool> RemoveCreateMonster(string umId);
|
||||
Task<bool> RemoveCreateMonster(unit_user_monster data);
|
||||
Task HandleCreateMonster();
|
||||
Task<List<MapMonsterModel>> GetMapMonster(string userId, string mapId, string teamId);
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region 怪物模型
|
||||
|
||||
@@ -16,6 +16,8 @@ public interface IUnitUserAccService
|
||||
|
||||
Task<unit_user_copper> GetUserCopperInfo(string userId);
|
||||
Task<bool> UpdateUserCopper(string userId, int type, long count, string remark = "");
|
||||
Task<unit_user_data> GetUserDataInfo(string userId);
|
||||
Task<bool> UpdateUserData(string userId, int type, string accType, long count, string remark = "");
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -44,7 +44,7 @@ public interface IUnitUserAttrService
|
||||
#region 在线时间
|
||||
|
||||
Task<bool> UpdateOnLineTime(string userId, string code, int time);
|
||||
|
||||
Task HandleOnLineTimeData();
|
||||
#endregion
|
||||
|
||||
#region 药品栏
|
||||
|
||||
Reference in New Issue
Block a user