API Functions/WebCache

;Example
Get all loadout equipments
<nowiki>
function Chill()
end
function OnComponentLoad() -- ON_COMPONENT_LOAD
 g_URL_GARAGE_SLOTS = WebCache.MakeUrl("garage_slot", Player.GetCharacterId());
 WebCache.Subscribe(g_URL_GARAGE_SLOTS, Chill);
end
function OnYourFunc()
 local slots = WebCache.GetCache(g_URL_GARAGE_SLOTS);
 for idx, slot in pairs(slots)
 log(tostring(slot));
 end
end
</nowiki>