public static void GetInventoryItems(Player player, List <ItemModel> items)
        {
            var clothing = player.clothing;

            if (clothing.backpack != 0)
            {
                items.Add(ItemModel.FromClothing(clothing.backpack, clothing.backpackQuality, clothing.backpackState));
            }
            if (clothing.vest != 0)
            {
                items.Add(ItemModel.FromClothing(clothing.vest, clothing.vestQuality, clothing.vestState));
            }
            if (clothing.shirt != 0)
            {
                items.Add(ItemModel.FromClothing(clothing.shirt, clothing.shirtQuality, clothing.shirtState));
            }
            if (clothing.pants != 0)
            {
                items.Add(ItemModel.FromClothing(clothing.pants, clothing.pantsQuality, clothing.pantsState));
            }
            if (clothing.mask != 0)
            {
                items.Add(ItemModel.FromClothing(clothing.mask, clothing.maskQuality, clothing.maskState));
            }
            if (clothing.hat != 0)
            {
                items.Add(ItemModel.FromClothing(clothing.hat, clothing.hatQuality, clothing.hatState));
            }
            if (clothing.glasses != 0)
            {
                items.Add(ItemModel.FromClothing(clothing.glasses, clothing.glassesQuality, clothing.glassesState));
            }

            for (byte page = 0; page < PlayerInventory.PAGES - 2; page++)
            {
                for (byte index = 0; index < player.inventory.getItemCount(page); index++)
                {
                    var jar = player.inventory.getItem(page, index);
                    if (jar == null)
                    {
                        continue;
                    }

                    items.Add(ItemModel.FromItemJar(jar, page));
                }
            }
        }