parent
86ae37c126
commit
32ce67a2b3
|
|
@ -521,7 +521,16 @@ public class ItemLogic {
|
||||||
// return tempReturn;
|
// 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();
|
HeroManager heroManager = user.getHeroManager();
|
||||||
if (heroIdsList.isEmpty()) {
|
if (heroIdsList.isEmpty()) {
|
||||||
return ErrorCode.ITEM_DECOMPOSE_HERO_NO;
|
return ErrorCode.ITEM_DECOMPOSE_HERO_NO;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue