Files
Kg.SeaTime/Service/Application.Domain/Services/Interface/Fight/IGameFightService.cs
Putoo a1dbce8a96 111
2026-07-05 18:51:01 +08:00

29 lines
969 B
C#

namespace Application.Domain;
public interface IGameFightService
{
#region
Task<List<string>> GetUserFight(string userId);
Task<bool> RemoveUserFight(string userId, string fightId);
#endregion
#region
Task<game_fight_data> GetFightInfo(string fightId);
Task AddFightHarm(string fightId, string userId, long harm);
Task RemoveFightHarm(string fightId, string userId);
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(game_fight_data fightData, string winUser);
#endregion
#region
Task<int> GetUserFightHarm(string userId);
Task SetUserFightHarm(string userId, int harm);
Task HandleFight(game_fight_data eventData);
#endregion
}