using System; using System.Collections.Generic; public partial class AttrFruitConfig { public int basicUseLimit { get { return MaxUseCnt.Length > 0 && MaxUseCnt[0].x == 0 ? MaxUseCnt[0].y : 0; } } }