Added support for savemaxpower

This commit is contained in:
2021-10-31 02:57:30 -04:00
parent 05340b5cc8
commit aa68670221
12 changed files with 1080 additions and 11 deletions

View File

@@ -1,3 +1,4 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
@@ -10,6 +11,10 @@ namespace TOOHUCardAPI.DTO
{
public static string EncodeLevelList(this IEnumerable<CardLevel> cardLevels)
{
if (cardLevels == null)
{
return string.Empty;
}
return cardLevels.Select(cl => $"{cl.CardItemCode.Substring(6)}{cl.Level}").Aggregate(new StringBuilder(),
(ret, current) =>
{