Exemplo n.º 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));
        }
Exemplo n.º 2
0
        public static bool TryGetMaxStackCount(ushort id, out ushort max)
        {
            var kind = GetItemKind(id);

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