Clothing/Clothing.cs
using System;
using System.Collections.Generic;
using System.Text;

namespace SWB.Demo.Clothing
{
    public partial class Clothing : GameResource
    {
        // Access these statically with Clothing.All
        public static IReadOnlyList<Clothing> All => _all;
        internal static List<Clothing> _all = new();

        protected override void PostLoad()
        {
            base.PostLoad();

            // Since you are constructing the list yourself, you could add your own logic here
            // to create lists for All, AllHats, AllShirts, AllShoes, ect.
            if (!_all.Contains(this))
                _all.Add(this);
        }
    }
}