mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 01:07:47 +00:00
Add enhanced logging to exd_common_gen
This commit is contained in:
parent
71eb8dcf42
commit
7d8b5472be
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,8 @@ std::string generateEnum( const std::string& exd, int8_t nameIndex, const std::s
|
||||||
auto access = g_exdData.setupDatAccess( exd, lang );
|
auto access = g_exdData.setupDatAccess( exd, lang );
|
||||||
auto rows = access.get_rows();
|
auto rows = access.get_rows();
|
||||||
|
|
||||||
|
Logger::info( "Generating data for Sheet: {0}", exd);
|
||||||
|
|
||||||
for( auto row : rows )
|
for( auto row : rows )
|
||||||
{
|
{
|
||||||
auto& fields = row.second;
|
auto& fields = row.second;
|
||||||
|
@ -106,6 +108,9 @@ int main( int argc, char** argv )
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Logger::info( "Generating structs, this may take several minutes..." );
|
||||||
|
Logger::info( "Go grab a coffee..." );
|
||||||
|
|
||||||
std::string result = "#ifndef _COMMON_GEN_H_\n#define _COMMON_GEN_H_\n";
|
std::string result = "#ifndef _COMMON_GEN_H_\n#define _COMMON_GEN_H_\n";
|
||||||
|
|
||||||
result += "\n#include <stdint.h>\n\n";
|
result += "\n#include <stdint.h>\n\n";
|
||||||
|
|
Loading…
Add table
Reference in a new issue