mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-23 10:42:46 +00:00
fix: make dlcCheckForCorrupt discardable
from the surrounding context, it seems like this is only called to alert the user rather than the result being used.
This commit is contained in:
@@ -204,7 +204,7 @@ public:
|
|||||||
[[nodiscard]] virtual DLCSkinFile* getDLCSkinFile(
|
[[nodiscard]] virtual DLCSkinFile* getDLCSkinFile(
|
||||||
const std::wstring& name) = 0;
|
const std::wstring& name) = 0;
|
||||||
[[nodiscard]] virtual bool dlcNeedsCorruptCheck() = 0;
|
[[nodiscard]] virtual bool dlcNeedsCorruptCheck() = 0;
|
||||||
[[nodiscard]] virtual unsigned int dlcCheckForCorrupt(bool showMessage = true) = 0;
|
virtual unsigned int dlcCheckForCorrupt(bool showMessage = true) = 0;
|
||||||
[[nodiscard]] virtual bool dlcReadDataFile(unsigned int& filesProcessed,
|
[[nodiscard]] virtual bool dlcReadDataFile(unsigned int& filesProcessed,
|
||||||
const std::wstring& path, DLCPack* pack,
|
const std::wstring& path, DLCPack* pack,
|
||||||
bool fromArchive = false) = 0;
|
bool fromArchive = false) = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user