mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 17:27:47 +00:00
60 lines
1 KiB
Cheetah
60 lines
1 KiB
Cheetah
#ifndef GENERATED_EXDDATA_H
|
|
#define GENERATED_EXDDATA_H
|
|
|
|
/* This file has been automatically generated.
|
|
Changes will be lost upon regeneration.
|
|
To change the content edit tools/exd_struct_gen */
|
|
|
|
#include <GameData.h>
|
|
#include <File.h>
|
|
#include <ExdData.h>
|
|
#include <ExdCat.h>
|
|
#include <Exd.h>
|
|
#include <set>
|
|
#include <variant>
|
|
|
|
namespace Sapphire {
|
|
namespace Data {
|
|
|
|
class ExdDataGenerated;
|
|
|
|
FORWARDS
|
|
|
|
STRUCTS
|
|
|
|
class ExdDataGenerated
|
|
{
|
|
public:
|
|
ExdDataGenerated();
|
|
~ExdDataGenerated();
|
|
|
|
bool init( const std::string& path );
|
|
|
|
xiv::exd::Exd setupDatAccess( const std::string& name, xiv::exd::Language lang );
|
|
|
|
template< class T >
|
|
T getField( std::vector< xiv::exd::Field >& fields, uint32_t index )
|
|
{
|
|
return std::get< T >( fields.at( index ) );
|
|
}
|
|
|
|
void loadIdList( xiv::exd::Exd& data, std::set< uint32_t >& outIdList );
|
|
|
|
std::shared_ptr< xiv::dat::GameData > m_data;
|
|
std::shared_ptr< xiv::exd::ExdData > m_exd_data;
|
|
|
|
DATACCESS
|
|
|
|
DIRECTGETTERS
|
|
|
|
IDLISTS
|
|
|
|
IDLISTGETTERS
|
|
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|