fBaseXtensions.Items.ItemFunc.DetermineIsStackable C# (CSharp) Метод

DetermineIsStackable() публичный статический Метод

public static DetermineIsStackable ( CacheACDItem item ) : bool
item CacheACDItem
Результат bool
        public static bool DetermineIsStackable(CacheACDItem item)
        {
            PluginItemTypes thisPluginItemTypes = DetermineItemType(item);
            bool bIsStackable = thisPluginItemTypes == PluginItemTypes.CraftingMaterial || thisPluginItemTypes == PluginItemTypes.LegendaryCraftingMaterial || thisPluginItemTypes == PluginItemTypes.CraftTome || thisPluginItemTypes == PluginItemTypes.Ruby ||
                                      thisPluginItemTypes == PluginItemTypes.Diamond || thisPluginItemTypes == PluginItemTypes.Emerald || thisPluginItemTypes == PluginItemTypes.Topaz || thisPluginItemTypes == PluginItemTypes.Amethyst || thisPluginItemTypes == PluginItemTypes.LegendaryGem ||
                                      thisPluginItemTypes == PluginItemTypes.HealthPotion || thisPluginItemTypes == PluginItemTypes.CraftingPlan || thisPluginItemTypes == PluginItemTypes.Dye ||
                                      thisPluginItemTypes == PluginItemTypes.InfernalKey || thisPluginItemTypes == PluginItemTypes.KeyStone;
            return bIsStackable;
        }

Same methods

ItemFunc::DetermineIsStackable ( PluginDroppedItemTypes thisPluginItemTypes ) : bool
ItemFunc::DetermineIsStackable ( PluginItemTypes thisPluginItemTypes, int snoid = -1 ) : bool