[HELP] understanding clothing system

Hello everybody :),

I’m trying to figure out how the garment system works in GTA 5, I analyze several scripts to figure out how to create a garment list but I do not understand. For example I am in my small menu and hop I choose the shoes and I have all the shoes that appear. Good for the menu it’s not a problem but I understanding how I get all shoes

Can someone explain?

Regards,
Proxene