-
Notifications
You must be signed in to change notification settings - Fork 7
/
Detective.php
114 lines (106 loc) · 5.16 KB
/
Detective.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<?php
namespace Aternos\Codex\Minecraft\Detective;
use Aternos\Codex\Minecraft\Log\Minecraft\Bedrock\BedrockContentLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Bedrock\BedrockServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\BungeeCord\BungeeCordProxyLog;
use Aternos\Codex\Minecraft\Log\Minecraft\BungeeCord\Waterfall\WaterFallProxyLog;
use Aternos\Codex\Minecraft\Log\Minecraft\CustomSkinLoader\CustomSkinLoaderClientLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Geyser\GeyserProxyLog;
use Aternos\Codex\Minecraft\Log\Minecraft\MinecraftLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Pocketmine\PocketmineServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\PrismLauncher\PrismLauncherClientLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\CraftBukkit\CraftBukkitServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\CraftBukkit\OldCraftBukkitServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Folia\FoliaCrashReport;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Folia\FoliaServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Glowstone\GlowstoneServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Paper\PaperCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Paper\PaperServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Purpur\PurpurCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Purpur\PurpurServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Spigot\OldSpigotServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Bukkit\Spigot\SpigotServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Fabric\FabricClientLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Fabric\FabricCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Fabric\FabricServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Arclight\ArclightCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Arclight\ArclightServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\ForgeClientLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\ForgeCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\ForgeServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Magma\MagmaServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Mohist\MohistCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Forge\Mohist\MohistServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\NeoForge\NeoForgeClientLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\NeoForge\NeoForgeCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\NeoForge\NeoForgeServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\OldVanillaServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Quilt\QuiltClientLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Quilt\QuiltCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\Quilt\QuiltServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaClientLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaCrashReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaNetworkProtocolErrorReportLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Vanilla\VanillaServerLog;
use Aternos\Codex\Minecraft\Log\Minecraft\Velocity\VelocityProxyLog;
/**
* Class Detective
*
* @package Aternos\Codex\Minecraft\Detective
*/
class Detective extends \Aternos\Codex\Detective\Detective
{
protected string $defaultLogClass = MinecraftLog::class;
protected array $possibleLogClasses = [
FabricClientLog::class,
QuiltClientLog::class,
ForgeClientLog::class,
NeoForgeClientLog::class,
VanillaClientLog::class,
VanillaServerLog::class,
OldVanillaServerLog::class,
OldCraftBukkitServerLog::class,
OldSpigotServerLog::class,
CraftBukkitServerLog::class,
SpigotServerLog::class,
PaperServerLog::class,
PurpurServerLog::class,
FoliaServerLog::class,
MohistServerLog::class,
ArclightServerLog::class,
MagmaServerLog::class,
ForgeServerLog::class,
NeoForgeServerLog::class,
PocketmineServerLog::class,
BedrockServerLog::class,
BedrockContentLog::class,
FabricServerLog::class,
BungeeCordProxyLog::class,
WaterfallProxyLog::class,
VelocityProxyLog::class,
GeyserProxyLog::class,
GlowstoneServerLog::class,
QuiltServerLog::class,
PaperCrashReportLog::class,
PurpurCrashReportLog::class,
FoliaCrashReport::class,
FabricCrashReportLog::class,
QuiltCrashReportLog::class,
NeoForgeCrashReportLog::class,
ForgeCrashReportLog::class,
VanillaCrashReportLog::class,
MohistCrashReportLog::class,
ArclightCrashReportLog::class,
VanillaNetworkProtocolErrorReportLog::class,
PrismLauncherClientLog::class,
CustomSkinLoaderClientLog::class,
];
/**
* @return MinecraftLog
*/
public function detect(): MinecraftLog
{
/** @var MinecraftLog */
return parent::detect();
}
}