You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description = "Serializes network traffic and persists it for later analysis",
31
+
defaultTags = setOf(ModuleTag.DEBUG)
31
32
) {
32
-
privateval logIncoming by setting("Log Incoming", true, "Log incoming packets")
33
-
privateval logOutgoing by setting("Log Outgoing", true, "Log outgoing packets")
33
+
privateval logToChat by setting("Log To Chat", false, "Log packets to chat")
34
+
// ToDo: Implement HUD logging when HUD is done
35
+
// private val logToHUD by setting("Log To HUD", false, "Log packets to HUD")
36
+
privateval networkSide by setting("Network Side", NetworkSide.ANY, "Side of the network to log packets from")
34
37
privateval logTicks by setting("Log Ticks", true, "Show game ticks in the log")
35
-
privateval logWhitelist by setting("Whitelist", false, "Only log packets from the whitelist")
36
-
privateval whitelist by setting("Whitelist Packets", emptyList<String>(), "Packets to whitelist")
37
-
privateval logBlacklist by setting("Blacklist", false, "Log all packets except those from the blacklist")
38
-
privateval blacklist by setting("Blacklist Packets", emptyList<String>(), "Packets to blacklist")
38
+
privateval scope by setting("Scope", Scope.ANY, "Scope of packets to log")
39
+
privateval whitelist by setting("Whitelist Packets", emptyList<String>(), "Packets to whitelist") { scope ==Scope.WHITELIST }
40
+
privateval blacklist by setting("Blacklist Packets", emptyList<String>(), "Packets to blacklist") { scope ==Scope.BLACKLIST }
39
41
privateval maxRecursionDepth by setting("Max Recursion Depth", 6, 1..10, 1, "Maximum recursion depth for packet serialization")
40
42
privateval logConcurrent by setting("Build Data Concurrent", false, "Whether to serialize packets concurrently. Will not save packets in chronological order but wont lag the game.")
0 commit comments