/// <summary> /// Adds two new tier to Ox and Cadence's breach shop /// </summary> /// <param name="tier">Container with the tiers</param> /// <param name="index">The index to InsertOrAdd the tiers at. If null, defaults to the last index in the list</param> /// <returns>The tiers that were added</returns> public static List <MetaShopTier> AddBaseMetaShopDoubleTier(DoubleMetaShopTier tier, int?index = null) { return(new List <MetaShopTier> { AddBaseMetaShopTier(tier.GetBottomTier(), index), AddBaseMetaShopTier(tier.GetTopTier(), index) }); }
/// <summary> /// Creates a new <see cref="DoubleMetaShopTier"/> and assigns the first tier to <paramref name="other"/>'s first tier and the second tier to <paramref name="other"/>'s second tier /// </summary> /// <param name="other"></param> public DoubleMetaShopTier(DoubleMetaShopTier other) { this.m_topTier = other.m_topTier; this.m_bottomTier = other.m_bottomTier; }
/// <summary> /// Adds two new tier to Ox and Cadence's breach shop /// </summary> /// <param name="tier">Container with the tiers</param> /// <param name="index">The index to insert the tiers at. If null, defaults to the last index in the list</param> public static void AddBaseMetaShopDoubleTier(DoubleMetaShopTier tier, int?index = null) { AddBaseMetaShopTier(tier.GetBottomTier(), index); AddBaseMetaShopTier(tier.GetTopTier(), index); }