more event boilerplate
Some checks are pending
ContinuousIntegration / macos (push) Waiting to run
ContinuousIntegration / windows (push) Waiting to run
ContinuousIntegration / linux (push) Successful in 22s

This commit is contained in:
2024-06-11 10:09:55 +02:00
parent 4295c6cc53
commit 70317ab4db
6 changed files with 141 additions and 8 deletions

View File

@ -37,7 +37,7 @@ SOLANA_PLUGIN_EXPORT uint32_t solana_plugin_start(struct SolanaAPI* solana_api)
// static store, could be anywhere tho
// construct with fetched dependencies
g_flp = std::make_unique<FactorioLogParser>();
g_f = std::make_unique<Factorio>(*cr, *rmm);
g_f = std::make_unique<Factorio>(*cr, *rmm, *g_flp);
// register types
PLUG_PROVIDE_INSTANCE(FactorioLogParser, plugin_name, g_flp.get());