public int GetStorageLootPercentage(LogicResourceData data)
        {
            if (LogicDataTables.GetDarkElixirData() == data)
            {
                return(this.m_darkElixirStorageLootPercentage);
            }

            return(this.m_resourceStorageLootPercentage);
        }
        public int GetCartLootReengagement(LogicResourceData data)
        {
            if (data != null && !data.IsPremiumCurrency() && data.GetWarResourceReferenceData() == null && data.GetVillageType() != 1)
            {
                if (LogicDataTables.GetDarkElixirData() == data)
                {
                    return(this.m_cartLootReengagementDarkElixir);
                }

                return(this.m_cartLootReengagementResource);
            }

            return(0);
        }
        public int GetCartLootCap(LogicResourceData data)
        {
            if (data != null && !data.IsPremiumCurrency())
            {
                if (LogicDataTables.GetDarkElixirData() == data)
                {
                    return(this.m_cartLootCapDarkElixir);
                }

                return(this.m_cartLootCapResource);
            }

            return(0);
        }
        public int GetStorageLootCap(LogicResourceData data)
        {
            if (data != null && !data.IsPremiumCurrency())
            {
                if (LogicDataTables.GetDarkElixirData() == data)
                {
                    return(this.m_darkElixirStorageLootCap);
                }

                return(this.m_resourceStorageLootCap);
            }

            return(0);
        }
 public int GetMaxStoredDarkElixir(int upgLevel)
 {
     return(this.m_storedResourceCounts[upgLevel][LogicDataTables.GetDarkElixirData().GetInstanceID()]);
 }