示例#1
0
        public static bool TryGetMaxStackCount(ushort id, out ushort max)
        {
            var kind = GetItemKind(id);

            if (kind.IsFlowerPicked())
            {
                kind = Kind_Flower;
            }
            return(MaxCountByKind.TryGetValue(kind, out max));
        }
示例#2
0
文件: ItemInfo.cs 项目: Kizzxh/NHSE
        public static bool TryGetMaxStackCount(ushort id, out ushort max)
        {
            var kind = GetItemKind(id);

            return(MaxCountByKind.TryGetValue(kind, out max));
        }