mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-21 21:17:25 +00:00
4a6f3e44ee
* First iteration of pack reader and interface * Fix memory leak and remove logs * Complete packed asset interface and begin on file loading replacement * Implement proper BinaryIO error * Improve AssetMemoryBuffer for reading and implement more reading * Repair more file loading code and improve how navmeshes are loaded * Missing checks implementation * Revert addition of Manifest class and migration changes * Resolved all feedback.
21 lines
509 B
C++
21 lines
509 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace BrickByBrickFix {
|
|
/**
|
|
* @brief Deletes all broken BrickByBrick models that have invalid XML
|
|
*
|
|
* @return The number of BrickByBrick models that were truncated
|
|
*/
|
|
uint32_t TruncateBrokenBrickByBrickXml();
|
|
|
|
/**
|
|
* @brief Updates all BrickByBrick models in the database to be
|
|
* in the sd0 format as opposed to a zlib compressed format.
|
|
*
|
|
* @return The number of BrickByBrick models that were updated
|
|
*/
|
|
uint32_t UpdateBrickByBrickModelsToSd0();
|
|
};
|