From 8dc76157274c9f8fd3b4fb09755f87c9d772dcc5 Mon Sep 17 00:00:00 2001 From: Nattsu39 Date: Thu, 24 Sep 2026 14:32:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20parser:=20language?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为语言配置项新增 showType 字段解析 --- packages/solaris/solaris/parse/parsers/language.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/solaris/solaris/parse/parsers/language.py b/packages/solaris/solaris/parse/parsers/language.py index d22bc31..d46598e 100644 --- a/packages/solaris/solaris/parse/parsers/language.py +++ b/packages/solaris/solaris/parse/parsers/language.py @@ -8,6 +8,7 @@ class LanguageInfo(TypedDict): content: str id: int key: str + showType: int class _Root(TypedDict): @@ -40,6 +41,7 @@ def parse(self, data: bytes) -> LanguageConfig: 'content': reader.ReadUTFBytesWithLength(), 'id': reader.ReadSignedInt(), 'key': reader.ReadUTFBytesWithLength(), + 'showType': reader.ReadSignedInt(), } result['root']['item'].append(item)