FrederoxDev / Amethyst

Native c++ modding for MCBE 1.21.0.3 for building client side mods
Apache License 2.0
433 stars 21 forks source link

Add ClientInstance::requestImageFromUrl() #112

Closed CreeperG16 closed 4 months ago

CreeperG16 commented 4 months ago

Adds the requestImageFromUrl virtual function to ClientInstance

std::shared_ptr<FileDataRequest> ClientInstance::requestImageFromUrl(const std::string& imageUrl, std::function<void(Bedrock::Http::Status, const Core::Path&, uint64_t)> callback);
FloppyDolphin57 commented 4 months ago

What's the point of adding this if you don't add the class fields to use it lol

FrederoxDev commented 4 months ago

Wdym? He's shared him using it in the private discord and seems like he can use it just fine

FloppyDolphin57 commented 4 months ago

Wdym? He's shared him using it in the private discord and seems like he can use it just fine

The pull didn't include the struct of the return value of the function

FrederoxDev commented 4 months ago

Ah yeah