event parsing and dispatching
This commit is contained in:
@ -8,7 +8,7 @@ int main(void) {
|
||||
const auto parse_res = log_parse_line(" 442.539 Script @__Factorio-Event-Logger__/logger.lua:65: [RESEARCH CANCELLED] worker-robots-speed");
|
||||
assert(parse_res.has_value());
|
||||
assert(parse_res.value().event == "RESEARCH CANCELLED");
|
||||
assert(parse_res.value().info == "worker-robots-speed");
|
||||
assert(parse_res.value().params == "worker-robots-speed");
|
||||
}
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user