Add ModLoadInformation insight

This commit is contained in:
2026-04-30 21:31:33 +00:00
parent 11efa66494
commit 4be6ebac10
2 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace IndifferentKetchup\Codex\Analysis\ProjectZomboid;
use IndifferentKetchup\Codex\Analysis\Information;
use IndifferentKetchup\Codex\Analysis\PatternInsightInterface;
use IndifferentKetchup\Codex\Pattern\ProjectZomboid\DebugServerPattern;
class ModLoadInformation extends Information implements PatternInsightInterface
{
public static function getPatterns(): array
{
return [DebugServerPattern::MOD_LOAD];
}
public function setMatches(array $matches, mixed $patternKey): void
{
$this->setLabel('Mod loaded');
$this->setValue($matches['mod']);
}
}