1212
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
namespace Application.Domain;
|
||||
|
||||
public interface IGameFightService
|
||||
{
|
||||
#region 用户战斗索引
|
||||
|
||||
Task<List<string>> GetUserFight(string userId);
|
||||
Task<bool> AddUserFight(string userId, string fightId);
|
||||
Task<bool> RemoveUserFight(string userId, string fightId);
|
||||
#endregion
|
||||
#region 战斗信息
|
||||
Task<game_fight_data> GetFightInfo(string fightId);
|
||||
Task<long> GetFightBlood(string keyId, long maxBlood);
|
||||
Task SetFightBlood(string keyId, long blood);
|
||||
|
||||
Task<bool> AddFight(string fightId, string areaCode, string keyId, string mainId, string code,
|
||||
string scene, string mapId,
|
||||
string userId, long exp = 0, long copper = 0, long petExp = 0, string award = "", string pars = "");
|
||||
|
||||
Task<bool> SetFightWin(string fightId, string winUser);
|
||||
|
||||
|
||||
#endregion
|
||||
#region 战斗相关
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user