1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-18 05:41:29 +08:00

Refactor: Config generating

This commit is contained in:
LmeSzinc
2021-09-25 23:29:10 +08:00
parent a77f4095c3
commit 3483ea2041
25 changed files with 6710 additions and 8257 deletions

View File

@@ -16,7 +16,7 @@ class RewardGuild(GuildLobby, GuildLogistics, GuildOperations):
in: page_main
out: page_main
"""
if not self.config.Logistics_Enable and not self.config.Operation_Enable:
if not self.config.GuildLogistics_Enable and not self.config.GuildOperation_Enable:
self.config.Scheduler_Enable = False
self.config.task_stop()
@@ -27,11 +27,11 @@ class RewardGuild(GuildLobby, GuildLogistics, GuildOperations):
self.guild_lobby()
# Logistics
if self.config.Logistics_Enable:
if self.config.GuildLogistics_Enable:
success &= self.guild_logistics()
# Operation
if self.config.Operation_Enable:
if self.config.GuildOperation_Enable:
success &= self.guild_operations()
self.ui_goto(page_main)