Sorry, I haven't asked well.
I want it for plugins generally. If plugin is supposed to use item icons. It needs to donwload them from internet online and save e.g. in ImageLibrary.
So my idea is:
- get short names of all items by ItemManager.GetItemDefinitions()
- use httpClient to load html e.g.
https://www.rust-items.com/- smartly parse it as it contains shortName and imageUrl as well
- download all items image one by one and save as
ImageLibrary do
- after Rust update delete images and do it again from scratch to get fresh collection
Do you find it useful?