grimm 2023-12-25 15:45:44 +08:00
parent 86ae37c126
commit 32ce67a2b3
1 changed files with 10 additions and 1 deletions

View File

@ -521,7 +521,16 @@ public class ItemLogic {
// return tempReturn;
// }
public ErrorCode checkHeroResolve(List<String> heroIdsList, User user,boolean teamCheck) {
/**
*
* @param heroIdsList
* @param user
* @param teamCheck
* true
* false
* @return
*/
public ErrorCode checkHeroResolve(List<String> heroIdsList, User user, boolean teamCheck) {
HeroManager heroManager = user.getHeroManager();
if (heroIdsList.isEmpty()) {
return ErrorCode.ITEM_DECOMPOSE_HERO_NO;