121212
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace Application.Domain;
|
||||
|
||||
public interface IGameCdkService
|
||||
{
|
||||
Task<game_cdk> GetCdkInfo(int cdkId);
|
||||
|
||||
Task<game_cdk_item> GetCdkItemInfo(string cdk);
|
||||
|
||||
Task<bool> UpdateCdkUser(string cdk, string userId);
|
||||
|
||||
Task<int> GetUserCdkCount(int cdkId, string userId);
|
||||
|
||||
Task<bool> AddCdkItem(List<game_cdk_item> data);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Application.Domain;
|
||||
|
||||
public interface IGameMagicService
|
||||
{
|
||||
Task UpdateUserMagicTime(string userId,int areaId);
|
||||
Task UpdateUserMagicEndTime(string userId, bool isWin);
|
||||
Task<bool> CheckInMagic(string userId);
|
||||
Task HandleMagicData();
|
||||
}
|
||||
@@ -21,7 +21,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 mapId = "");
|
||||
Task UpdateUserOnMap(string userId, string ip, string mapId);
|
||||
Task<bool> UpdateUserOnMap(unit_user_online data, string mapId);
|
||||
Task<UserOnMap> GetUserOnMapInfo(string userId);
|
||||
@@ -34,6 +34,8 @@ public interface IGameMapService
|
||||
|
||||
#region 其他相关
|
||||
|
||||
Task<List<UserModel>> GetMapUserByAll(string mapId, int area, int showArea, List<string> noUser);
|
||||
Task<List<UserModel>> GetMapUser(string mapId, int area, int showArea, List<string> noUser);
|
||||
Task<List<UserModel>> GetMapUser(string mapId, int area, int showArea, List<string> noUser, int take);
|
||||
|
||||
Task<List<UserModel>> GetMapUser(string mapId, int area, int showArea, List<string> noUser, int page,
|
||||
|
||||
@@ -3,4 +3,5 @@
|
||||
public interface IGameDicService
|
||||
{
|
||||
Task<game_dic> GetDicInfo(string code);
|
||||
Task<string> GetDicInfoContent(string code);
|
||||
}
|
||||
@@ -2,9 +2,19 @@
|
||||
|
||||
public interface IGameMaxNameService
|
||||
{
|
||||
#region 资源
|
||||
|
||||
Task<game_maxname> GetMaxNameInfo(string mnId);
|
||||
|
||||
#endregion
|
||||
|
||||
#region unit_user_maxname
|
||||
|
||||
Task<bool> AddMaxName(string userId, string mnId, int addCount);
|
||||
Task<bool> UpdateUserMaxname(unit_user_maxname name);
|
||||
Task<unit_user_maxname> GetUserMaxnameInfo(string umnId);
|
||||
Task<List<unit_user_maxname>> GetUserMaxnameList(string userId, int page, int limit, RefAsync<int> total);
|
||||
Task<List<unit_user_maxname>> GetUserMaxNameData(string userId);
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -50,7 +50,7 @@ public interface IMessageService
|
||||
#region 广播消息
|
||||
|
||||
Task<List<game_broadcast>> GetBroadcastData(int area);
|
||||
Task<bool> SendBroadcast(string userId, string code, string msg);
|
||||
Task<bool> SendBroadcast(string userId, string code, string msg, int area = 0);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user