mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-09 04:07:46 +00:00
cleanup leftover test code that was moved to exd_struct_test
This commit is contained in:
parent
c533449aeb
commit
544d6e0591
1 changed files with 0 additions and 22 deletions
|
@ -369,28 +369,6 @@ int main( int argc, char* argv[] )
|
||||||
auto planeventFile = gameData->getFile( planeventLgbPath );
|
auto planeventFile = gameData->getFile( planeventLgbPath );
|
||||||
section3 = planeventFile->access_data_sections().at( 0 );
|
section3 = planeventFile->access_data_sections().at( 0 );
|
||||||
|
|
||||||
auto exportFile = [&]( const std::string& path )
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
auto file = gameData->getFile( path );
|
|
||||||
|
|
||||||
if( !file )
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
auto p = fs::path( path );
|
|
||||||
fs::create_directories( p.parent_path() );
|
|
||||||
file->exportToFile( p );
|
|
||||||
}
|
|
||||||
catch( const std::exception& ex ) {}
|
|
||||||
};
|
|
||||||
|
|
||||||
exportFile( planeventLgbPath );
|
|
||||||
exportFile( plannerFilePath );
|
|
||||||
exportFile( lcbFilePath );
|
|
||||||
exportFile( svbFilePath );
|
|
||||||
|
|
||||||
std::vector< std::string > stringList;
|
std::vector< std::string > stringList;
|
||||||
|
|
||||||
uint32_t offset1 = 0x20;
|
uint32_t offset1 = 0x20;
|
||||||
|
|
Loading…
Add table
Reference in a new issue