back_recharge
duhui 2021-11-18 11:49:40 +08:00
parent 5911e2dc8f
commit afe97f00e7
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}