This commit is contained in:
Putoo
2026-07-18 11:24:44 +08:00
parent e4d39f3f2f
commit 723a6861a0
9 changed files with 158 additions and 41 deletions

View File

@@ -13,9 +13,9 @@ public interface IGameFightService
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 = "");
string userId,long dueTime, 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<bool> SetFightWin(game_fight_data fightData, string winUser, bool setDefMap=true);
Task HandleFightData();
#endregion
@@ -29,6 +29,7 @@ public interface IGameFightService
Task RemoveFightGoods(string mapId, string mgId);
Task AutoUseDrug(UserAttrModel user, game_fight_data fight);
Task HandelFightEnd(string userId, List<FightRemoveData> data);
Task<bool> ValidFight(game_fight_data fight, bool isBlack = true);
#endregion
}

View File

@@ -12,6 +12,7 @@ public interface IUnitUserService
Task<bool> UpdateUserNick(string userId, string nick);
Task<bool> UpdateUserSex(string userId, string sex);
Task<bool> UpdateUserSign(string userId, string sign);
Task<bool> BlackUser(string userId);
#endregion
#region