back_recharge
parent
5911e2dc8f
commit
afe97f00e7
|
@ -1249,14 +1249,14 @@ public class CBean2Proto {
|
|||
*/
|
||||
public static List<CommonProto.TransformationCardInfo> getTransformationInfoList(User user){
|
||||
List<CommonProto.TransformationCardInfo> list = new ArrayList<>();
|
||||
user.getHeroManager().getTransformationList().values().forEach((value)->{
|
||||
for (TransformationInfo value : user.getHeroManager().getTransformationList().values()) {
|
||||
CommonProto.TransformationCardInfo builder = CommonProto.TransformationCardInfo.newBuilder()
|
||||
.setId(value.getIndex())
|
||||
.setId(value.getCardId())
|
||||
.setIndex(value.getIndex())
|
||||
.setStatus(value.getStatus())
|
||||
.build();
|
||||
list.add(builder);
|
||||
});
|
||||
}
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue