Since valve removed the schema API, I tried to find a way to get the images for each cs medal, service medals coins etc...
I stumbled upon this today, and played around with it and added a function that implements getMedalUrl which just does the same thing as every other get function, but it looks in the resource/flash/econ/status_icons files.
I also added getItems in order for me to just loop over this.itemsGame.items
Is that something that would be accepted as a MR, or should I just keep it my version
Since valve removed the schema API, I tried to find a way to get the images for each cs medal, service medals coins etc...
I stumbled upon this today, and played around with it and added a function that implements
getMedalUrl
which just does the same thing as every other get function, but it looks in the resource/flash/econ/status_icons files.I also added
getItems
in order for me to just loop overthis.itemsGame.items
Is that something that would be accepted as a MR, or should I just keep it my version