Added support for savemaxpower
This commit is contained in:
@@ -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) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user