| | 1 | | using System; |
| | 2 | |
|
| | 3 | | /// <summary> |
| | 4 | | /// This Class is a container of data to be used for the sole purpose of loading new ItemToggles with their respective d |
| | 5 | | /// </summary> |
| | 6 | | public class WearableSettings |
| | 7 | | { |
| 0 | 8 | | public WearableItem Item { get; } |
| 0 | 9 | | public string CollectionName { get; } |
| 0 | 10 | | public int Amount { get; } |
| | 11 | |
|
| 0 | 12 | | public bool isLoading { get; set; } |
| 0 | 13 | | public Func<WearableItem, bool> HideOtherWearablesToastStrategy { get; } |
| 0 | 14 | | public Func<WearableItem, bool> ReplaceOtherWearablesToastStrategy { get; } |
| 4242 | 15 | | public WearableSettings(WearableItem item, string collectionName, int amount, Func<WearableItem, bool> hideOtherWear |
| | 16 | | { |
| 4242 | 17 | | Item = item; |
| 4242 | 18 | | CollectionName = collectionName; |
| 4242 | 19 | | Amount = amount; |
| 4242 | 20 | | HideOtherWearablesToastStrategy = hideOtherWearablesToastStrategy; |
| 4242 | 21 | | ReplaceOtherWearablesToastStrategy = replaceOtherWearablesToastStrategy; |
| 4242 | 22 | | } |
| | 23 | |
|
| 0 | 24 | | public override string ToString() { return Item.id; } |
| | 25 | | } |