From 84ced896efea85043a574d13481f8fba8e93e745 Mon Sep 17 00:00:00 2001 From: ZhuoZhou Date: Thu, 26 Jun 2025 15:28:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=BA=BF=E5=88=B0=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E7=9A=84=E7=BE=A4=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5=E6=96=87?= =?UTF-8?q?=E6=A1=88=E6=A0=BC=E5=BC=8F=E4=BC=98=E5=8C=96=EF=BC=8C=E6=96=B9?= =?UTF-8?q?=E4=BE=BF=E5=85=B6=E4=BB=96=E4=BA=BA=E6=9B=B4=E5=A5=BD=E7=9C=8B?= =?UTF-8?q?=E6=87=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Tools/build_package/build_package.py | 2 +- .../Tools/config_convert/gen_config_pipeline.py | 16 ++++++++++++---- .../Tools/config_convert/gen_levels_db.py | 4 ++-- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/FindObjectBundleBuilder/Tools/build_package/build_package.py b/FindObjectBundleBuilder/Tools/build_package/build_package.py index a7809df..05408f2 100644 --- a/FindObjectBundleBuilder/Tools/build_package/build_package.py +++ b/FindObjectBundleBuilder/Tools/build_package/build_package.py @@ -156,7 +156,7 @@ def generateLevelIdListByGitLog(): _levelModifiedIdList_.append(level_id) print(f'资源修改列表:{str(_levelModifiedIdList_)}') - config.notification_helper.append_msg(f"构建资源列表: {str(_levelModifiedIdList_)}") + config.notification_helper.append_msg(f"需要打包的资源:总共{len(_levelModifiedIdList_)}个 所有id: {str(_levelModifiedIdList_)}") def update_new_git_hash(): if opts.old_hash != '' and opts.new_hash != '': diff --git a/FindObjectBundleBuilder/Tools/config_convert/gen_config_pipeline.py b/FindObjectBundleBuilder/Tools/config_convert/gen_config_pipeline.py index 2f1c3f0..8f072fa 100644 --- a/FindObjectBundleBuilder/Tools/config_convert/gen_config_pipeline.py +++ b/FindObjectBundleBuilder/Tools/config_convert/gen_config_pipeline.py @@ -35,9 +35,11 @@ if len(sys.argv) > 4: if __name__ == '__main__': - # operation = config.config_pipe_operation.update_acceptance_passed_sheet.value + # operation = config.config_pipe_operation.update_main_level_db.value # platform = "Android" + # platform = "iOS" # mode = "debug" + # mode = "release" # config_country = '1' if operation == config.config_pipe_operation.update_all_levels_google_sheet.value: @@ -46,7 +48,8 @@ if __name__ == '__main__': print(f"更新{platform}所有关卡资源表(包含未测试关卡)") gen_levels_db.update_all_levels_google_sheet(platform) - config.notification_helper.append_msg(f"{platform}平台美术验收关卡列表刷新完成") + config.notification_helper.append_msg(f"{platform}平台全关卡资源表刷新完成") + config.notification_helper.append_msg("表格链接: https://docs.google.com/spreadsheets/d/1Hfqjl4Jxg0Eykw1M3WPnoMgnq1lMvo4DXXQELq8CVaI/edit?pli=1&gid=0#gid=0") elif operation == config.config_pipe_operation.update_acceptance_passed_sheet.value: if platform is None: exit(1) @@ -56,14 +59,19 @@ if __name__ == '__main__': time.sleep(5) print(f"更新关卡表里对应玩法资源表每一关属性内容") gen_levels_db.update_level_config_assets(platform) - config.notification_helper.append_msg(f"{platform}策划可配置关卡列表和FindObject关卡资源表刷新完成") + config.notification_helper.append_msg(f"{platform}FindObject验收通过资源表和FindObject可配置关卡资源表刷新完成") + if platform == "Android": + config.notification_helper.append_msg(f"验收通过资源表链接: https://docs.google.com/spreadsheets/d/1mwisjfsQwcSqQ0BJ2TszThSZRCRqOaAqgpHaPGGCzYs/edit?pli=1&gid=0#gid=0") + elif platform == "iOS": + config.notification_helper.append_msg(f"验收通过资源表链接: https://docs.google.com/spreadsheets/d/1yO142VI6hBldtR_baQMgx4bC3fleYDcULiyb2_OntIY/edit?gid=0#gid=0") + config.notification_helper.append_msg("可配置关卡资源表格链接: https://docs.google.com/spreadsheets/d/1Y0tkjtgNy90IGSMLdSMFdDPMwP9Wbt0uDSHdyEfHxnA/edit?gid=0#gid=0") elif operation == config.config_pipe_operation.update_main_level_db.value: if platform is None or mode is None: exit(1) print(f"更新Main配置表") url = gen_levels_db.update_main_level_db(platform, mode) - config.notification_helper.append_msg(f"platform:{platform},mode:{mode} 更新Main配置表成功 \n 最新配置表url: {url}") + config.append_msg(f"{platform}平台的mode:{mode}配置 更新配置文件成功 \n 最新配置文件url: {url}") config.notification_helper.append_at_people(config.at_all) elif operation == config.config_pipe_operation.update_main_country_level_db.value: if platform is None or mode is None: diff --git a/FindObjectBundleBuilder/Tools/config_convert/gen_levels_db.py b/FindObjectBundleBuilder/Tools/config_convert/gen_levels_db.py index 5a395c2..0af73f3 100644 --- a/FindObjectBundleBuilder/Tools/config_convert/gen_levels_db.py +++ b/FindObjectBundleBuilder/Tools/config_convert/gen_levels_db.py @@ -41,7 +41,7 @@ def upload_all_levels_sheet(platform, gameplay_levels_dict): row_end = row_start + len(list) - 1 cell_range = sheet.range(row_start, col, row_end, col) # 获取要更新的单元格范围 sheet_helper.sheet_update_cells_value(sheet, cell_range, list) - config.notification_helper.append_msg(f"[{config.sheet_all_level}文件, {platform}-{config.table_all_levels}表格] 更新所有可测试关卡表成功") + config.notification_helper.append_msg(f"[{config.sheet_all_level}, {platform}-{config.table_all_levels}表格] 更新全关卡资源表成功") def update_all_levels_google_sheet(platform): try: @@ -120,7 +120,7 @@ def update_all_acceptance_passed_levels_2_google_sheet(platform): row_end = row_start + len(levels_list) - 1 cell_range = sheet.range(row_start, col, row_end, col) sheet_helper.sheet_update_cells_value(sheet, cell_range, levels_list) - config.notification_helper.append_msg(f"{gameplay}模式新增关卡{str(levels_list)}") + config.notification_helper.append_msg(f"{gameplay}模式新增关卡{len(levels_list)}个 关卡ID:{str(levels_list)}") else: print(f"{gameplay}玩法模式,没有新的验收通过关卡可以添加到sheet") except Exception as e: